S390: Do not clobber r13 with memcpy on 31bit with copies >1MB.
[glibc.git] / ChangeLog
blobc5456d8c6387cea2ddd0bc8308569bf4b76ce07d
1 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4         of r13 as it is not restored in mvcle case.
6 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
9         Rename "ret" to "__ret".
10         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11         inline_syscall5, inline_syscall6): Likewise.
13 2016-07-19   Will Newton  <will.newton@gmail.com>
15         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
21 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
23         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
24         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
25         -mfpmath=387 with $(rtld-CFLAGS).
26         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
27         $(rtld-CFLAGS).
29 2016-07-18   Ross Burton  <ross.burton@intel.com>
30              Khem Raj  <raj.khem@gmail.com>
32         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
33         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
34         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
35         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
36         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
37         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
38         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
39         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
40         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
41         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
42         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
43         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
44         R_METAG_TLS_DTPOFF): New.
46 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
47             Matt Clay  <mclay@lycos.com>
49         [BZ #20357]
50         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
51         to call __mpsin/__mpcos and to negate values.
52         * math/auto-libm-test-in: Add test.
53         * math/auto-libm-test-out: Regenerate.
55 2016-07-18  Zack Weinberg  <zackw@panix.com>
57         * grp/Makefile: Don't install the internal header grp-merge.h.
59 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
61         * sysdeps/aarch64/libm-test-ulps: Regenerated.
63 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
67 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
69         [BZ #15368]
70         * sysdeps/unix/sysv/linux/nptl-signals.h
71         (__nptl_clear_internal_signals): New function.
72         (__libc_signal_block_all): Likewise.
73         (__libc_signal_block_app): Likewise.
74         (__libc_signal_restore_set): Likewise.
75         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
76         implementation.
77         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
78         the cached pid/tid value in pthread structure.
80 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
82         [BZ #20347]
83         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
85 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
87         [BZ #20348]
88         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
89         preadv64, pwrite64 and pwritev64.
91 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
93         [BZ #20350]
94         * posix/tst-preadwrite.c: Renamed to ...
95         * posix/tst-preadwrite-common.c: This.
96         (PREAD): Removed.
97         (PWRITE): Likewise.
98         (STRINGIFY): Likewise.
99         (STRINGIFY2): Likewise.
100         (do_prepare): Make it static and remove function arguments.
101         (do_test): Likewise.
102         (PREPARE): Updated.
103         (TEST_FUNCTION): New.
104         (name): Make it static.
105         (fd): Likewise.
106         (do_prepare): Use create_temp_file.
107         (do_test): Renamed to ...
108         (do_test_with_offset): This.  Make it static and accept offset.
109         Properly check return value of PWRITE and PREAD.  Return bytes
110         read.  Don't close fd nor unlink name.
111         * posix/tst-preadwrite.c: Rewrite.
112         * posix/tst-preadwrite64.c: Likewise.
114 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
116         [BZ #20309]
117         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
118         -mtls-dialect=gnu2 works.
119         * configure: Regenerated.
120         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
121         (tests): Add tst-gnu2-tls1.
122         (modules-names): Add tst-gnu2-tls1mod.
123         ($(objpfx)tst-gnu2-tls1): New.
124         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
125         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
126         * elf/tst-gnu2-tls1.c: New file.
127         * elf/tst-gnu2-tls1mod.c: Likewise.
128         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
129         bytes for push in the PLT entry to align the stack.
131 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
133         [BZ #20349]
134         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
136 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
138         [BZ #18707]
139         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
140         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
142 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
144         * sysdeps/unix/sysv/linux/sysdep.h
145         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
146         guards.
147         * misc/tst-preadvwritev-common.c: New file.
148         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
149         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
150         a check for files larger than 2GB.
152         * sysdeps/unix/sysv/linux/mips/kernel-features.h
153         (__ASSUME_OFF_DIFF_OFF64): Remove define.
154         * sysdeps/unix/sysv/linux/pread.c
155         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
156         __OFF_T_MATCHES_OFF64_T.
157         * sysdeps/unix/sysv/linux/pread64.c
158         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
159         * sysdeps/unix/sysv/linux/preadv.c
160         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
161         * sysdeps/unix/sysv/linux/preadv64.c
162         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
163         * sysdeps/unix/sysv/linux/pwrite.c
164         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
165         * sysdeps/unix/sysv/linux/pwrite64.c
166         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
167         * sysdeps/unix/sysv/linux/pwritev.c
168         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
169         * sysdeps/unix/sysv/linux/pwritev64.c
170         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
172 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
175         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
177 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
179         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
181 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
183         [BZ #20240]
184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
185         (CFLAGS-s_modf-ppc32.c): New variable.
186         (CFLAGS-s_modff-ppc32.c): Likewise.
187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
188         (CFLAGS-s_modf-ppc64.c): Likewise.
189         (CFLAGS-s_modff-ppc64.c): Likewise.
191 2016-07-07  Andreas Schwab  <schwab@suse.de>
193         [BZ #20263]
194         * nptl/tst-robust10.c: New test.
195         * nptl/Makefile (tests): Add tst-robust10.
197 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
199         [BZ #20263]
200         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
202 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
204         * sysdeps/s390/linkmap.h (struct link_map_machine):
205         Remove member gotplt and add member jmprel.
206         * sysdeps/s390/s390-32/dl-machine.h
207         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
208         instead of gotplt with &got[3].
209         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
210         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
212 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
214         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
216 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
218         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
219         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
220         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
221         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
222         * libio/vtables.c (_IO_vtable_check)
223         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
224         * libio/libioP.h (IO_set_accept_foreign_vtables)
225         [!PTR_MANGLE]: Do not call PTR_MANGLE.
227 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
229         [BZ #20314]
230         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
231         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
232         $(common-objpfx)cmath.
233         ($(common-objpfx)cstdlib): New target.
234         ($(common-objpfx)cmath): Likewise.
236 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
238         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
240 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
242         [BZ #20327]
243         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
244         are not part of the string.
246 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
248         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
249         * nptl/tst-cancel4-common.h (fifoname): New variable.
250         (fifofd): Likewise.
251         (cl_fifo): New function.
252         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
253         SIGINT.
254         (tf_open): Add early cancel test.
256 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
258         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
260 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
262         * sysdeps/generic/ldsodefs.h
263         (dl_symbol_visibility_binds_local_p): New inline function.
264         * elf/dl-addr.c (determine_info): Treat hidden and internal
265         symbols as local.
266         * elf/dl-lookup.c (do_lookup_x): Likewise.
267         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
269 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
271         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
272         invalid exception for a sNaN input.
273         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
274         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
275         (__nearbyint_vis3): Likewise
276         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
277         (__nearbyintf_vis3): Likewise
278         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
279         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
280         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
281         Likewise.
282         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
283         Likewise.
285 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
287         [BZ #20139]
288         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
289         (HAVE_AVX512DQ_ASM_SUPPORT): This.
290         * sysdeps/x86_64/configure.ac: Require assembler from binutils
291         2.24 or above.
292         (HAVE_AVX512_ASM_SUPPORT): Removed.
293         (HAVE_AVX512DQ_ASM_SUPPORT): New.
294         * sysdeps/x86_64/configure: Regenerated.
295         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
296         check unconditional.
297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
298         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
299         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
300         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
301         Likewise.
302         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
303         Likewise.
304         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
305         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
306         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
307         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
308         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
309         Likewise.
310         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
311         Likewise.
312         * sysdeps/x86_64/multiarch/memset.S: Likewise.
313         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
315         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
316         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
317         Likewise.
318         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
319         Likewise.
320         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
321         Likewise.
322         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
323         Likewise.
324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
325         Likewise.
326         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
327         Likewise.
328         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
329         Likewise.
330         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
331         Likewise.
332         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
333         Likewise.
334         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
335         Likewise.
336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
337         Likewise.
339 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
341         [BZ #20024]
342         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
344         of this implementation of vector function.
345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
348         Likewise.
349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
351         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
352         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
353         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
354         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
355         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
356         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
357         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
358         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
359         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
360         for testing vector sincos with fixed ABI.
361         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
362         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
363         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
364         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
365         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
368         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
369         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
370         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
371         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
372         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
373         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
374         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
375         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
376         * sysdeps/x86_64/fpu/Makefile: Added new tests.
378 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
380         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
382 2016-06-30  Anton Blanchard  <anton@samba.org>
384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
385         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
386         s_sinf-ppc64.
387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
390         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
392 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
396         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
397         e_expf-ppc64.
398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
399         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
400         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
401         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
403 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
405         [BZ #20277]
406         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
407         when SHARED is defined.
409 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
411         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
412         (index_arch_Prefer_ERMS): Likewise.
413         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
414         __memcpy_erms for Prefer_ERMS.
415         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
416         (__memmove_erms): Enabled for libc.a.
417         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
418         __memmove_erms or Prefer_ERMS.
419         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
420         __mempcpy_erms for Prefer_ERMS.
421         * sysdeps/x86_64/multiarch/memset.S (memset): Return
422         __memset_erms for Prefer_ERMS.
424 2016-06-30  Andreas Schwab  <schwab@suse.de>
426         [BZ #20262]
427         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
428         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
429         of memory.
431 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
433         [BZ #18645]
434         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
435         (test-extras): Add tst-cleanupx4aux.
436         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
437         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
438         tst-cleanupx4aux.o.
439         * nptl/tst-cleanupx4aux.c: New file.
441 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
443         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
445 2016-06-29  Andreas Schwab  <schwab@suse.de>
447         [BZ #20260]
448         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
449         address before the beginning of the string as an integer to avoid
450         array-bounds warning.
452 2016-06-28  Richard Henderson  <rth@redhat.com>
454         * elf/elf.h (EM_BPF): New.
455         (EM_NUM): Update.
456         (R_BPF_NONE, R_BPF_MAP_FD): New.
458         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
459         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
460         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
461         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
462         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
463         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
464         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
465         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
466         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
467         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
468         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
469         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
470         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
471         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
472         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
473         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
474         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
475         (EM_NUM): Update.
477 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
479         [BZ #18960]
480         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
481         Set _nl_current_LC_CATEGORY_used to two instead of one.
483 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
485         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
486         (do_test): ... this.
487         (TEST_FUNCTION): New macro.
488          Include test-skeleton.c.
489         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
490         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
492 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
494         [BZ #15479]
495         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
496         floating-point environment rather than just control word.
497         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
498         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
499         floating-point environment, with "invalid" exceptions merged in,
500         rather than just control word.
501         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
502         * math/libm-test.inc (trunc_test_data): Do not allow spurious
503         "inexact" exceptions.
505         [BZ #15479]
506         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
507         floating-point environment rather than just control word.
508         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
509         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
510         floating-point environment, with "invalid" exceptions merged in,
511         rather than just control word.
512         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
513         * math/libm-test.inc (floor_test_data): Do not allow spurious
514         "inexact" exceptions.
516         [BZ #15479]
517         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
518         floating-point environment rather than just control word.
519         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
520         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
521         floating-point environment, with "invalid" exceptions merged in,
522         rather than just control word.
523         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
524         * math/libm-test.inc (ceil_test_data): Do not allow spurious
525         "inexact" exceptions.
527 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
529         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
530         __libc_vfork.
531         (__vfork) [IS_IN (libc)]: Remove alias.
532         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
533         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
534         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
536 2016-06-24  Torvald Riegel  <triegel@redhat.com>
538         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
539         of atomic_compare_and_exchange_bool_rel.
540         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
541         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
542         catomic_compare_and_exchange_bool_rel): Remove.
543         * sysdeps/aarch64/atomic-machine.h
544         (atomic_compare_and_exchange_bool_rel): Likewise.
545         * sysdeps/alpha/atomic-machine.h
546         (atomic_compare_and_exchange_bool_rel): Likewise.
547         * sysdeps/arm/atomic-machine.h
548         (atomic_compare_and_exchange_bool_rel): Likewise.
549         * sysdeps/mips/atomic-machine.h
550         (atomic_compare_and_exchange_bool_rel): Likewise.
551         * sysdeps/microblaze/atomic-machine.h
552         ( __arch_compare_and_exchange_bool_8_rel,
553         __arch_compare_and_exchange_bool_16_rel): Likewise.
554         * sysdeps/powerpc/atomic-machine.h
555         ( __arch_compare_and_exchange_bool_8_rel,
556         __arch_compare_and_exchange_bool_16_rel): Likewise.
557         * sysdeps/powerpc/powerpc32/atomic-machine.h
558         ( __arch_compare_and_exchange_bool_32_rel,
559         __arch_compare_and_exchange_bool_64_rel): Likewise.
560         * sysdeps/powerpc/powerpc64/atomic-machine.h
561         ( __arch_compare_and_exchange_bool_32_rel,
562         __arch_compare_and_exchange_bool_64_rel): Likewise.
563         * sysdeps/tile/atomic-machine.h
564         (atomic_compare_and_exchange_bool_rel): Likewise.
566 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
568         [BZ #20296]
569         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
570         when either argument is a NaN.
571         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
572         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
574         * math/libm-test.inc (snan_value_ld): New macro.
575         (isgreater_test_data): Add sNaN tests.
576         (isgreaterequal_test_data): Likewise.
577         (isless_test_data): Likewise.
578         (islessequal_test_data): Likewise.
579         (islessgreater_test_data): Likewise.
580         (isunordered_test_data): Likewise.
581         (nextafter_test_data): Likewise.
582         (nexttoward_test_data): Likewise.
583         (remainder_test_data): Likewise.
584         (remquo_test_data): Likewise.
585         (significand_test_data): Likewise.
586         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
588 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
590         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
591         environment macros are defined.
592         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
594 2016-06-23  Florian Weimer  <fweimer@redhat.com>
596         [BZ #20191]
597         Implement vtable verification in libio.
598         * Makerules (shlib.lds): Place __libc_IO_vtables section.
599         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
600         * debug/vdprintf_chk.c (__vdprintf_chk): Call
601         _IO_new_file_init_internal instead of _IO_file_init.
602         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
603         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
604         * libio/Makefile (routines): Add vtables.
605         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
606         (_IO_init): Remove, not for internal use.
607         (_IO_init_internal): Declare, internal replacement for _IO_init.
608         (_IO_file_init): Remove, not for internal use.
609         (_IO_new_file_init): Remove, not for internal use.
610         (_IO_new_file_init_internal): Declare, internal replacement for
611         _IO_new_file_init.
612         (_IO_old_file_init): Remove, not for internal use.
613         (_IO_old_file_init_internal): Declare, internal replacement for
614         _IO_old_file_init.
615         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
616         internal use.
617         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
618         Declare.
619         (libio_vtable): New macro.
620         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
621         functions.
622         * libio/fileops.c (_IO_new_file_init_internal): Rename from
623         _IO_new_file_init.
624         (_IO_new_file_init): New externally visible wrapper which disables
625         vtable verification.
626         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
627         Define as vtables.
628         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
629         (_IO_init): New externally visible wrapper which disables
630         vtable verification.
631         * libio/iofdopen.c (_IO_new_fdopen): Call
632         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
633         comment.
634         * libio/iofopen.c (__fopen_internal): Call
635         _IO_new_file_init_internal instead of _IO_file_init.
636         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
637         Define as vtables.
638         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
639         _IO_new_file_init_internal instead of _IO_file_init.
640         * libio/iopopen.c (_IO_new_popen): Likewise.
641         (_IO_proc_jumps): Define as vtable.
642         * libio/iovdprintf.c (_IO_vdprintf): Call
643         _IO_new_file_init_internal instead of _IO_file_init.
644         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
645         (__open_memstream): Call _IO_init_internal instead of _IO_init.
646         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
647         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
648         _IO_old_file_init.
649         (_IO_old_file_init): New externally visible wrapper which disables
650         vtable verification.
651         (_IO_old_file_jumps): Define as vtable.
652         * libio/oldiofdopen.c (_IO_old_fdopen): Call
653         _IO_old_file_init_internal instead of _IO_old_file_init.
654         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
655         * libio/oldiopopen.c (_IO_old_popen): Likewise.
656         (_IO_old_proc_jumps): Define as vtable.
657         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
658         Define as vtables.
659         * libio/vtables.c: New file.
660         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
661         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
662         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
663         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
664         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
665         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
666         instead of _IO_init.
668 2016-06-23  Florian Weimer  <fweimer@redhat.com>
670         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
672 2016-06-23  Florian Weimer  <fweimer@redhat.com>
674         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
675         potentially unused.
677 2016-06-22  Florian Weimer  <fweimer@redhat.com>
679         * test-skeleton.c (write_message): New function.
680         * malloc/tst-mallocfork2.c (write_message): Remove.
681         * debug/tst-longjmp_chk2.c (write_indented): New function.
682         (write_message): Remove.
683         (stackoverflow_handler): Call write_indented.
685 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
687         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
688         "inexact" exceptions after fnstenv.
689         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
690         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
691         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
693 2015-06-22  Zack Weinberg  <zackw@panix.com>
695         * sysdeps/generic/bits/hwcap.h: Moved to ...
696         * bits/hwcap.h: Here.
698 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
700         * sysdeps/aarch64/memcpy.S (memcpy):
701         Further tuning for performance.
703 2016-06-21  Florian Weimer  <fweimer@redhat.com>
705         [BZ #20284]
706         * malloc/arena.c (reused_arena): Do not return NULL if we start
707         out with a non-corrupted arena.
709 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
711         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
712         * misc/tst-preadvwritev.c: New file.
713         * misc/tst-preadvwritev64.c: Likewise.
714         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
715         usage.
716         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
717         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
718         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
719         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
721 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
723         [BZ #19654]
724         * sysdeps/x86_64/fpu/Makefile: Added new tests.
725         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
726         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
727         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
728         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
729         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
730         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
731         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
732         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
733         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
734         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
735         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
736         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
737         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
738         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
739         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
740         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
741         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
742         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
743         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
744         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
745         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
746         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
747         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
748         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
749         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
751 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
753         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
754         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
756 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
758         * sysdeps/aarch64/memcpy.S (memcpy):
759         Rewrite of optimized memcpy and memmove.
760         * sysdeps/aarch64/memmove.S (memmove): Remove
761         memmove code (merged into memcpy.S).
763 2016-06-20  Florian Weimer  <fweimer@redhat.com>
765         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
766         * sysdeps/generic/dl-dtv.h: New file.
767         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
768         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
769         (dtv_t): Remove.
770         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
771         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
772         (dtv_t): Remove.
773         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
774         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
775         (dtv_t): Remove.
776         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
777         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
778         (dtv_t): Remove.
779         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
780         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
781         (dtv_t): Remove.
782         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
783         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
784         (dtv_t): Remove.
785         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
786         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
787         (dtv_t): Remove.
788         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
789         (dtv_t): Remove.
790         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
791         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
792         (dtv_t): Remove.
793         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
794         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
795         (dtv_t): Remove.
796         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
797         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
798         (dtv_t): Remove.
799         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
800         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
801         (dtv_t): Remove.
802         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
803         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
804         (dtv_t): Remove.
805         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
806         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
807         (dtv_t): Remove.
808         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
809         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
810         (dtv_t): Remove.
811         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
812         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
813         (dtv_t): Remove.
815 2016-06-20  Florian Weimer  <fweimer@redhat.com>
817         Revert symbol poisoning of  __malloc_initialize_hook.
818         * include/stdc-predef.h (__malloc_initialize_hook): Remove
819         poisoning.
820         * malloc/Makefile: Remove un-poisoning.
821         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
822         instead of old__malloc_initialize_hook.
823         * malloc/malloc-hooks.h: Likewise.
824         * malloc/malloc.c: Likewise.
825         * malloc/mcheck-init.c: Likewise.
827 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
829         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
831 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
833         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
834         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
835         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
838 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
840         * NEWS: Mention addition of nextup and nextdown.
841         * manual/arith.texi: Document nextup and nextdown.
842         * manual/libm-err-tab.pl: Add nextup and nextdown.
843         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
844         * math/Versions (libm): Add GLIBC_2.24.
845         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
846         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
847         Add new test.
848         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
849         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
850         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
851         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
852         (nextup_test_data): Likewise.
853         (nextdown_test_data): Likewise.
854         * math/s_nextdown.c: New file.
855         * math/s_nextdownf.c: Likewise.
856         * math/s_nextdownl.c: Likewise.
857         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
858         F(nextup): New function.
859         F(nextdown): Likewise.
860         * math/tgmath.h: Add nextup and nextdown.
861         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
862         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
863         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
864         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
865         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
866         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
867         Add nextup and nextdown.
868         (CFLAGS-nldbl-nextup.c): New variable.
869         (CFLAGS-nldbl-nextdown.c): Likewise.
870         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
871         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
872         * sysdeps/nacl/libm.abilist: Update.
873         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
874         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
878         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
880         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
881         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
884         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
887         Likewise.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
890         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
891         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
892         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
894         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
897         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
898         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
900         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
902 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
904         * manual/pattern.texi: Fix typos & grammar errors.
906 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
908         * manual/search.texi: Fix typos & grammar errors.
910 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
912         * manual/message.texi: Fix typos & grammar errors.
914 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
916         * manual/contrib.texi: Fix spelling typos.
917         * manual/crypt.texi: Likewise.
918         * manual/filesys.texi: Likewise.
919         * manual/locale.texi: Likewise.
920         * manual/message.texi: Likewise.
921         * manual/nss.texi: Likewise.
922         * manual/string.texi: Likewise.
924 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
926         * manual/locale.texi: Fix typos & grammar errors.
928 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
930         * manual/charset.texi: Fix typos & grammar errors.
932 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
934         * manual/string.texi: Fix typos.
936 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
938         * manual/ctype.texi: Fix typos.
940 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
942         * manual/memory.texi: Fix various typos & grammar errors.
944 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
946         [BZ #20255]
947         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
948         * math/libm-test.inc (fdim_test_data): Add another test.
950         [BZ #6796]
951         [BZ #20255]
952         [BZ #20256]
953         * math/s_fdim.c: Include <math_private.h>.
954         (__fdim): Use math_narrow_eval on result.
955         * math/s_fdimf.c: Include <math_private.h>.
956         (__fdimf): Use math_narrow_eval on result.
957         * sysdeps/i386/fpu/s_fdim.S: Remove file.
958         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
959         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
960         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
961         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
962         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
963         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
964         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
965         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
966         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
967         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
968         * math/libm-test.inc (fdim_test_data): Expect errno setting on
969         overflow.  Add sNaN tests.
971         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
972         fpclassify.
973         * math/s_fdimf.c (__fdimf): Likewise.
974         * math/s_fdiml.c (__fdiml): Likewise.
976 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
978         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
979         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
981         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
982         ifunc'ed strcasecmp/strncasecmp.
983         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
984         [EALIGN]: Removed.
985         [END]: Likewise.
986         [__strcasecmp]: Define instead of the above to control symbol name.
987         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
988         for __strcasecmp_power8.
989         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
990         for __strncasecmp_power8.
991         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
992         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
993         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
994         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
995         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
996         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
998 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1000         [BZ #20252]
1001         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1002         arguments when second argument is a NaN.
1003         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1004         qNaN tests.
1006         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1007         (conj_test_data): Likewise.
1008         (copysign_test_data): Likewise.
1009         (creal_test_data): Likewise.
1010         (fma_test_data): Likewise.
1011         (fmod_test_data): Likewise.
1013         [BZ #20250]
1014         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1015         itself.
1016         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1017         zero input to itself.
1018         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1019         Likewise.
1020         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1021         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1022         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1023         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1024         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1026 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1028         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1029         * nptl/tst-cancel4-common.c: New file.
1030         * nptl/tst-cancel4-common.h: Likewise.
1031         * nptl/tst-cancel4.c: Move common definitions to
1032         tst-cancel4-common.{c,h} file.
1033         * nptl/tst-cancel4_1.c: New test.
1034         * nptl/tst-cancel4_2.c: New test.
1036 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1038         [BZ #20248]
1039         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1040         (write_message): New function.
1041         (stackoverflow_handler): Call it instead of printf, to avoid
1042         excessive stack usage by printf.
1043         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1045 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1047         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1048         (prio_inherit_missing): Remove define.
1049         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1050         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1052         Likewise.
1053         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1054         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1055         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1056         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1058         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1060 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1062         [BZ #19670]
1063         [BZ #19672]
1065         * io/test-lfs.c (do_prepare): Use xmalloc.
1066         * io/tst-fcntl.c (do_prepare): Likewise.
1067         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1068         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1069         * login/tst-utmp.c (do_prepare): Likewise.
1070         * posix/tst-exec.c (do_prepare): Likewise.
1071         * posix/tst-pathconf.c (prepare): Likewise.
1072         * posix/tst-spawn.c (do_prepare): Likewise.
1073         * posix/tst-truncate.c (do_prepare): Likewise.
1074         * rt/tst-aio.c (do_prepare): Likewise.
1075         * rt/tst-aio64.c (do_prepare): Likewise.
1077 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1079         [BZ #20237]
1080         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1081         (get*ent): Set entidx to NULL during initialization.  If entidx is
1082         NULL, start iteration from the beginning.
1084 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1086         * malloc/malloc.c (musable): Return correct size for dumped fake
1087         mmapped chunk.
1089 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1091         [BZ #20222]
1092         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1093         (_IO_cookie_write): Likewise.
1094         (_IO_cookie_seek): Likewise.
1095         (_IO_cookie_close): Likewise.
1096         (_IO_old_cookie_seek): Likewise.
1097         (set_callbacks): New function.
1098         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1100 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1102         * locale/programs/localedef.c (oldstyle_tables): Remove.
1103         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1105 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1107         [BZ #20240]
1108         * math/Makefile (CFLAGS-s_modf.c): New variable.
1109         (CFLAGS-s_modff.c): Likewise.
1110         (CFLAGS-s_modfl.c): Likewise.
1111         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1113 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1115         [BZ #20215]
1116         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1117         [!__GNUC_PREREQ (3,2)]: Likewise.
1119 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1121         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1122         (msghdr.msg_controllen): Likewise.
1123         (cmsghdr.cmsg_len): Likewise.
1124         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1125         ptw-oldsendmsg.
1126         (CFLAGS-oldrecvmsg.c): Remove rule.
1127         (CFLAGS-oldsendmsg.c): Likewise.
1128         (CFLAGS-recvmsg.c): Add rule.
1129         (CFLAGS-sendmsg.c): Likewise.
1130         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1131         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1132         (CFLAGS-recvmsg.c): Remove rule.
1133         (CFLAGS-sendmsg.c): Likewise.
1134         (CFLAGS-oldrecvmsg.c): Likewise.
1135         (CFLAGS-oldsendmsg.c): Likewise.
1136         (CFLAGS-recvmmsg.c): Likewise.
1137         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1138         to kernel defined interfaces.
1139         (msghdr.msg_controllen): Likewise.
1140         (cmsghdr.cmsg_len): Likewise.
1141         (msghdr.__glibc_reserved1): Remove member.
1142         (msghdr.__glibc_reserved2): Likewise.
1143         (cmsghdr.__glibc_reserved1): Likewise.
1144         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1145         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1146         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1147         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1148         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1149         version.
1150         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1151         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1152         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1153         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1154         Remove recvmsg and sendmsg.
1155         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1156         Likewise.
1157         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1158         Likewise.
1159         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1160         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1161         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1162         Likewise.
1163         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1164         Likewise.
1165         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1166         [libc] (GLIBC_2.24): Likewise.
1167         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1168         Likewise.
1169         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1170         Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1172         [libc] (GLIBC_2.24): Likewise.
1173         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1174         Likewise.
1175         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1176         Likewise.
1177         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1178         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1179         Likewise.
1180         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1181         Likewise.
1182         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1183         Likewise.
1184         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1185         Likewise.
1186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1187         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1188         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1189         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1190         version for {recv,send,recm,sendm}msg.
1191         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1193         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1194         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1195         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1196         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1197         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1199         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1200         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1201         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1202         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1204         Likewise.
1205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1206         Likewise.
1207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1209         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1210         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1211         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1212         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1213         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1217         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1218         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1219         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1221 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1223         [BZ #19564]
1224         Remove __malloc_initialize_hook from the API.
1225         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1226         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1227         #pragma GCC poison.
1228         * malloc/malloc-hooks.h: New file.
1229         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1230         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1231         (old__malloc_initialize_hook): Rename from
1232         __malloc_initialize_hook to evade poisoning.  Turn into compat
1233         symbol.
1234         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1235         __malloc_initialize_hook.
1236         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1237         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1238         * manual/memory.texi (Hooks for Malloc): Remove
1239         __malloc_initialize_hook.  Adjust hook example.
1241 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #20235]
1244         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1245         itself.
1246         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1247         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1249         [BZ #20234]
1250         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1251         infinity or NaN input to itself.
1253         [BZ #20233]
1254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1255         to itself.
1257         [BZ #20232]
1258         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1259         itself.
1261 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1263         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1264         __libc_start_main via GOT.
1266 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1268         * sysdeps/x86_64/memcopy.h: New file.
1269         * sysdeps/x86_64/wordcopy.c: Likewise.
1271 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1273         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1274         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1275         <cstdlib>.
1276         (optimization_barrier): New.
1277         (do_test): Use it.  Call quick_exit in the global namespace.
1278         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1279         instead of <cstdlib>, <thread>.
1280         (optimization_barrier): New.
1281         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1282         Call quick_exit in the global namespace.
1283         (do_test): Call optimization_barrier.  Use pthread_create,
1284         pthread_join instead of std::thread.
1286 2016-06-09  Andreas Schwab  <schwab@suse.de>
1288         [BZ #19755]
1289         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1290         new entries in auto-propagate mode.
1291         * nscd/grpcache.c (cache_addgr): Likewise.
1293 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1295         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1296         New functions.
1297         (add_temp_file): Use them.
1299 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1301         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1303 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1305         [BZ #20229]
1306         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1307         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1308         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1310         [BZ #20228]
1311         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1312         itself.
1313         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1314         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1316         [BZ #20227]
1317         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1318         itself.
1319         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1320         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1321         * math/libm-test.inc (log_test_data): Add sNaN tests.
1323         [BZ #20226]
1324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1325         itself.
1326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1327         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1328         (exp10_test_data): Likewise.
1329         (expm1_test_data): Likewise.
1331         [BZ #20225]
1332         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1333         itself.
1334         * math/s_ldexpf.c (__ldexpf): Likewise.
1335         * math/s_ldexpl.c (__ldexpl): Likewise.
1336         * math/w_scalbln.c (__w_scalbln): Likewise.
1337         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1338         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1339         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1340         (scalbln_test_data): Likewise.
1342         [BZ #20224]
1343         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1344         argument to itself.
1345         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1347 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1349         [BZ #19776]
1350         * sysdeps/x86_64/memcpy.S: Make it dummy.
1351         * sysdeps/x86_64/mempcpy.S: Likewise.
1352         * sysdeps/x86_64/memmove.S: New file.
1353         * sysdeps/x86_64/memmove_chk.S: Likewise.
1354         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1355         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1356         * sysdeps/x86_64/memmove.c: Removed.
1357         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1358         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1359         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1360         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1361         Likewise.
1362         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1365         memcpy-sse2-unaligned, memmove-avx-unaligned,
1366         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1368         (__libc_ifunc_impl_list): Replace
1369         __memmove_chk_avx512_unaligned_2 with
1370         __memmove_chk_avx512_unaligned.  Remove
1371         __memmove_chk_avx_unaligned_2.  Replace
1372         __memmove_chk_sse2_unaligned_2 with
1373         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1374         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1375         with __memmove_avx512_unaligned.  Replace
1376         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1377         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1378         with __memcpy_chk_avx512_unaligned.  Remove
1379         __memcpy_chk_avx_unaligned_2.  Replace
1380         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1381         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1382         Replace __memcpy_avx512_unaligned_2 with
1383         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1384         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1385         with __mempcpy_chk_avx512_unaligned.  Remove
1386         __mempcpy_chk_avx_unaligned_2.  Replace
1387         __mempcpy_chk_sse2_unaligned_2 with
1388         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1389         Replace __mempcpy_avx512_unaligned_2 with
1390         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1391         Replace __mempcpy_sse2_unaligned_2 with
1392         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1393         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1394         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1395         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1396         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1397         (ENTRY): Removed.
1398         (END): Likewise.
1399         (ENTRY_CHK): Likewise.
1400         (libc_hidden_builtin_def): Likewise.
1401         Don't include ../memcpy.S.
1402         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1403         __memcpy_chk_avx512_unaligned_erms and
1404         __memcpy_chk_avx512_unaligned.  Use
1405         __memcpy_chk_avx_unaligned_erms and
1406         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1407         Default to __memcpy_chk_sse2_unaligned.
1408         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1409         Change function suffix from unaligned_2 to unaligned.
1410         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1411         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1412         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1413         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1414         (ENTRY): Removed.
1415         (END): Likewise.
1416         (ENTRY_CHK): Likewise.
1417         (libc_hidden_builtin_def): Likewise.
1418         Don't include ../mempcpy.S.
1419         (mempcpy): New.  Add a weak alias.
1420         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1421         __mempcpy_chk_avx512_unaligned_erms and
1422         __mempcpy_chk_avx512_unaligned.  Use
1423         __mempcpy_chk_avx_unaligned_erms and
1424         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1425         Default to __mempcpy_chk_sse2_unaligned.
1427 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1429         [BZ #19881]
1430         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1431         into ...
1432         * sysdeps/x86_64/memset.S: This.
1433         (__bzero): Removed.
1434         (__memset_tail): Likewise.
1435         (__memset_chk): Likewise.
1436         (memset): Likewise.
1437         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1438         defined.
1439         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1440         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1441         (__memset_zero_constant_len_parameter): Check SHARED instead of
1442         PIC.
1443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1444         memset-avx2 and memset-sse2-unaligned-erms.
1445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1446         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1447         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1448         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1449         (__bzero): Enabled.
1450         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1451         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1452         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1453         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1454         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1455         (memset): Removed.
1456         (__memset_chk): Likewise.
1457         (MEMSET_SYMBOL): New.
1458         (libc_hidden_builtin_def): Replace __memset_sse2 with
1459         __memset_sse2_unaligned.
1460         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1461         __memset_chk_sse2 and __memset_chk_avx2 with
1462         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1463         Use __memset_chk_sse2_unaligned_erms or
1464         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1465         __memset_chk_avx512_unaligned_erms and
1466         __memset_chk_avx512_unaligned.
1468 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1470         * math/gen-auto-libm-test.c (fp_format_desc): remove
1471         suffix member.
1472         (output_generic_value): Remove usage of suffix member,
1473         and the resulting unuse of the fp_format argument.
1474         (output_for_one_input_case): Remove unused fp_format
1475         parameter.
1477         * math/auto-libm-test-out: Regenerate.
1479         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1480         usage with TEST_COND_ibm128.
1481         (TEST_COND_flt_32): Remove.
1482         (TEST_COND_dbl_64): Remove.
1483         (TEST_COND_ldbl_96_intel): Remove.
1484         (TEST_COND_ldbl_96_m68k): Remove.
1485         (TEST_COND_ldbl_128): Remove.
1487 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1489         * auto-libm-test-in:
1490         Replace flt-32 usage with binary32.
1491         Replace dbl-64 usage with binary64.
1492         Replace ldbl-intel-96 usage with intel96.
1493         Replace ldbl-m68k-96 usage with m68k96.
1494         Replace ldbl-128ibm usage with ibm128.
1495         Replace ldbl-128 usage with binary128.
1497         * auto-libm-test-out: Regenerate.
1499 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1501         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1502         (parse_ulps): Dynamically generate type name matching
1503         string from all_floats.
1504         (get_ulps): Generate the ulps as an array instead.
1505         (output_ulps): Dynamically compose the type based
1506         on the number of supported formats, and print
1507         the indices as type specific helper macros.
1509         * math/libm-test.inc: Remove comment about CHOOSE.
1510         (ulp_data): Generate the type in libm-test-ulps.h.
1511         (ULP_IDX): New macro.
1512         (find_ulps): Update usage of max_ulp.
1514         * math/test-double-vlen2.h (CHOOSE): Remove.
1515         * math/test-double-vlen4.h (CHOOSE): Likewise.
1516         * math/test-double-vlen8.h (CHOOSE): Likewise.
1517         * math/test-float.c (CHOOSE): Likewise.
1518         * math/test-float-finite.c (CHOOSE): Likewise.
1519         * math/test-double.c (CHOOSE): Likewise.
1520         * math/test-double-finite.c (CHOOSE): Likewise.
1521         * math/test-idouble.c (CHOOSE): Likewise.
1522         * math/test-ifloat.c (CHOOSE): Likewise.
1523         * math/test-ildoubl.c (CHOOSE): Likewise.
1524         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1525         * math/test-ldouble.c (CHOOSE): Likewise.
1527         * math/test-float.h (TEST_FLOAT): Remove.
1528         * math/test-double.h (TEST_DOUBLE): Likewise.
1529         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1531 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1533         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1534         (parse_args): Strip C suffix from floating point literals
1535         typed with 'f' and wrap them with LIT().
1537         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1538         (test_ff_f_data_nexttoward): Rename to
1539         (test_fj_f_data): New struct.
1540         (nexttoward_test_data): Relabel tests as
1541         TEST_fj_f instead of TEST_ff_f.
1543 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1545         Emacs bug 23726.
1546         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1547         (__libc_realloc): Correct size computation for dumped fake mmapped
1548         chunks.
1550 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1552         [BZ #20219]
1553         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1554         to itself.
1555         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1557         [BZ #20218]
1558         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1559         to itself.
1560         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1562 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1564         [BZ #20195]
1565         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1566         check to ...
1567         (init_cpu_features): Here.
1569 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1571         [BZ #20214]
1572         * sysdeps/unix/sysv/linux/bits/in.h
1573         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1574          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1575         Define to 1.
1576         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1577          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1578         Define to 0.
1579         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1580         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1582 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1584         [BZ #20198]
1585         * stdlib/Makefile (tests): Add tst-quick_exit, and
1586         tst-thread-quick_exit.
1587         [ifeq ($(have-cxx-thread_local),yes)]
1588         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1589         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1590         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1591         (LDLIBS-tst-thread-quick_exit): Likewise.
1592         [ifneq ($(have-cxx-thread_local),yes)]
1593         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1594         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1595         If run_dtors is true call __call_tls_dtors.
1596         (exit): Call __run_exit_handlers with run_dtors set to true.
1597         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1598         definition.
1599         * stdlib/quick_exit.c (quick_exit): Remove function.
1600         (__new_quick_exit): New function.
1601         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1602         function.
1603         * stdlib/tst-quick_exit.cc: New file.
1604         * stdlib/tst-thread-quick_exit.cc: New file.
1605         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1606         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1607         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1608         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1609         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1610         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1611         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1612         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1613         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1614         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1615         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1616         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1617         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1618         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1619         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1620         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1625         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1626         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1627         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1628         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1629         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1632         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1633         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1634         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1636 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1638         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1639         a typo in comments.
1641 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1643         [BZ #20213]
1644         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1645         argument to itself.
1646         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1648 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1650         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1651         required flags.
1652         (CFLAGS-pwritev64.c): Likewise.
1653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1655         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1656         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1657         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1658         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1659         syscall from auto-generation.
1660         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1661         [WORDSIZE == 64] (pwritev64): Remove macro.
1662         [!PWRITEV] (PWRITEV): Likewise.
1663         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1664         [!PWRITEV] (PWRITE): Likewise.
1665         [!PWRITEV] (OFF_T): Likewise.
1666         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1667         (LO_HI_LONG): Remove macro.
1668         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1669         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1670         (PWRITEV): Remove macro.
1671         (PWRITEV_REPLACEMENTE): Likewise.
1672         (PWRITE): Likewise.
1673         (OFF_T): Likewise.
1674         (pwritev64): New function.
1675         * nptl/tst-cancel4.c (tf_writev): Add test.
1677         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1678         required flags.
1679         (CFLAGS-preadv64.c): Likewise.
1680         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1681         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1682         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1683         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1684         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1685         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1686         syscall from auto-generation.
1687         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1688         [WORDSIZE == 64] (preadv64): Remove macro.
1689         [!PREADV] (PREADV): Likewise.
1690         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1691         [!PREADV] (PREAD): Likewise.
1692         [!PREADV] (OFF_T): Likewise.
1693         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1694         (LO_HI_LONG): Remove macro.
1695         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1696         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1697         (PREADV): Remove macro.
1698         (PREADV_REPLACEMENTE): Likewise.
1699         (PREAD): Likewise.
1700         (OFF_T): Likewise.
1701         (preadv64): New function.
1702         * nptl/tst-cancel4.c (tf_preadv): Add test.
1704 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1706         [BZ #20212]
1707         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1708         argument to itself.
1709         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1711 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1714         New symbol defined as libc_hidden_def.
1715         (strcasestr): Became a weak alias to __strcasestr.
1716         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1717         according to multi-arch support.  Move __stpncpy hidden
1718         definition from here to...
1719         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1720         symbol stpncpy.
1721         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1722         libc_hidden_builtin_def.
1723         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1724         memset symbol to use when multi-arch support is available.
1726 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1728         * dlfcn/tst-rec-dlopen.c: Include string.h.
1730 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1732         * manual/install.texi: Remove mention of --without-tls
1733         * INSTALL: Regenerate.
1735 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1737         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1738         Remove.
1739         (call_function, interposed_malloc_called): New variables.
1740         (malloc): New function.
1741         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1742         and clear call_function as needed.
1744 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1746         * include/wchar.h (__wmemset): Use __typeof.
1748 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1750         * include/wchar.h (__wmemset): Declare function without typeof.
1752 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1754         [BZ #20205]
1755         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1756         exponent when incrementing negative subnormal with low mantissa
1757         word zero.
1758         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1759         Add another test.
1761 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1763         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1764         __wmemset instead of wmemset.
1766 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1768         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1769         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1770         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1771         __USE_KERNEL_IPV6_DEFS to 0.
1772         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1773         Update comment.
1775 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1777         [BZ #19861]
1778         Do not use IFUNC resolver with potentially unrelocated symbol.
1779         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1780         (DEFINE_FORK): Remove macro and inline definition.
1781         (fork_alias): Renamed from fork_ifunc.
1782         (__fork_alias): Renamed from __fork_ifunc.
1784 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1786         [BZ 19653]
1787         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1788         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1790 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1792         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1793         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1794         i386-linux-gnu).
1795         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1796         Set to no.
1797         * sysdeps/mach/hurd/configure: Refresh.
1799 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1801         [BZ #20178]
1802         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1803         on failure instead of exit.
1805 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1807         [BZ #3629]
1808         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1809         of POSIX.1-2008.
1811 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1813         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1814           Use PLT entry for calling _hurd_self_sigstate.
1816 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1818         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1819         available logical processors with SMT level type sharing L2
1820         cache for Intel processors.
1822 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1824         [BZ #20160]
1825         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1826         argument to itself before returning the result.
1827         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1828         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1829         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1830         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1831         Likewise.
1832         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1833         Likewise.
1834         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1835         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1836         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1837         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1838         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1839         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1841         [BZ #20160]
1842         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1843         argument to itself before returning the result.
1844         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1845         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1846         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1848         Likewise.
1849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1850         Likewise.
1851         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1852         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1853         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1854         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1855         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1856         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1858 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1860         * libm-test.inc: Replace usage of M_El with
1861         (lit_e): New macro.
1863 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1865         * libm-test.inc: Replace usage of M_PI_4l with
1866         (lit_pi_4_d): New macro.
1868 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1870         * libm-test.inc: Replace usage of M_PIl with
1871         (lit_pi): New macro.
1873 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1875         * libm-test.inc: Replace usage of M_PI2l with
1876         (lit_pi_2_d): New macro.
1878         * math/test-double.h (LITM): New macro.
1879         * math/test-float.h (LITM): Likewise.
1880         * math/test-ldouble.h (LITM): Likewise.
1882 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1884         * libm-test.inc (M_PI_34l): Rename to
1885         (lit_pi_3_m_4_d): New Macro.
1886         (M_PI_34_LOG10El): Rename to
1887         (lit_pi_3_m_4_ln10_m_d): New Macro.
1888         (M_PI2_LOG10El): Rename to
1889         (lit_pi_2_ln10_m_d):  New Macro.
1890         (M_PI4_LOG10El): Rename to
1891         (lit_pi_4_ln10_m_d):  New Macro.
1892         (M_PI_LOG10El): Rename to
1893         (lit_pi_ln10_d):  New Macro.
1895 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1897         [BZ #20157]
1898         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1899         determine whether to negate low half if [_ARCH_PPCGR], and integer
1900         comparison otherwise.
1901         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1902         determine whether to negate low half.
1904         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1905         (NO_TEST_INLINE_DOUBLE): Likewise.
1906         (TEST_COND_x86_64): Likewise.
1907         (TEST_COND_x86): Likewise.
1908         (M_PI_6l): Likewise.
1910 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1912         * math/libm-test.inc:
1913         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1914         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1915         (TEST_LDOUBLE): Update usage to evaluate as true if
1916         the guarded tests match the property being tested.
1917         (LDBL_MAX_EXP): Change to MAX_EXP.
1918         (LDBL_MIN_EXP): Change to MIN_EXP.
1919         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1920         nexttoward tests.
1922 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1924         * math/libm-test.inc:
1925         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1926         (TYPE_MIN): Likewise.
1927         (TYPE_TRUE_MIN): Likewise.
1928         (TYPE_MAX): Likewise.
1929         (MIN_EXP): Likewise.
1930         (MAX_EXP): Likewise.
1931         (MANT_DIG): Likewise.
1933         (FSTR_MAX): New macro.
1934         (__CONCATX): Likewise.
1935         (QTYPE_STR): Likewise.
1936         (TEST_COND_binary32): Likewise.
1937         (TEST_COND_binary64): Likewise.
1938         (TEST_COND_binary128): Likewise.
1939         (TEST_COND_ibm128): Likewise.
1940         (TEST_COND_intel96): Likewise.
1941         (TEST_COND_m68k96): Likewise.
1943         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1944         (TEST_COND_dbl_64): Likewise.
1945         (TEST_COND_ldbl_96_intel): Likewise.
1946         (TEST_COND_ldbl_96_m68k): Likewise.
1947         (TEST_COND_ldbl_128): Likewise.
1948         (TEST_COND_ldbl_128ibm): Likewise.
1950         (plus_zero): Redefine using LIT macro.
1951         (minus_zero): Likewise.
1952         (plus_infty): Redefine as (INF).
1953         (minux_infty): Redefine as (-INF).
1954         (max_value): Redefine as TYPE_MAX.
1955         (min_value): Redefine as TYPE_MIN.
1956         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1958         (print_float): Refactor to use snprintf to convert FLOAT values
1959         to string. This brings it closer to dropin replacement of strtof
1960         for the TS 18661 defined types.
1961         (update_stats): Likewise.
1962         (print_complex_function_ulps): Likewise.
1963         (print_max_error): Likewise.
1964         (print_complex_max_error): Likewise.
1965         (check_float_internal): Likewise.
1967         * math/test-float.h (PREFIX): New macro.
1968         (LIT): Likewise.
1969         (TYPE_STR): Likewise.
1970         (FTOSTR): Likewise.
1972         * math/test-double.h (PREFIX): New macro.
1973         (LIT): Likewise.
1974         (TYPE_STR): Likewise.
1975         (FTOSTR): Likewise.
1977         * math/test-ldouble.h (PREFIX): New macro.
1978         (LIT): Likewise.
1979         (TYPE_STR): Likewise.
1980         (FTOSTR): Likewise.
1982 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1984         [BZ #20156]
1985         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1986         to itself when zero or not finite.
1987         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1988         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1989         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1990         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1992 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1994         [BZ #20153]
1995         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1996         x * x + x for infinities and NaNs.
1998         [BZ #20151]
1999         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2000         argument to itself before returning result.
2001         (__ieee754_y0l): Likewise.
2002         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2003         (__ieee754_y1l).
2005         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2006         (atan_test_data): Likewise.
2007         (ceil_test_data): Likewise.
2008         (cos_test_data): Likewise.
2009         (cosh_test_data): Likewise.
2010         (erf_test_data): Likewise.
2011         (exp2_test_data): Likewise.
2012         (fabs_test_data): Likewise.
2013         (floor_test_data): Likewise.
2014         (ilogb_test_data): Likewise.
2015         (j0_test_data): Likewise.
2016         (j1_test_data): Likewise.
2017         (jn_test_data): Likewise.
2018         (lgamma_test_data): Likewise.
2019         (lrint_test_data): Likewise.
2020         (llrint_test_data): Likewise.
2021         (logb_test_data): Likewise.
2022         (lround_test_data): Likewise.
2023         (llround_test_data): Likewise.
2024         (nearbyint_test_data): Likewise.
2025         (rint_test_data): Likewise.
2026         (round_test_data): Likewise.
2027         (sin_test_data): Likewise.
2028         (sincos_test_data): Likewise.
2029         (sinh_test_data): Likewise.
2030         (sqrt_test_data): Likewise.
2031         (tan_test_data): Likewise.
2032         (tanh_test_data): Likewise.
2033         (tgamma_test_data): Likewise.
2034         (trunc_test_data): Likewise.
2035         (y0_test_data): Likewise.
2036         (y1_test_data): Likewise.
2037         (yn_test_data): Likewise.
2039         * math/libm-test.inc: Update comment about NaN testing.
2040         (TEST_SNAN): New macro.
2041         (snan_value): Likewise.
2042         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2043         (fpclassify_test_data): Add sNaN tests.
2044         (isfinite_test_data): Likewise.
2045         (isinf_test_data): Likewise.
2046         (isnan_test_data): Likewise.
2047         (isnormal_test_data): Likewise.
2048         (issignaling_test_data): Likewise.
2049         (signbit_test_data): Likewise.
2050         * math/gen-libm-test.pl (%beautify): Add snan_value.
2051         (show_exceptions): Add argument $test_snan.
2052         (parse_args): Handle snan_value as non-finite.  Update call to
2053         show_exceptions.
2054         * math/Makefile (libm-test-no-inline-cflags): Add
2055         -fsignaling-nans.
2057 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2059         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2060         (CFLAGS-oldsendmsg.c): Add rule.
2061         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2062         Correct recvmsg symbol name.
2063         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2064         Likewise.
2066 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2068         * sysdeps/unix/sysv/linux/Makefile
2069         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2070         oldsendmmsg.
2071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2072         sendmmsg.
2073         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2074         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2075         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2076         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2078         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2079         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2081         Likewise.
2082         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2084         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2085         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2086         iovlen and controllen fields to adjust to POSIX specification.
2087         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2089         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2090         and change to correct expected type.
2091         (msghdr.msg_controllen): Likewise.
2092         (cmsghdr.cmsg_len): Likewise.
2093         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2094         expected POSIX assumption about the size.
2095         (msghdr.msg_controllen): Likewise.
2096         (msghdr.__glibc_reserved1): Likewise.
2097         (msghdr.__glibc_reserved2): Likewise.
2098         (cmsghdr.cmsg_len): Likewise.
2099         (cmsghdr.__glibc_reserved1): Likewise.
2100         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2101         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2102         (CFLAGS-sendmsg.c): Remove rule.
2103         (CFLAGS-recvmsg.c): Likewise.
2104         (CFLAGS-oldsendmsg.c): Add rule.
2105         (CFLAGS-oldrecvmsg.c): Likewise.
2106         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2107         recvmsg and sendmsg.
2108         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2109         Likewise.
2110         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2111         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2112         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2113         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2114         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2115         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2116         Likewise.
2117         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2118         Likewise.
2119         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2124         Likewise.
2125         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2126         Likewise.
2127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2128         (GLIBC_2.24): Likewise.
2129         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2130         Likewise.
2131         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2134         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2135         Likewise.
2136         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2137         Likewise.
2138         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2139         Likewise.
2140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2141         (GLIBC_2.24): Likewise.
2142         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2143         Likewise.
2144         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2145         Likewise.
2146         * sysdeps/unix/sysv/linux/Makefile
2147         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2148         (CFLAGS-sendmsg.c): Add rule.
2149         (CFLAGS-recvmsg.c): Likewise.
2150         (CFLAGS-oldsendmsg.c): Likewise.
2151         (CFLAGS-oldrecvmsg.c): Likewise.
2152         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2153         initialization.
2154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2155         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2156         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2157         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2158         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2159         iovlen and controllen fields to adjust to POSIX specification.
2160         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2161         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2162         added recvmsg and sendmsg.
2163         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2164         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2165         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2166         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2167         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2168         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2169         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2170         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2171         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2176         Likewise.
2177         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2179         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2180         Likewise.
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2196         from auto-generation.
2197         (sendmsg): Likewise.
2198         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2199         (sendmsg): Likewise.
2200         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2201         (sendmsg): Likewise.
2202         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2203         (sendmsg): Likewise.
2204         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2205         (sendmsg): Likewise.
2206         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2207         (sendmsg): Likewise.
2208         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2209         Likewise.
2210         (sendmsg): Likewise.
2211         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2212         (sendmsg): Likewise.
2213         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2215         Remove.
2216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2217         Likewise.
2218         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2219         Undefine.
2220         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2221         Likewise.
2222         * sysdeps/unix/sysv/linux/kernel-features.h
2223         (__ASSUME_SENDMSG_SYSCALL): Define.
2224         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2225         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2227         Remove.
2228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2229         Likewise.
2230         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2231         Undefine.
2232         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2233         Likewise.
2234         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2235         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2236         Remove.
2237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2238         Likewise.
2239         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2240         Undefine.
2241         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2242         Likewise.
2243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2244         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2245         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2246         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2247         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2248         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2249         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2250         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2251         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2253 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2255         * stdlib/gen-tst-strtod-round.c: Add backslash to
2256         compile command in comment.
2257         (printfp): Remove the literal suffix, and define an infinite
2258         value as INF to avoid expansion clash with INFINITY.
2259         (round_str): Remove the literal suffix.
2260         (round_for_all): Likewise, remove the now duplicate ldbl-64
2261         entry, and remove some magic constants.
2263         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2264         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2265         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2266         (_CONCAT): New macro.
2267         (CONCAT): Likewise.
2268         (CHOOSE_ld): Likewise.
2269         (CHOOSE_f): Likewise.
2270         (CHOOSE_d): Likewise.
2271         (FTYPE_MEMBER): Likewise.
2272         (BOOL_MEMBER): Likewise.
2273         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2274         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2275         (_XNTRY): Likewise.
2276         (XNTRY): Likewise.
2277         (_ENTRY): Likewise.
2278         (ENTRY): Likewise.
2279         (test_exactness): Generate members via macro.
2280         (test_results): Likewise.
2281         (test): Update members.
2282         (TEST): Redefine using new macros.
2283         (INF): New macro.
2284         (fetestmodes): New structure.
2285         (do_test): Refactor to be type generic.
2286         (test_in_one_mode): Refactor duplicate code into
2287         (GEN_ONE_TEST): New macro.
2289         * stdlib/tst-strtod-round-data.h: Regenerate.
2291         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2292         Extend to pass additional arbitrary parameters to
2293         generators.
2295 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #15479]
2298         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2299         floating-point state after first floating-point operation on
2300         input.  Restore full floating-point state instead of just rounding
2301         mode.
2302         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2303         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2304         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2305         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2306         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2308         [BZ #15479]
2309         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2310         floating-point state after first floating-point operation on
2311         input.  Restore full floating-point state instead of just rounding
2312         mode.
2313         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2314         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2315         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2316         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2317         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2319 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2321         [BZ #19727]
2322         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2323         valid high surrogate.
2324         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2325         of an utf16 surrogate.
2326         * iconv/gconv_simple.c (BODY): Likewise.
2327         * iconvdata/bug-iconv12.c: New file.
2328         * iconvdata/Makefile (tests): Add bug-iconv12.
2330 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2332         [BZ #19726]
2333         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2334         outptrp in case of an illegal input.
2335         * iconv/tst-iconv6.c: New file.
2336         * iconv/Makefile (tests): Add tst-iconv6.
2338 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2340         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2341         an error in case of a value in range of an utf16 low surrogate.
2343 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2345         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2346         an error in case of a value in range of an utf16 low surrogate.
2348 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2350         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2351         Move to ...
2352         * sysdeps/s390/Makefile: ... here.
2353         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2354         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2355         (BRANCH_ON_COUNT): New define.
2356         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2357         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2358         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2359         run on s390-32, too.
2360         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2361         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2362         run on s390-32, too.
2363         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2364         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2365         run on s390-32, too.
2367 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2369         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2370         etf3eh or new vector loop-variant.
2372 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2374         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2375         etf3eh or new vector loop-variant.
2377 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2379         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2380         or new vector loop-variant.
2382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2384         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2385         Rename to TR_LOOP and usage of tr instead of troo instruction.
2387 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2389         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2392 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2394         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2395         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2396         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2397         New override define.
2398         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2402         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2403         * sysdeps/s390/configure.ac: Add test for S390 vector register
2404         support in gcc.
2405         * sysdeps/s390/configure: Regenerated.
2407 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2409         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2410         Install file from $(objpfx)gconv-modules.
2411         ($(objpfx)gconv-modules): Concatenate architecture specific file
2412         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2413         * sysdeps/s390/gconv-modules: New file.
2414         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2415         Deleted.
2416         ($(objpfx)gconv-modules-s390): Deleted.
2417         (sysdeps-gconv-modules): New variable.
2419 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2421         [BZ #15479]
2422         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2423         of immediate operand to rounding instruction.
2424         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2425         Likewise.
2426         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2427         Likewise.
2428         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2429         Likewise.
2431 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2433         * math/libm-test.inc (MIN_EXP): Directly define as
2434         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2436 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2438         * math/libm-test.inc (MANT_DIG): Directly define as
2439         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2441 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2443         * stdlib/gen-tst-strtod-round.c (main):
2444           Change usage to more closely match the generated
2445           output.  Add usage and compilation instructions.
2446           (string_to_fp): Add and use FILE* parameter as
2447           output target.
2448           (print_fp): Likewise.
2449           (round_str): Likewise.
2450           (round_for_all): Likewise.
2451         * stdlib/tst-strtod-round.c (tests): Move into
2452         * stdlib/tst-strtod-round-data.h: New file.
2454 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2456         [BZ #15479]
2457         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2458         (__round): Do not force "inexact" exception.
2459         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2460         variable.
2461         (__round): Do not force "inexact" exception.
2462         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2463         (__roundf): Do not force "inexact" exception.
2464         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2465         (__roundl): Do not force "inexact" exception.
2466         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2467         (__roundl): Do not force "inexact" exception.
2468         * math/libm-test.inc (round_test_data): Do not allow spurious
2469         "inexact" exceptions.
2471         [BZ #15479]
2472         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2473         exception in comment.
2474         (huge): Remove variable.
2475         (__floor): Do not force "inexact" exception.
2476         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2477         "inexact" exception in comment.
2478         (huge): Remove variable.
2479         (__floor): Do not force "inexact" exception.
2480         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2481         exception in comment.
2482         (huge): Remove variable.
2483         (__floorf): Do not force "inexact" exception.
2484         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2485         exception in comment.
2486         (huge): Remove variable.
2487         (__floorl): Do not force "inexact" exception.
2489         [BZ #15479]
2490         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2491         exception in comment.
2492         (huge): Remove variable.
2493         (__ceil): Do not force "inexact" exception.
2494         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2495         "inexact" exception in comment.
2496         (huge): Remove variable.
2497         (__ceil): Do not force "inexact" exception.
2498         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2499         (__ceilf): Do not force "inexact" exception.
2500         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2501         exception in comment.
2502         (huge): Remove variable.
2503         (__ceill): Do not force "inexact" exception.
2505 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2507         * config.h.in (BIND_NOW): New.
2508         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2509         * configure: Regenerated.
2510         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2511         indirect branch via the GOT slot.
2513 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2515         [BZ #19765]
2516         * sysdeps/s390/mempcpy.S: New File.
2517         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2518         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2519         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2520         Add mempcpy variants.
2521         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2522         (memcpy): Adjust to be usable from mempcpy entry point.
2523         (__memcpy_mvcle): Likewise.
2524         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2525         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2526         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2527         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2528         (__memcpy_z10): Likewise.
2529         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2531 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2533         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2534         Remove __GI_ symbol.
2535         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2536         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2537         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2538         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2539         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2540         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2542 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2544         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2545         Use cghi instead of chi to compare 64bit value.
2547 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2549         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2550         Jump to 1MB check before executing mvc-loop.
2552 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2554         [BZ #6527]
2555         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2556         unconditionally.
2557         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2559 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2561         * stdlib/tst-strtod6.c (do_test): Use new type generic
2562         invocation of the test function.
2563         (test): Refactor into ...
2564         (TEST_STRTOD): New macro base function.
2566 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2568         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2569         (TEST_STRTOD): New macro.
2570         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2572 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2574         * stdlib/tst-strtod6.c (do_test): Use new type generic
2575         invocation of the test function.
2576         (test): Refactor into ...
2577         (TEST_STRTOD): New macro base function.
2579 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2581         CVE-2016-4429
2582         [BZ #20112]
2583         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2584         payload.
2586 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2588         [BZ #20111]
2589         * bits/sockaddr.h (_SS_SIZE): Define.
2590         * bits/socket.h (_SS_SIZE): Remove.
2591         (_SS_PADSIZE): Adjust to account for all padding.
2592         (struct sockaddr_storage): Update comment.  Avoid implicit
2593         padding.
2594         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2595         (_SS_PADSIZE): Adjust to account for all padding.
2596         (struct sockaddr_storage): Update comment.  Avoid implicit
2597         padding.
2598         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2599         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2600         (_SS_PADSIZE): Adjust to account for all padding.
2601         (struct sockaddr_storage): Update comment.  Avoid implicit
2602         padding.
2603         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2604         __SS_SIZE is 126 in this version.
2605         * inet/tst-sockaddr.c: New file.
2606         * inet/Makefile (tests): Add tst-sockaddr.c
2607         (tst-sockaddr.c): Compile with non-strict aliasing.
2609 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2611         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2612         [XPG3 || XPG4].
2613         (NL_ARGMAX): Also expect for [XPG3].
2614         (NL_LANGMAX): Likewise.
2615         (NL_MSGMAX): Likewise.
2616         (NL_NMAX): Likewise.
2617         (NL_SETMAX): Likewise.
2618         (NL_TEXTMAX): Likewise.
2619         (NZERO): Likewise.
2620         (TMP_MAX): Likewise.
2621         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2622         variable.
2624         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2625         (PF_MAX): Update value.
2626         (AF_KCM): New macro.
2627         (SOL_NETBEUI): Likewise.
2628         (SOL_LLC): Likewise.
2629         (SOL_DCCP): Likewise.
2630         (SOL_NETLINK): Likewise.
2631         (SOL_TIPC): Likewise.
2632         (SOL_RXRPC): Likewise.
2633         (SOL_PPPOL2TP): Likewise.
2634         (SOL_BLUETOOTH): Likewise.
2635         (SOL_PNPIPE): Likewise.
2636         (SOL_RDS): Likewise.
2637         (SOL_IUCV): Likewise.
2638         (SOL_CAIF): Likewise.
2639         (SOL_ALG): Likewise.
2640         (SOL_NFC): Likewise.
2641         (SOL_KCM): Likewise.
2642         (MSG_BATCH): New enum value and macro.
2644 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2646         [BZ #18185]
2647         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2648         sharing L2 cache to 2 for Knights Landing.
2650 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2652         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2653         (FTW_DP): Do not expect for [XPG3 || XPG4].
2654         (FTW_SL): Do not expect for [XPG3].
2655         (FTW_SLN): Likewise.
2656         (FTW_PHYS): Likewise.
2657         (FTW_MOUNT): Likewise.
2658         (FTW_DEPTH): Likewise.
2659         (FTW_CHDIR): Likewise.
2660         (nftw): Likewise.
2661         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2662         variable.
2664 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2666         * manual/errno.texi: Fix various typos & grammar errors.
2668 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2670         * manual/intro.texi: Fix duplicated typo.
2672 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2674         [BZ #13304]
2675         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2676         <float.h>, <math_private.h> and <stdlib.h>.
2677         (add_split): New function.
2678         (mul_split): Likewise.
2679         (ext_val): New typedef.
2680         (store_ext_val): New function.
2681         (mul_ext_val): New function.
2682         (compare): New function.
2683         (add_split_ext): New function.
2684         (__fmal): After checking for Inf, NaN and zero, compute result as
2685         an exact sum of scaled double values in round-to-nearest before
2686         adding those up and adjusting for other rounding modes.
2687         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2688         tests of fma.
2689         * math/auto-libm-test-out: Regenerated.
2691 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2693         [BZ #20119]
2694         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2695         processor level type mask for CPUID with EAX == 11.
2697 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2699         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2700         logical threads if the HTT bit is 0.
2701         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2702         (index_cpu_HTT): Likewise.
2703         (reg_HTT): Likewise.
2705 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2707         [BZ #20115]
2708         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2709         Remove alignments on jump targets.
2711 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2713         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2714         (getpwent): Likewise.
2715         (setpwent): Likewise.
2716         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2717         variable.
2719         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2720         (remque): Likewise.
2721         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2722         variable.
2724 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2726         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2727         not being tested.
2729 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2732         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2733         call.
2734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2735         (__condvar_cleanup1): Likewise.
2737 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2739         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2740         New
2741         (__pthread_unwind): Renamed to ...
2742         (PTHREAD_UNWIND): This.
2743         (__pthread_enable_asynccancel): Replace
2744         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2746 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2748         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2749         (CLONE_NEWCGROUP): New macro.
2751         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2752         (Q_GETNEXTQUOTA): New macro.
2754 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2756         [BZ #19907]
2757         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2758         buffer updated by the previous run.
2759         * string/test-memcpy.c (do_one_test): Likewise.
2760         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2761         * string/test-memmove.c (do_one_test): Likewise.
2763 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2765         [BZ #20094]
2766         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2767         not [__USE_XOPEN].
2768         (unlockpt): Likewise.
2769         (ptsname): Likewise.
2770         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2771         variable.
2773         [BZ #20076]
2774         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2775         instead of [__USE_UNIX98].
2776         (S_ISSOCK): Likewise.
2777         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2778         variable.
2780         [BZ #20074]
2781         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2782         [__USE_POSIX].
2783         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2784         variable.
2786         [BZ #20051]
2787         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2788         (ttyslot): Do not declare.
2789         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2790         (ttyslot): New prototype.
2791         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2792         variable.
2793         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2795 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2797         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2799 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2801         Fix race condition in tst-mallocfork2, use fewer resources.
2802         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2803         to current process group.
2804         (signal_sender): Yield in the non-sleeping case.
2806 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2808         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2809         (ecvt): Likewise.
2810         (fcvt): Likewise.
2811         (gcvt): Likewise.
2812         (getsubopt): Likewise.
2813         (grantpt): Likewise.
2814         (initstate): Likewise.
2815         (l64a): Likewise.
2816         (mktemp): Likewise.
2817         (mkstemp): Likewise.
2818         (ptsname): Likewise.
2819         (random): Likewise.
2820         (realpath): Likewise.
2821         (setstate): Likewise.
2822         (srandom): Likewise.
2823         (ttyslot): Likewise.
2824         (unlockpt): Likewise.
2825         (valloc): Likewise.
2827         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2828         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2829         variable.
2831 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2833         [BZ #20072]
2834         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2835         init_cpu_features only if SHARED is defined.
2836         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2838 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2840         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2841         non-inclusive caches on Intel processors.
2843 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2845         * malloc/malloc.c (dumped_main_arena_start)
2846         (dumped_main_arena_end): New variables.
2847         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2848         (do_check_chunk): Skip dumped fake mmapped chunks.
2849         (munmap_chunk): Likewise.
2850         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2851         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2852         mmapped chunks.
2853         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2854         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2855         and dumped_main_arena_end to cover the dumped heap.
2857 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2859         * conform/data/time.h-data (getdate_err): Do not expect for
2860         [XPG3].
2861         (getdate): Likewise.
2862         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2863         variable.
2865         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2866         (F_ULOCK): Likewise.
2867         (F_TEST): Likewise.
2868         (F_TLOCK): Likewise.
2869         (useconds_t): Likewise.
2870         (intptr_t): Do not expect for [XPG3] or [XPG4].
2871         (brk): Do not expect for [XPG3]
2872         (fchown): Likewise.
2873         (fchdir): Likewise.
2874         (ftruncate): Likewise.
2875         (getdtablesize): Likewise.
2876         (gethostid): Likewise.
2877         (getpagesize): Likewise.
2878         (getpgid): Likewise.
2879         (getsid): Likewise.
2880         (getwd): Likewise.
2881         (lchown): Likewise.
2882         (lockf): Likewise.
2883         (readlink): Likewise.
2884         (sbrk): Likewise.
2885         (setpgrp): Likewise.
2886         (setregid): Likewise.
2887         (setreuid): Likewise.
2888         (symlink): Likewise.
2889         (sync): Likewise.
2890         (truncate): Likewise.
2891         (ualarm): Likewise.
2892         (usleep): Likewise.
2893         (vfork): Likewise.
2894         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2895         variable.
2897         [BZ #20054]
2898         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2899         not [__USE_UNIX98].
2900         * conform/data/unistd.h-data (gethostname): Do not expect for
2901         [XPG3].
2903         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2904         [!POSIX] (S_IFBLK): Likewise.
2905         [!POSIX] (S_IFCHR): Likewise.
2906         [!POSIX] (S_IFIFO): Likewise.
2907         [!POSIX] (S_IFREG): Likewise.
2908         [!POSIX] (S_IFDIR): Likewise.
2909         [!POSIX] (S_IFLNK): Likewise.
2910         [!POSIX] (S_IFSOCK): Likewise.
2911         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2912         variable.
2913         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2915 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2917         * sysdeps/aarch64/memset.S (__memset):
2918         Rewrite of optimized memset.
2920 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2922         [BZ #19703]
2923         Partially async-signal-safe fork for single-threaded processes.
2924         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2925         variable.  Do not acquire and reset/release malloc and libio locks
2926         in single-threaded processes.
2927         * malloc/tst-mallocfork2.c: New file.
2928         * malloc/Makefile (tests): Add it.
2930 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2932         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2933         argument.  Use scratch buffer instead of extend_alloca.
2934         (gethosts): Use scratch buffer instead of extend_alloca.
2935         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2936         extend_alloca.
2937         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2939 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2941         [BZ #20055]
2942         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2943         instead of [__USE_UNIX98].
2944         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2945         [__USE_UNIX98].
2946         * conform/data/termios.h-data (tcgetsid): Do not expect for
2947         [XPG3].
2948         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2949         variable.
2950         (test-xfail-XPG4/termios.h/conform): Likewise.
2952 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2954         Do not use mcheck in localedef.
2955         * locale/programs/localedef.c (turn_on_mcheck)
2956         (__malloc_initialize_hook): Remove.
2958 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2960         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2961         * sysdeps/s390/s390-64/Makefile: Likewise.
2963 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2965         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2966         Remove ifunc-defines.sym.
2967         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2968         Likewise.
2969         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2970         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2971         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2972         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2973         rtld-global-offsets.sym.
2974         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2975         * sysdeps/x86/cpu-features-offsets.sym: This.
2976         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2977         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2979 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2981         [BZ #20073]
2982         * io/sys/stat.h (fchmod): Declare for
2983         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2984         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2985         variable.
2987         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2988         [XPG3] (S_IFSOCK): Likewise.
2989         [XPG3] (S_ISVTX): Likewise.
2990         [XPG3] (S_ISLNK): Likewise.
2991         [XPG3] (S_ISSOCK): Likewise.
2992         [XPG3] (fchmod): Likewise.
2993         [XPG3] (lstat): Likewise.
2994         [XPG3] (mknod): Likewise.
2996         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2997         [XPG3].  Expect type long and XFAIL for [XPG4].
2998         (st_blocks): Likewise.
3000         [BZ #20044]
3001         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3002         (pthread_atfork): New prototype.
3003         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3004         variable.
3006         [BZ #20043]
3007         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3008         prototype.
3010 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3012         [BZ #20017]
3013         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3014         gmtime.
3016 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3018         [BZ #19994]
3019         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3020         flag in _res.options.
3022 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3024         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3025         [XPG3 || XPG4].
3026         (blksize_t): Likewise.
3027         (clockid_t): Likewise.
3028         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3029         variable.
3030         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3032 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3034         * sysdeps/unix/sysv/linux/s390/init-first.c:
3035         Add VDSO_SYMBOL(getcpu).
3036         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3037         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3038         Add VDSO_SYMBOL(getcpu).
3039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3040         New define HAVE_GETCPU_VSYSCALL.
3041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3043 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3045         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3046         instead of <sysdeps/x86_64/cacheinfo.c>.
3047         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3048         * sysdeps/x86/cacheinfo.c: Here.
3050 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3052         * malloc/malloc-internal.h: Adjust header file guard.
3054 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3056         [BZ #19787]
3057         * inet/getnameinfo.c (check_sprintf_result): New function.
3058         (CHECKED_SNPRINTF): New macro.
3059         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3060         to the host buffer.
3061         (gni_host_local): Use checked_copy to copy the host name.
3062         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3063         (gni_serv_local): Use checked_copy to copy the service name.
3064         (getnameinfo): Remove unnecessary truncation of result buffers.
3066 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3068         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3069         in case of inet_ntop failure.
3071 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3073         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3074         avoid long lines.
3075         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3076         variables.
3077         (gni_host_inet, gni_host_local): Add comment.
3078         (gni_host): Add comment.  Use temporary to avoid long lines.
3080 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3082         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3083         registers specifiers where general purpose registers specifiers should
3084         have been used.
3086 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3088         [BZ #19779]
3089         CVE-2016-1234
3090         Avoid copying names of directory entries.
3091         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3092         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3093         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3094         (struct readdir_result): New type.
3095         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3096         (GL_READDIR): New macros.
3097         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3098         (convert_dirent, convert_dirent64): New functions.
3099         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3100         convert_dirent64.  Adjust references to the readdir result.
3101         * sysdeps/unix/sysv/linux/i386/glob64.c:
3102         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3103         * posix/bug-glob2.c (LONG_NAME): Define.
3104         (filesystem): Add LONG_NAME.
3105         (my_DIR): Increase the size of room_for_dirent.
3107 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3109         [BZ #20041]
3110         * misc/sys/select.h (__need_timespec): Only define if
3111         [__USE_XOPEN2K].
3112         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3113         variable.
3114         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3115         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3116         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3118 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3119             Segher Boessenkool  <segher@gcc.gnu.org>
3121         [BZ #20004]
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3123         (__novec_swapcontext): Add missing load.
3125 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3127         [BZ #20023]
3128         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3129         <time.h>.
3130         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3131         variable.
3132         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3134 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3137         flags CLONE_VM compare.
3139 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3141         [BZ #20031]
3142         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3143         completely empty.
3145 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3147         [BZ #19573]
3148         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3149         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3150         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3151         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3152         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3153         (hesiod_free_list): Mark as hidden.
3154         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3155         res_set, res_get.
3156         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3157         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3158         (hesiod_init): Remove obsolete res_ninit call.
3159         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3160         (hesiod_bind): Do not call init.
3161         (get_txt_records): Use res_mkquery, res_send instead of
3162         res_nmkquery, res_nsend.
3163         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3164         instead of _nss_hesiod_init.
3165         (_nss_hesiod_initgroups_dyn): Likewise.
3166         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3167         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3168         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3170 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3172         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3173         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3175 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3177         * hesiod/hesiod.h: Remove RCS keyword.
3178         * hesiod/hesiod_p.h: Likewise.
3180         * hesiod/hesiod.c: Likewise.
3182 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3184         [BZ #12450]
3185         * locale/iso-639.def: Add Samogitian/sgs.
3187 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3189         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3191         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3193 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3194             Carlos O'Donell  <carlos@redhat.com>
3196         [BZ #19072]
3197         * grp/Makefile (headers): Add grp-merge.h
3198         (routines): Add grp-merge.
3199         * grp/getgrgid_r.c: Include grp-merge.h.
3200         (DEEPCOPY_FN): Define.
3201         (MERGE_FN): Define.
3202         * grp/getgrname_r.c: Include grp-merge.h.
3203         (DEEPCOPY_FN): Define.
3204         (MERGE_FN): Define.
3205         * grp/grp-merge.c: New file.
3206         * grp/grp-merge.h: New file.
3207         * include/grp-merge.h: New file.
3208         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3209         __copy_grp@GLIBC_PRIVATE.
3210         * manual/nss.texi (Actions in the NSS configuration): Describe
3211         return, continue, and merge.
3212         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3213         (DEEPCOPY_FN): Define.
3214         (MERGE_FN): Define.
3215         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3216         (DEEPCOPY_FN): Define.
3217         (MERGE_FN): Define.
3218         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3219         [!MERGE_FN]: Define __merge_einval.
3220         (CHECK_MERGE): Define.
3221         (REENTRANT_NAME): Process merge if do_merge is true.
3222         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3223         (__nss_getent_r): Likewise.
3224         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3225         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3227 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3229         [BZ #20012]
3230         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3231         length to calculate the buffer to read.
3232         (fmemopen_write): Set the buffer position based on bytes written.
3233         (fmemopen_seek): Return EINVAL for invalid whence modes.
3235         [BZ #19957]
3236         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3237         tst-getpid2.
3238         (test): Add tst-clone2.
3239         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3240         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3241         pid/tid fields for CLONE_VM.
3242         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3243         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3244         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3245         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3246         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3247         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3248         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3249         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3251         Likewise.
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3253         Likewise.
3254         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3255         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3256         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3258         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3259         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3260         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3261         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3263 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3265         [BZ #19642]
3266         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3267         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3268         (gni_serv_local, gni_serv): New functions extracted from
3269         getnameinfo.
3270         (getnameinfo): Call gni_host and gni_serv to perform the
3271         processing.  Always free scratch buffer.
3273 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3275         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3276         remaining bytes in the dest string, with zeros.
3278 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3280         [BZ #20010]
3281         CVE-2016-3706
3282         * sysdeps/posix/getaddrinfo.c
3283         (convert_hostent_to_gaih_addrtuple): New function.
3284         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3285         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3286         AF_INET data.
3288 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3290         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3291         callback function gl_readdir.
3292         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3293         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3294         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3295         memcpy to copy the name.
3296         * manual/pattern.texi (Calling Glob): Document requirements for
3297         implementations of the gl_readdir callback function.
3298         * manual/examples/mkdirent.c: New example.
3299         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3300         per the manual guidance.
3301         * posix/tst-gnuglob.c (my_readdir): Likewise.
3303 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #20014]
3306         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3307         not [__USE_POSIX].
3308         (getchar_unlocked): Likewise.
3309         (putc_unlocked): Likewise.
3310         (putchar_unlocked): Likewise.
3311         (flockfile): Likewise.
3312         (ftrylockfile): Likewise.
3313         (funlockfile): Likewise.
3314         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3315         variable.
3316         (test-xfail-XPG4/stdio.h/conform): Likewise.
3318         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3319         Expect constant.
3320         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3321         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3322         variable.
3323         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3324         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3326         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3327         [__USE_LARGEFILE64] (off64_t): Likewise.
3328         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3329         variable.
3331 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3333         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3335 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3337         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3338         * resolv/res_init.c: Likewise.
3339         * resolv/res_mkquery.c: Likewise.
3341 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3343         * resolv/res_init.c (isascii): Do not define.  Use definition in
3344         <ctype.h>.
3345         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3346         (LOG_AUTH): Remove.
3347         (SPRINTF): Remove, adjust caller.
3348         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3350 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3353         SUNSECURITY conditional.
3354         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3356 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3358         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3359         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3360         Remove BSD-related preprocessor conditionals.
3361         * conf/portability.h: Remove.
3363 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3365         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3366         * resolv/res_data.c: Likewise.
3368 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3370         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3371         * resolv/res_data.c: Remove code conditional on ultrix.
3373 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3375         * resolv/res_init.c (RFC1535): Do not define.  Remove
3376         RFC1535 preprocessor conditionals.
3377         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3378         because there configuration options which make the resolver
3379         behavior different.
3381 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3383         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3384         RESOLVSORT preprocessor conditionals.
3385         * resolv/nss_dns/dns-host.c: Likewise.
3386         * resolv/res_init.c: Likewise.
3388 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3390         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3391         is never defined.
3393 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3395         * inet/inet_lnaof.c: Remove SCSS keyword.
3396         * inet/inet_mkadr.c: Likewise.
3397         * inet/inet_net.c: Likewise.
3398         * inet/inet_netof.c: Likewise.
3399         * inet/rcmd.c: Likewise.
3400         * inet/rexec.c: Likewise.
3401         * inet/ruserpass.c: Likewise.
3403 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3405         * resolv/inet_addr.c: Remove _LIBC conditionals.
3406         * resolv/res_data.c: Likewise.
3407         * resolv/res_init.c: Likewise.
3408         * resolv/res_mkquery.c: Likewise.
3409         * resolv/res_libc.c: Update comment.
3410         * resolv/README: Update.
3412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3414         * resolv/gethnamaddr.c: Remove SCSS keyword.
3415         * resolv/herror.c: Likewise.
3416         * resolv/inet_addr.c: Likewise.
3417         * resolv/inet_net_ntop.c: Likewise.
3418         * resolv/inet_net_pton.c: Likewise.
3419         * resolv/inet_neta.c: Likewise.
3420         * resolv/inet_ntop.c: Likewise.
3421         * resolv/inet_pton.c: Likewise.
3422         * resolv/ns_date.c: Remove RCS keyword.
3423         * resolv/ns_name.c: Likewise.
3424         * resolv/ns_netint.c: Likewise.
3425         * resolv/ns_parse.c: Likewise.
3426         * resolv/ns_print.c: Likewise.
3427         * resolv/ns_samedomain.c: Likewise.
3428         * resolv/ns_ttl.c: Likewise.
3429         * resolv/nsap_addr.c: Likewise.
3430         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3431         * resolv/res_data.c: Remove RCS keyword.
3432         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3433         * resolv/res_init.c: Likewise.
3434         * resolv/res_mkquery.c: Likewise.
3435         * resolv/res_query.c: Likewise.
3436         * resolv/res_send.c: Likewise.
3438 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3440         * conform/data/stdio.h-data (fdopen): Expect also for
3441         [XPG3 || XPG4].
3443         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3444         (fseeko): Likewise.
3445         (ftello): Likewise.
3446         (ftrylockfile): Likewise.
3447         (funlockfile): Likewise.
3448         (getc_unlocked): Likewise.
3449         (getchar_unlocked): Likewise.
3450         (putc_unlocked): Likewise.
3451         (putchar_unlocked): Likewise.
3453 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3455         [BZ #19868]
3456         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3457         DNS packet syntax checks (which were not needed before).  Skip
3458         over non-PTR records.
3460 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3462         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3463         definition.  Include <stddef.h> instead.
3465 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3467         [BZ #19831]
3468         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3469         function.
3470         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3471         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3473 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3475         [BZ #19862]
3476         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3477         (getanswer_r): Do not call syslog.
3478         (gaih_getanswer_slice): Likewise.
3479         * resolv/gethnamaddr.c (AskedForGot): Remove.
3480         (getanswer): Do not call syslog.
3481         (gethostbyaddr): Likewise.
3483 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3485         * conform/data/signal.h-data (union sigval): Expect also if
3486         [XOPEN2K].
3487         (struct sigevent): Likewise.
3488         (SIGEV_NONE): Likewise.
3489         (SIGEV_SIGNAL): Likewise.
3490         (SIGEV_THREAD): Likewise.
3491         (SIGRTMIN): Likewise.
3492         (SIGRTMAX): Likewise.
3493         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3494         variable.
3495         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3497 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3499         [BZ #19830]
3500         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3501         (gaih_getanswer_slice): Likewise.
3502         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3503         Also check for availability of RR metadata.
3505 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3507         [BZ #19825]
3508         * resolv/res_send.c (send_vc): Remove early *resplen2
3509         initialization.  Set *resplen2 on socket error.  Call
3510         close_and_return_error for other errors.
3512 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3514         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3515         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3516         (SCM_IUCV_TRGCLS): New define.
3518 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3520         [BZ #20005]
3521         * libio/fmemopen.c (fmemopen_write): Update internal position after
3522         write.
3523         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3524         * stdio-common/tst-fmemopen4.c: New file..
3526 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3528         [BZ #19996]
3529         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3530         not [__USE_XOPEN2K].
3531         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3532         variable.
3534         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3535         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3536         variable.
3538         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3539         [__USE_XOPEN2K8].
3540         [__USE_LARGEFILE64] (off64_t): Likewise.
3541         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3542         variable.
3544 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3546         [BZ #19989]
3547         * libio/stdio.h (cuserid): Do not declare if
3548         [__USE_XOPEN2K && !__USE_GNU].
3549         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3550         variable.
3552 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3554         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3555         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3557         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3558         ifunc'ed strcspn.
3559         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3560         [EALIGN]: Removed.
3561         [END]: Likewise
3562         [STRSPN]: Define instead of the above to control symbol name.
3563         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3564         New file.
3565         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3566         Likewise.
3567         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3568         Likewise.
3569         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3570         Likewise.
3571         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3572         [INITIAL_MASK]: New macro.
3573         [STRCSPN]: Likewise.
3574         [UPDATE_MASK]: Likewise.
3575         [USE_AS_STRCSPN]: Lisewise.
3577 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3579         [BZ #19931]
3580         * stdio-common/tst-vfprintf-width-prec.c: New file.
3581         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3582         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3583         (generated): Add mtrace-related files.
3584         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3585         (tst-%-mem.out): New pattern rule, replaces
3586         tst-printf-bz18872-mem.out.
3587         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3588         specifier, deallocate any previously allocated work buffer.
3590 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3592         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3593         Add nop before __startcontext, add explaining comments.
3595 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3597         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3598         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3599         completely different API.
3601         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3602         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3603         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3604         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3605         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3606         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3607         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3608         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3609         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3610         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3612 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3614         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3616 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3618         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3619         when it is the default of 0.
3621 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3623         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3624         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3625         (sysdep_routines): Add new strcasestr targets.
3626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3627         (__libc_ifunc_impl_list): Likewise.
3628         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3629         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3630         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3631         * sysdeps/powerpc/powerpc64/power8/Makefile:
3632         New file to add strcasestr-ppc64 to sysdep_routines.
3633         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3634         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3636 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3638         * benchtests/Makefile (wcsmbs-benchset): Include only for
3639         native builds and runs.
3640         (LOCALES): Likewise.
3641         (bench-build): Build timing-type here instead of the bench
3642         target.  Generate locale only for native builds.
3643         * benchtests/README: Add note for cross-building.
3645         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3647         * benchtests/README: Update README to include instructions on
3648         using bench-build.
3650         * Makefile.in (bench-build): New target.
3651         * Rules (PHONY): Add bench-build target.
3652         * benchtests/Makefile (bench): Depend on bench-build.
3653         (bench-build): New target.
3655 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3657         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3658         profil_reply_port.
3659         (profile_waiter): Do not initialize profil_reply_port.
3660         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3661         frequency instead of tick length in us.
3663 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3665         [BZ #18712]
3666         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3667         (__old_mempcpy_small): Likewise.
3668         (__old_strcpy_small): Likewise.
3669         (__old_stpcpy_small): Likewise.
3670         (__old_strpbrk_c2): Fix compat symbol name.
3671         (__old_strpbrk_c3): Likewise.
3672         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3673         (__mempcpy_small): Remove.
3674         (__strcpy_small): Remove.
3675         (__stpcpy_small): Remove.
3677 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3679         [BZ #19400]
3680         * locale/iso-639.def: Add the Talossan/tzl language.
3682 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3684         [BZ #16983]
3685         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3686         comment.  Add "ln" to strchr check on postal_fmt.
3688 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3690         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3691         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3692         tel_dom_fmt.
3694 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3696         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3697         (sysdep_routines): Added __strlen_power8.
3698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3699         __strlen_power8 entry.
3700         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3701         Implementation for POWER8.
3702         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3703         for __strlen_power8.
3704         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3705         Implementation for POWER8.
3707 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3709         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3711 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3713         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3714         Goldmont and Airmont processors.
3716 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3718         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3719         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3720         (__STRING2_SMALL_GET32): Remove.
3721         (memset): Remove.
3722         (__memset_1): Remove.
3723         (__memset_gc): Remove.
3724         (__mempcpy): Remove.
3725         (mempcpy): Remove.
3726         (__mempcpy_args): Remove.
3727         (strchr): Remove.
3728         (strcpy): Remove.
3729         (strcpy_args): Remove.
3730         (__stpcpy_args): Remove.
3731         (__strcmp_cc): Remove.
3732         (__strcmp_gc): Remove.
3733         (strstr): Remove.
3735 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3737         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3738         * nis/nis_call.c (nis_server_cache_add): Likewise.
3740 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3742         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3744 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3746         * malloc/arena.c (__malloc_fork_lock_parent)
3747         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3748         internal_function attribute.
3750 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3752         * stdio-common/printf_fp.c (__printf_fp_l):
3753         Rename ___printf_fp_l to __printf_fp_l and
3754         remove strong alias. Use libc_hidden_def instead
3755         of ldbl_hidden_def macro.
3757 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3759         Remove malloc hooks from fork handler.  They are no longer needed
3760         because malloc runs right before fork, and no malloc calls from
3761         other fork handlers are not possible anymore.
3762         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3763         declarations.
3764         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3765         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3766         (atfork_recursive_cntr): Remove.
3767         (__malloc_fork_lock_parent): Do not override malloc hooks and
3768         thread_arena.
3769         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3770         thread_arena.
3771         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3772         thread_arena instead of save_arena.
3774 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3776         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3777         (thread_atfork, thread_atfork_static): Remove.
3778         * sysdeps/mach/hurd/malloc-machine.h:
3779         (thread_atfork, thread_atfork_static): Remove.
3781 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3783         [BZ #19431]
3784         Run the malloc fork handler as late as possible to avoid deadlocks.
3785         * malloc/malloc-internal.h: New file.
3786         * malloc/malloc.c: Include it.
3787         * malloc/arena.c (ATFORK_MEM): Remove.
3788         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3789         Update comment.
3790         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3791         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3792         Remove outdated comment.
3793         (ptmalloc_init): Do not call thread_atfork.  Remove
3794         thread_atfork_static.
3795         * malloc/tst-malloc-fork-deadlock.c: New file.
3796         * Makefile (tests): Add tst-malloc-fork-deadlock.
3797         (tst-malloc-fork-deadlock): Link against libpthread.
3798         * manual/memory.texi (Aligned Memory Blocks): Update safety
3799         annotation comments.
3800         * sysdeps/nptl/fork.c (__libc_fork): Call
3801         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3802         __malloc_fork_unlock_child.
3803         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3805 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3807         [BZ #19613]
3808         Remove union wait.
3809         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3810         (w_stopsig, w_stopval): Remove.
3811         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3812         stat_loc argument.
3813         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3814         (__WAIT_STATUS_DEFN): Remove.
3815         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3816         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3817         (wait, wait3, wait4): Use int * for the stat_loc argument.
3818         * posix/wait.c (__wait): Likewise.
3819         * posix/wait3.c (__wait3): Likewise.
3820         * posix/wait4.c (__wait4): Likewise.
3821         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3822         (__WAIT_STATUS_DEFN): Remove.
3823         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3824         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3825         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3826         argument.
3827         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3828         * sysdeps/posix/wait3.c (__wait3): Likewise.
3829         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3830         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3831         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3832         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3833         stat_loc argument.
3834         * manual/process.texi (BSD Wait Functions): Remove union wait.
3836 2016-04-13  Andreas Schwab  <schwab@suse.de>
3838         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3839         (test-extras): Add tst-tlsalign-vars.
3840         * math/Makefile: Wrap long lines.
3841         (libm-vec-test-wrappers): Define.
3842         (test-extras): Add $(libm-vec-test-wrappers).
3843         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3844         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3845         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3846         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3847         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3848         (extra-test-objs): Add corresponding objects.
3850 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3852         [BZ #19928]
3853         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3854         New.
3855         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3856         times of shared cache size.
3857         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3858         (VMOVNT): New.
3859         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3860         (VMOVNT): Likewise.
3861         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3862         (VMOVNT): Likewise.
3863         (VMOVU): Changed to movups for smaller code sizes.
3864         (VMOVA): Changed to movaps for smaller code sizes.
3865         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3866         comments.
3867         (PREFETCH): New.
3868         (PREFETCH_SIZE): Likewise.
3869         (PREFETCHED_LOAD_SIZE): Likewise.
3870         (PREFETCH_ONE_SET): Likewise.
3871         Rewrite to use forward and backward loops, which move 4 vector
3872         registers at a time, to support overlapping addresses and use
3873         non temporal store if size is above the threshold and there is
3874         no overlap between destination and source.
3876 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3878         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3879         Include dl-vdso.
3880         * sysdeps/unix/sysv/linux/mips/Versions: Add
3881         __vdso_clock_gettime.
3882         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3883         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3884         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3885         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3886         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3887         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3888         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3889         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3890         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3892 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3894         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3895         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3898         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3899         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3902         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3904         syscalls generation.
3905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3906         [__NR_pwrite64] (__NR_write): Remove define.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3908         [__NR_pwrite64] (__NR_write): Remove define.
3909         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3910         Remove define.
3911         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3912         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3913         Remove define.
3914         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3915         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3916         Linux implementation as base.
3917         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3919         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3920         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3925         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3927         syscall generation.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3929         [__NR_pread64] (__NR_pread): Remove define.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3931         [__NR_pread64] (__NR_pread): Likewise.
3932         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3933         define.
3934         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3935         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3936         Remove define.
3937         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3938         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3939         Linux implementation as base.
3940         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3941         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3942         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3944         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3945         definition.
3946         (__ALIGNMENT_COUNT): Likewise.
3947         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3948         (__ALIGNMENT_COUNT): Likewise.
3949         (SYSCALL_LL): New define.
3950         (SYSCALL_LL64): Likewise.
3951         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3952         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3953         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3954         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3957         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3959         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3960         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3961         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3963 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3965         [BZ #19865]
3966         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3967         original buffer before retry.
3969 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3971         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3972         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3973         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3974         GLRO(dl_auxv) list.
3975         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3976         including <ldsodefs.h>.
3977         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3979 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3981         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3982         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3983         $(CPPFLAGS).
3985 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3987         [BZ #17950]
3988         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3989         Add -mfpmath=387.
3991 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3993         * sysdeps/i386/configure.ac: Change == to = when calling test.
3994         * sysdeps/x86_64/configure.ac: Likewise.
3995         * sysdeps/i386/configure: Regenerated.
3996         * sysdeps/x86_64/configure: Likewise.
3998 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4000         [BZ #16137]
4001         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4002         * benchtests/bench-strcoll.c (input_files): Likewise.
4003         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4004         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4005         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4007 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4009         [BZ #19929]
4010         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4011         [__USE_XOPEN2K8 && !__USE_GNU].
4012         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4013         variable.
4015         [BZ #19925]
4016         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4017         define if [!__USE_MISC && __USE_XOPEN2K].
4018         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4019         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4020         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4021         Likewise.
4022         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4023         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4024         variable.
4025         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4027 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4029         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4030         (sysdep_routines): Add new strspn targets.
4031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4032         (__libc_ifunc_impl_list): Add strspn.
4033         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4034         New file.
4035         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4036         Likewise.
4037         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4038         Likewise.
4039         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4040         Likewise.
4042 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4044         * misc/hsearch_r.c: Include <limits.h>.
4046 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4048         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4050 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4052         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4053         (MEMCPY_SYMBOL): New.
4054         (MEMPCPY_SYMBOL): Likewise.
4055         (MEMMOVE_CHK_SYMBOL): Likewise.
4056         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4057         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4058         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4059         Provide alias for memcpy in libc.a and ld.so.
4061 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4063         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4064         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4065         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4066         Disabled fro now.
4067         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4068         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4070 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4072         * benchtests/Makefile (string-benchset): Add memcpy-large,
4073         memmove-large and memset-large.
4074         * benchtests/bench-memcpy-large.c: New file.
4075         * benchtests/bench-memmove-large.c: Likewise.
4076         * benchtests/bench-memmove-large.c: Likewise.
4077         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4079 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4081         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4082         32-bit displacement to avoid long nop between instructions.
4084 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4086         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4087         a comment on VMOVU and VMOVA.
4089 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4091         [BZ #19633]
4092         Use specified locale for number formatting in strfmon_l.
4093         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4094         (__nl_lookup_word): New inline functions.
4095         * include/printf.h (__print_fp_l): Declare.
4096         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4097         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4098         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4099         (___printf_fp): New function.
4100         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4101         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4102         * stdlib/tst-strfmon_l.c (do_test): New test.
4103         * stdlib/Makefile (tests): Add kt.
4104         (LOCALES): Build additional locales.
4105         (tst-strfmon_l.out): Require locales.
4107 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4110         if not in libc.
4111         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4112         Likewise.
4113         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4114         Likewise.
4115         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4116         Likewise.
4118 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4120         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4121         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4122         with unaligned_erms.
4123         (__memmove_erms): Skip if source == destination.
4124         (__memmove_unaligned_erms): Don't check source == destination
4125         first.
4127 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4129         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4130         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4132 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4134         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4135         * string/strspn.c (strspn): Likewise.
4137 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4139         * benchtests/bench-memset.c (do_test): Support 64-byte
4140         alignment.
4141         (test_main): Test 64-byte alignment.
4143 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4145         * benchtests/bench-memmove.c (test_main): Test 64-byte
4146         alignment.
4148 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4150         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4152 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4154         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4155         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4156         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4158         * string/strpbrk.c (strpbrk): Rewrite function.
4159         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4160         (__strpbrk_c2): Likewise.
4161         (__strpbrk_c3): Likewise.
4162         * string/string-inlines.c
4163         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4164         Likewise.
4165         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4166         Likewise.
4168         * string/strspn.c (strcspn): Rewrite function.
4169         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4170         (__strspn_c1): Remove inline function.
4171         (__strspn_c2): Likewise.
4172         (__strspn_c3): Likewise.
4173         * string/string-inlines.c
4174         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4175         compatibility symbol.
4176         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4177         Likewise.
4178         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4179         Likewise.
4180         * string/string-inlines.c: Include generic version.
4182 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4183             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4185         * string/Version (libc): Add GLIBC_2.24.
4186         * string/strcspn.c (strcspn): Rewrite function.
4187         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4188         (__strcspn_c1): Remove inline function.
4189         (__strcspn_c2): Likewise.
4190         (__strcspn_c3): Likewise.
4191         * string/string-inline.c
4192         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4193         compatibility symbol.
4194         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4195         Likewise.
4196         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4197         Likewise.
4198         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4200 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4202         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4203         Use ahi instead of aghi to adjust stack pointer.
4205 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4207         [BZ #19853]
4208         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4209         TEST to take significant digits as second parameter.
4210         [TEST]: Redefine in terms of TEST_N taking 30
4211         significant digits.
4212         (do_test): Add test case to demonstrate precision
4213         failure in the ldbl-128ibm printf.
4214         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4215         (__mpn_extract_long_double): Carry 7 extra intermediate
4216         bits of precision to aide computing difference when
4217         signs differ.
4219 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4221         [BZ #19881]
4222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4223         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4224         memset-avx512-unaligned-erms.
4225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4226         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4227         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4228         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4229         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4230         __memset_sse2_unaligned_erms, __memset_erms,
4231         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4232         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4233         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4234         file.
4235         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4236         Likewise.
4237         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4238         Likewise.
4239         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4240         Likewise.
4242 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4244         [BZ #19776]
4245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4246         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4247         memmove-avx512-unaligned-erms.
4248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4249         (__libc_ifunc_impl_list): Test
4250         __memmove_chk_avx512_unaligned_2,
4251         __memmove_chk_avx512_unaligned_erms,
4252         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4253         __memmove_chk_sse2_unaligned_2,
4254         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4255         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4256         __memmove_avx512_unaligned_erms, __memmove_erms,
4257         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4258         __memcpy_chk_avx512_unaligned_2,
4259         __memcpy_chk_avx512_unaligned_erms,
4260         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4261         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4262         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4263         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4264         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4265         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4266         __mempcpy_chk_avx512_unaligned_erms,
4267         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4268         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4269         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4270         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4271         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4272         __mempcpy_erms.
4273         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4274         file.
4275         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4276         Likwise.
4277         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4278         Likwise.
4279         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4280         Likwise.
4282 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4284         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4285         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4286         (La_s390_64_regs): Likewise.
4287         (La_s390_32_retval): Append vector register lrv_v24.
4288         (La_s390_64_retval): Likeweise.
4289         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4290         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4291         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4292         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4294 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4296         [BZ #19916]
4297         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4298         to create a non-vector/vector version for _dl_runtime_resolve and
4299         _dl_runtime_profile. Move implementation to ...
4300         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4301         (_dl_runtime_resolve) Save and restore fpr/vrs.
4302         (_dl_runtime_profile) Save and restore vrs and fix some issues
4303         if _dl_call_pltexit is called.
4304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4305         Choose the correct resolver function if running on a machine with vx.
4306         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4307         to create a non-vector/vector version for _dl_runtime_resolve and
4308         _dl_runtime_profile. Move implementation to ...
4309         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4310         (_dl_runtime_resolve) Save and restore fpr/vrs.
4311         (_dl_runtime_profile) Save and restore vrs and fix some issues
4312         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4313         Choose the correct resolver function if running on a machine with vx.
4315 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4317         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4319 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4321         [BZ #19509]
4322         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4323         skip_map != NULL.
4324         * elf/tst-dlsym-error.c: New file.
4325         * elf/Makefile (tests): Add tst-dlsym-error.
4326         (tst-dlsym-error): Link against libdl.
4328 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4331         (__ASSUME_FUTIMESAT): Remove macro.
4332         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4334 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4336         [BZ #19879]
4337         CVE-2016-3075
4338         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4339         copy name.
4341 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4343         [BZ #19837]
4344         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4345         error if parse_line fails.
4347 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4349         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4350         (index_cpu_ERMS): Likewise.
4351         (reg_ERMS): Likewise.
4353 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4355         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4356         PER_LINUX_FDPIC): Add.
4358 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4361         memcpy-avx512-no-vzeroupper.
4362         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4363         to ...
4364         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4365         (MEMCPY): Don't define.
4366         (MEMCPY_CHK): Likewise.
4367         (MEMPCPY): Likewise.
4368         (MEMPCPY_CHK): Likewise.
4369         (MEMPCPY_CHK): Renamed to ...
4370         (__mempcpy_chk_avx512_no_vzeroupper): This.
4371         (MEMPCPY_CHK): Renamed to ...
4372         (__mempcpy_chk_avx512_no_vzeroupper): This.
4373         (MEMCPY_CHK): Renamed to ...
4374         (__memmove_chk_avx512_no_vzeroupper): This.
4375         (MEMCPY): Renamed to ...
4376         (__memmove_avx512_no_vzeroupper): This.
4377         (__memcpy_avx512_no_vzeroupper): New alias.
4378         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4380 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4382         [BZ #18858]
4383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4384         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4385         and mempcpy-avx512-no-vzeroupper.
4386         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4387         New.
4388         (MEMPCPY): Likewise.
4389         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4390         (MEMPCPY_CHK): New.
4391         (MEMPCPY): Likewise.
4392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4393         (MEMPCPY): Likewise.
4394         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4395         (MEMPCPY): Likewise.
4396         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4397         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4398         Likewise.
4399         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4400         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4402 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4403              Amit Pawar  <Amit.Pawar@amd.com>
4405         [BZ #19583]
4406         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4407         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4408         processors.  Set Fast_Copy_Backward for AMD Excavator
4409         processors.
4410         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4411         New.
4412         (index_arch_Fast_Unaligned_Copy): Likewise.
4413         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4414         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4416 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4418         [BZ #19791]
4419         * resolv/res_send.c (close_and_return_error): New function.
4420         (send_dg): Initialize *resplen2 after reopen failure.  Call
4421         close_and_return_error for error returns.  On error paths without
4422         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4423         successful return.
4425 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4427         [BZ# 19860]
4428         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4429         zero if the compiler does not provide the AVX512F bit.
4431 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4433         [BZ #19848]
4434         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4435         from 8 to 4.
4436         (__ieee754_powl): Compare integer exponent against 4 not 8.
4437         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4438         from 8 to 4.
4439         (__ieee754_powl): Compare integer exponent against 4 not 8.
4440         * math/auto-libm-test-in: Add more tests of pow.
4441         * math/auto-libm-test-out: Regenerated.
4442         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4445 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4447         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4448         Make code unconditional.
4449         [!__NR_utimensat]: Remove conditional code.
4450         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4451         Make code unconditional.
4452         [!__NR_utimensat]: Remove conditional code.
4453         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4454         Make code unconditional.
4455         [!__NR_utimensat]: Remove conditional code.
4457 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4459         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4460         Make code unconditional.
4462 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4464         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4465         call-clobbered %eax on retry path.
4466         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4468 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4470         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4471         Don't set %rcx twice before "rep movsb".
4473 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4475         [BZ #19583]
4476         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4477         inline.  Check family before setting family, model and
4478         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4479         bits here.
4480         (init_cpu_features): Replace HAS_CPU_FEATURE and
4481         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4482         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4483         for Intel processors with usable AVX2.  Call get_common_indeces
4484         for other processors with family == NULL.
4485         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4486         (CPU_FEATURES_ARCH_P): Likewise.
4487         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4488         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4490 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4492         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4493         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4494         $(shared-thread-library) instead of hardcoding the path to libpthread.
4496 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4498         * sysdeps/unix/sysv/linux/kernel-features.h
4499         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4500         * sysdeps/unix/sysv/linux/getdents.c
4501         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4502         [!have_no_getdents64_defined]: Likewise.
4503         (__GETDENTS): Remove __have_no_getdents64 conditional.
4505 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4507         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4508         Remove macro.
4509         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4510         <kernel-features.h>.
4511         (signalfd) [__NR_signalfd4]: Make code unconditional.
4512         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4514 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4516         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4517         style.
4519 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4521         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4522         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4523         __pthread_unwind.
4524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4525         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4527         (__condvar_cleanup1): Likewise.
4529 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4531         [BZ #19822]
4532         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4533         move it to the final $@ location.
4535 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4537         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4538         access where posix_spawn success and pid argument is null.
4539         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4540         success case.
4542 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4544         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4546         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4548         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4549         and __fcntl.
4550         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4551         __fcntl only.
4552         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4553         adding attribute_hidden to __open and __fcntl.
4555         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4556         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4557         depend on libc-modules.h,
4558         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4560 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4562         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4563         Remove macro.
4564         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4565         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4566         entry.
4568         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4569         Remove macro.
4570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4571         include <kernel-features.h>.
4572         [!__ASSUME_FALLOCATE]: Remove conditional code.
4573         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4575 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4578         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4580         (_ZGVdN4v_cos_avx2): Likewise.
4581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4582         (_ZGVdN4v_cos): Likewise.
4583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4584         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4585         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4586         (_ZGVdN4v_exp_avx2): Likewise.
4587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4588         (_ZGVdN4v_exp): Likewise.
4589         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4590         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4591         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4592         (_ZGVdN4v_log_avx2): Likewise.
4593         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4594         (_ZGVdN4v_log): Likewise.
4595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4596         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4598         (_ZGVdN4vv_pow_avx2): Likewise.
4599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4600         (_ZGVdN4vv_pow): Likewise.
4601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4602         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4604         (_ZGVdN4v_sin_avx2): Likewise.
4605         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4606         (_ZGVdN4v_sin): Likewise.
4607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4608         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4610         (_ZGVdN4vvv_sincos_avx2): Likewise.
4611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4612         (_ZGVdN4vvv_sincos): Likewise.
4613         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4614         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4616         (_ZGVbN4v_cosf_sse4): Likewise.
4617         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4618         (_ZGVdN8v_cosf_avx2): Likewise.
4619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4620         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4622         (_ZGVbN4v_expf_sse4): Likewise.
4623         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4624         (_ZGVdN8v_expf_avx2): Likewise.
4625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4626         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4628         (_ZGVbN4v_logf_sse4): Likewise.
4629         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4630         (_ZGVdN8v_logf_avx2): Likewise.
4631         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4632         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4633         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4634         (_ZGVbN4vv_powf_sse4): Likewise.
4635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4636         (_ZGVdN8vv_powf_avx2): Likewise.
4637         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4638         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4639         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4640         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4641         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4642         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4644         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4646         (_ZGVbN4v_sinf_sse4): Likewise.
4647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4648         (_ZGVdN8v_sinf_avx2): Likewise.
4649         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4650         Use JUMPTARGET to call callee.
4651         (WRAPPER_IMPL_SSE2_ff): Likewise.
4652         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4653         (WRAPPER_IMPL_AVX): Likewise.
4654         (WRAPPER_IMPL_AVX_ff): Likewise.
4655         (WRAPPER_IMPL_AVX_fFF): Likewise.
4656         (WRAPPER_IMPL_AVX512): Likewise.
4657         (WRAPPER_IMPL_AVX512_ff): Likewise.
4658         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4659         Likewise.
4660         (WRAPPER_IMPL_SSE2_ff): Likewise.
4661         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4662         (WRAPPER_IMPL_AVX): Likewise.
4663         (WRAPPER_IMPL_AVX_ff): Likewise.
4664         (WRAPPER_IMPL_AVX_fFF): Likewise.
4665         (WRAPPER_IMPL_AVX512): Likewise.
4666         (WRAPPER_IMPL_AVX512_ff): Likewise.
4667         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4669 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4671         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4672         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4673         qualifier.
4674         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4675         internal_function qualifiers.
4677 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4679         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4680         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4681         * math/atest-exp.c (exp_mpn): Mark chk unused.
4682         * math/atest-exp2.c (exp_mpn): Likwise.
4683         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4684         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4686 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4688         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4689         Remove macro.
4690         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4691         <kernel-features.h>.
4692         [__NR_ppoll]: Make code unconditional.
4693         [!__ASSUME_PPOLL]: Remove conditional code.
4695         * sysdeps/unix/sysv/linux/kernel-features.h
4696         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4697         (__ASSUME_ACCEPT4): Likewise.
4698         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4699         Define.
4700         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4701         Likewise.
4702         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4703         Likewise.
4704         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4705         Likewise.
4706         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4707         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4708         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4709         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4710         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4713         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4714         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4715         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4716         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4717         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4720         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4722         Likewise.
4723         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4724         Likewise.
4725         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4726         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4727         0x040300].
4728         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4729         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4731         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4732         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4733         0x030300].
4734         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4736         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4737         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4738         0x040300].
4739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4741         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4742         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4743         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4744         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4745         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4746         0x030300].
4747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4751         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4752         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4753         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4755         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4756         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4757         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4758         0x040300].
4759         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4760         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4761         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4762         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4763         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4764         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4765         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4766         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4767         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4770         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4771         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4773         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4774         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4775         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4776         Likewise.
4777         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4778         Likewise.
4780 2016-03-15  Andreas Schwab  <schwab@suse.de>
4782         [BZ #19257]
4783         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4784         statp->_u._ext.nscount as loop count.
4786 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4788         * math/test-signgam-finite-c99.c: Also #undef
4789         __LIBC_INTERNAL_MATH_INLINES.
4790         * math/test-signgam-main.c: Likewise.
4792 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4794         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4795         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4796         (MADV_FREE): Likewise.
4797         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4798         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4799         EPOLLEXCLUSIVE.
4801 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4803         * timezone/README: Remove mention of checktab.awk. Mention wiki
4804         SharedSourceFiles.
4806 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4808         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4809         WUNTRACED.
4811 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4813         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4814         order to match the type of p when calling atomic_exchange_acq().
4816 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4818         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4819         cfi_offset calls.
4820         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4821         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4822         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4823         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4824         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4826 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4828         * timezone/checktab.awk: Removed.
4830 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4832         * manual/math.texi (Errors in Math Functions): Document relaxed
4833         accuracy goals for IBM long double.
4834         * math/libm-test.inc (test_exceptions): Always allow spurious
4835         "underflow" and "inexact" exceptions for IBM long double.
4837 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4839         [BZ #19762]
4840         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4841         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4842         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4843         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4844         (bit_arch_*): This for feature array.
4845         (bit_*): Renamed to ...
4846         (bit_cpu_*): This for cpu array.
4847         (index_*): Renamed to ...
4848         (index_arch_*): This for feature array.
4849         (index_*): Renamed to ...
4850         (index_cpu_*): This for cpu array.
4851         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4852         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4853         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4854         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4855         bit_##name with index_cpu_##name and bit_cpu_##name.
4856         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4857         bit_##name with index_arch_##name and bit_arch_##name.
4859 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4861         [BZ #19792]
4862         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4863         Terminate FDE before return label.
4865 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4867         [BZ #19790]
4868         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4869         (rintl): Define as macro.
4870         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4871         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4872         of fesetround.  Ensure results are evaluated before end of scope.
4873         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4874         USE_AS_NEARBYINTL and include s_rintl.c.
4875         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4876         Disable exception traps in new environment.
4877         (libc_feholdsetround_ppc_ctx): Likewise.
4879 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4881         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4882         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4883         (tst_audit10_aux) [__AVX512F__]: ... here.
4885 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4887         * include/sys/auxv.h: New file.
4889 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4891         [BZ #19759]
4892         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4894 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4896         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4897         operand modifier.
4898         (feclearexcept): Likewise.
4900 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4902         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4903         to reflect the entire 32-bit HWCAP.
4904         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4905         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4907 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4909         [BZ #19783]
4910         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4911         $(test-via-rtld-prefix).
4912         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4914 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4916         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4917         union wait.  Report any non-zero exit status as error.
4919 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4921         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4922         configured with --enable-hardcoded-path-in-tests.
4924 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4926         [BZ #19677]
4927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4928         (__ieee754_remainderl): Put zero low parts in canonical form.
4929         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4930         file.  Based on
4931         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4932         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4933         with wrapper round test-fmodrem-ldbl-128ibm.c.
4934         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4935         file.
4936         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4937         Likewise.
4938         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4939         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4941 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4943         [BZ #19610]
4944         * elf/ldconfig.c (opt_link): Update comment.
4945         (options): Update help string for option -X.
4946         (search_dir): Unlink stale symbolic link only if updating symbolic
4947         links.
4948         * elf/tst-ldconfig-X.sh: New file.
4949         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4950         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4952 2016-03-07  Andreas Schwab  <schwab@suse.de>
4954         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4955         needed arguments.
4957 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4959         [BZ #15333]
4960         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4961         to lstat64.
4963 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4965         * libio/filedoalloc.c (isatty): Remove.
4966         (local_isatty): Add comment.  Call __isatty directly.
4967         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4968         * libio/wfiledoalloc.c (isatty): Remove.
4969         (_IO_wfile_doallocate): Update comment.
4971 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4973         [BZ #19269]
4974         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4975         tst-audit4-aux.o.
4976         (tst-audit10): Depend on tst-audit10-aux.o.
4977         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4978         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4979         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4980         instead of inline AVX code.
4981         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4982         instead of inline AVX512 code.
4983         * sysdeps/x86_64/tst-audit4-aux.c: New file
4984         * sysdeps/x86_64/tst-audit10-aux.c: New file
4986         [BZ #19648]
4987         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4989 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4991         [BZ #14750]
4992         [BZ #10354]
4993         [BZ #18433]
4994         * include/sched.h (__clone): Add hidden prototype.
4995         (__clone2): Likewise.
4996         * include/unistd.h (__dup): Likewise.
4997         * posix/Makefile (tests): Add tst-spawn2.
4998         * posix/tst-spawn2.c: New file.
4999         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5000         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5001         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5002         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5003         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5004         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5005         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5006         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5007         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5008         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5009         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5011         Likewise.
5012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5013         Likewise.
5014         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5015         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5016         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5017         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5019         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5020         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5021         * sysdeps/unix/sysv/linux/nptl-signals.h
5022         (____nptl_is_internal_signal): New function.
5023         * sysdeps/unix/sysv/linux/spawni.c: New file.
5025         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5026         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5027         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5028         * posix/tst-execvp2.c (do_test): Likewise.
5029         * posix/tst-execvp3.c (do_test): Likewise.
5030         * posix/tst-execvp4.c (do_test): Likewise.
5031         * posix/tst-execvpe1.c: New file.
5032         * posix/tst-execvpe2.c: Likewise.
5033         * posix/tst-execvpe3.c: Likewise.
5034         * posix/tst-execvpe4.c: Likewise.
5035         * posix/tst-execvpe5.c: Likewise.
5036         * posix/tst-execvpe6.c: Likewise.
5038         [BZ #19534]
5039         * posix/execl.c (execl): Remove dynamic memory allocation.
5040         * posix/execle.c (execle): Likewise.
5041         * posix/execlp.c (execlp): Likewise.
5043 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5045         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5046         Replace .text with .text.avx512.
5047         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5048         Likewise.
5050 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5052         * sysdeps/generic/libnsl.abilist: New file.
5053         * sysdeps/generic/libutil.abilist: New file.
5055 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5057         [BZ #19762]
5058         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5059         HAS_ARCH_FEATURE with Fast_Rep_String.
5060         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5061         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5062         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5063         Likewise.
5064         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5065         Likewise.
5066         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5067         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5068         Likewise.
5069         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5070         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5071         Likewise.
5073 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5075         [BZ #19745]
5076         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5077         with *%rax in call.
5079 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5081         [BZ #19745]
5082         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5083         with *__libc_start_main@GOTPCREL(%rip) in call.
5085 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5087         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5088         inside conditional for nonempty $(CXX).
5090         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5091         nonempty.
5093         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5094         to test for empty $(CXX) rather than $(CXX) of "no".
5096 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5098         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5100 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5101             H.J. Lu  <hongjiu.lu@intel.com>
5103         [BZ #18880]
5104         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5105         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5106         enable __memcpy_ssse3_back.
5108 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5110         [BZ #19758]
5111         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5112         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5114 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5116         [BZ #19490]
5117         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5118         (__fentry__): Likewise.
5120 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5122         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5123         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5125 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5127         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5128         __mcount_internal directly.
5129         (C_LABEL(__fentry__)): Likewise.
5130         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5131         directly.
5133 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5135         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5136         (__start_context): Call __setcontext directly.
5138 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5140         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5141         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5142         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5143         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5144         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5145         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5146         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5147         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5148         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5149         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5150         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5151         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5152         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5153         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5154         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5155         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5156         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5158         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5159         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5160         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5161         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5162         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5163         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5164         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5165         Remove conditional code.
5166         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5167         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5168         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5169         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5170         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5171         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5172         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5173         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5174         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5175         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5176         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5177         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5179 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5181         * NEWS (2.23): Fix typo in bug 19048 text.
5183 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5185         [BZ #14259]
5186         * Makeconfig: Rename msgcatdir to localedir.
5187         Rename inst_msgcatdir to inst_localedir.
5188         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5189         * config.make.in: Add localedir.
5190         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5191         (ldd-rewrite): Likewise.
5192         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5193         (install-others): Use inst_localedir.
5194         (CPPFLAGS): Use localedir.
5195         * locale/Makefile (locale-CPPFLAGS): Likewise.
5196         * po/Makefile (mo-installed): Use inst_localedir.
5198         [BZ #19575]
5199         * localedata/charmaps/GB18030: Update comments regarding PAU to
5200         non-PUA mappings.
5202 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5204         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5205         test for header.
5206         * sysdeps/unix/sysv/linux/configure: Regenerated.
5207         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5208         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5209         Remove conditional code.
5210         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5212         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5213         Define to 3.2.0.
5214         (arch_minimum_kernel): Likewise.
5215         * sysdeps/unix/sysv/linux/configure: Regenerated.
5216         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5217         Define to 2.6.32.
5218         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5219         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5220         (arch_minimum_kernel): Define to 2.6.32.
5221         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5222         * README: Document Linux 3.2 requirement.
5223         * manual/install.texi (Linux): Document Linux 3.2 headers
5224         requirement.
5225         * INSTALL: Regenerated.
5227 2016-02-24  Andreas Schwab  <schwab@suse.de>
5229         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5230         if !NO_LONG_DOUBLE.
5232 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5234         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5235         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5237 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5239         [BZ #19512]
5240         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5242 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5244         * posix/tst-dir.c: Include libc-internal.h.
5246 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5248         [BZ #19056]
5249         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5250         * manual/filesys.texi (Reading/Closing Directory): Mention
5251         deprecaion.
5252         * posix/tst-dir.c (main): Disable deprecation warning in test.
5254 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5256         [BZ #19679]
5257         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5258         Renamed to ...
5259         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5260         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5261         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5262         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5263         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5264         * sysdeps/x86_64/dl-trampoline.h
5265         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5266         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5268 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5270         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5272 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5274         * elf/elf.h (R_386_GOT32X): New.
5275         (R_386_NUM): Update.
5276         (R_X86_64_GOTPCRELX: New.
5277         (R_X86_64_REX_GOTPCRELX): New.
5278         (R_X86_64_NUM): Update.
5280 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5282         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5284 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5286         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5287         assign attr->stackaddr to it, and adjust it down when
5288         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5289         [_STACK_GROWS_UP]: Delete assert.
5290         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5291         Implement stack grows up logic.
5292         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5293         stack grows up logic.
5295 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5297         * NEWS: Update with 2.24 template.
5299 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #19678]
5302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5303         Ensure +0.0 is returned when taking the next value below the least
5304         positive value.
5306 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5308         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5309         available.  Do not define NO_THREADS.
5310         * malloc/malloc.c: Do not check NO_THREADS.
5311         * malloc/arena.c: Likewise.
5313 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5315         * malloc/malloc.c (__libc_mallinfo): Update comment.
5316         (struct malloc_par): Remove max_total_mem member, it was always 0.
5317         (int_mallinfo): Store 0 into usmblks (no functional change).
5318         * malloc/hooks.c (struct malloc_state): Document that
5319         max_total_mem is always 0.
5320         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5321         always 0.
5322         * manual/memory.texi (Statistics of Malloc): Likewise.
5324 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5326         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5327         * malloc/arena.c (arena_max): Remove.
5328         (heap_trim, _int_new_arena): Do not update arena_max.
5330 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5332         * resolv/res_init.c (res_ninit): Update comment.
5334 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5336         [BZ #19505]
5337         * posix/spawn_int.h: Add headers and include guard.
5338         (__spawn_valid_fd): New function.
5339         * posix/spawn_faction_addopen.c
5340         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5341         * posix/spawn_faction_addclose.c
5342         (posix_spawn_file_actions_addclose): Likewise.
5343         * posix/spawn_faction_adddup2.c
5344         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5345         second file descriptor.
5346         * posix/spawn_valid_fd.c: New file.
5347         * posix/tst-posix_spawn-fd.c: New file.
5348         * posix/Makefile (routines): Add spawn_valid_fd.
5349         (tests): Add tst-posix_spawn-fd.
5351 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5353         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5354         (do_test): Limit the number of arenas, so that we can use fewer
5355         outer threads.  Limit timeout to 3 seconds, in preparation for a
5356         larger TIMEOUT value.
5358 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5360         [BZ #19674]
5361         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5362         sign in overflowing and underflowing results when overflow or
5363         underflow is detected early.  Include sign in result before rather
5364         than after scaling.
5366         [BZ #19603]
5367         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5368         (__ieee754_remainderl): Adjust sign of integer version of low part
5369         when taking absolute value of high part.
5370         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5371         * math/libm-test.inc (remainder_test_data): Add another test.
5372         (remquo_test_data): Likewise.
5374 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #19602]
5377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5378         equal high parts and both low parts zero specially.
5379         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5380         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5381         Add test-fmodl-ldbl-128ibm.
5383         [BZ #19595]
5384         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5385         common logic for all cases of shifting subnormal results.  Do not
5386         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5387         exponent to ldbl_insert_mantissa in subnormal case.
5389         [BZ #19594]
5390         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5391         on high and low parts then adjust result and use
5392         ldbl_canonicalize_int if needed.
5394         [BZ #19593]
5395         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5396         on high part and __floor or __ceil on low part then use
5397         ldbl_canonicalize_int if needed.
5399         [BZ #19592]
5400         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5401         high and low parts then use ldbl_canonicalize_int if needed.
5403         [BZ #17899]
5404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5405         New function.
5406         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5407         on high and low parts then use ldbl_canonicalize_int if needed.
5409 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5411         * configure: Regenerated.
5413         * po/libc.pot: Regenerated.
5415         * po/be.po: Updated translation.
5416         * po/bg.po: Likewise.
5417         * po/ca.po: Likewise.
5418         * po/cs.po: Likewise.
5419         * po/da.po: Likewise.
5420         * po/el.po: Likewise.
5421         * po/eo.po: Likewise.
5422         * po/es.po: Likewise.
5423         * po/fi.po: Likewise.
5424         * po/fr.po: Likewise.
5425         * po/gl.po: Likewise.
5426         * po/hr.po: Likewise.
5427         * po/hu.po: Likewise.
5428         * po/ia.po: Likewise.
5429         * po/id.po: Likewise.
5430         * po/it.po: Likewise.
5431         * po/ja.po: Likewise.
5432         * po/lt.po: Likewise.
5433         * po/nb.po: Likewise.
5434         * po/nl.po: Likewise.
5435         * po/pt_BR.po: Likewise.
5436         * po/rw.po: Likewise.
5437         * po/sk.po: Likewise.
5438         * po/sl.po: Likewise.
5439         * po/sv.po: Likewise.
5440         * po/tr.po: Likewise.
5441         * po/zh_CN.po: Likewise.
5442         * po/zh_TW.po: Likewise.
5444         * version.h (RELEAES): Set to "development".
5445         (VERSION): Set to 2.23.90.
5447         * version.h (RELEASE): Set to "stable".
5448         (VERSION): Set to 2.23.
5449         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5451         * NEWS: Updated fixed bugs.
5453 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5454             Wilco Dijkstra  <wdijkstr@arm.com>
5456         [BZ #19462]
5457         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5458         (_STRING_INLINE_unaligned): This.
5459         * include/string.h: Include <string_private.h>.
5460         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5461         _STRING_INLINE_unaligned.
5462         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5463         (_STRING_INLINE_unaligned): New.
5464         * sysdeps/aarch64/string_private.h: New file.
5465         * sysdeps/generic/string_private.h: Likewise.
5466         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5467         * sysdeps/s390/string_private.h: Likewise.
5468         * sysdeps/x86/string_private.h: Likewise.
5469         * sysdeps/m68k/m680x0/m68020/bits/string.h
5470         (_STRING_ARCH_unaligned): Renamed to ...
5471         (_STRING_INLINE_unaligned): This.
5472         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5473         to ...
5474         (_STRING_INLINE_unaligned): This.
5475         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5476         to ...
5477         (_STRING_INLINE_unaligned): This.
5478         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5479         to ...
5480         (_STRING_INLINE_unaligned): This.
5482 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5483             H.J. Lu  <hongjiu.lu@intel.com>
5485         [BZ #19590]
5486         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5487         relocation.
5489 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5491         [BZ #18665]
5492         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5493         *herrno_p.
5494         (gaih_getanswer): Document functional behviour. Return tryagain
5495         if any result is tryagain.
5496         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5497         when freed.
5498         * resolv/res_send.c: Add copyright text.
5499         (__libc_res_nsend): Document that MAXPACKET is expected.
5500         (send_vc): Document. Remove buffer reuse.
5501         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5502         size of the buffer. Add Dprint for truncated UDP buffer.
5504 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5506         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5507         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5508         * INSTALL: Regenerate.
5510 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5511             Jonathan Wakely  <jwakely@redhat.com>
5512             Carlos O'Donell  <carlos@redhat.com>
5514         [BZ 19439]
5515         * math/Makefile (tests): Add test-math-isinff.
5516         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5517         * math/bits/mathcalls.h [__USE_MISC]: Use
5518         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5519         functions not in C++11 and which don't conflict e.g. isinff,
5520         isinfl etc.
5521         * math/test-math-isinff.cc: New file.
5523 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5525         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5527 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5529         [BZ #19529]
5530         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5532 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5534         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5536 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5538         [BZ #19550]
5539         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5540         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5541         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5542         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5543         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5544         New syscall entry.
5545         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5546         New syscall entry.
5547         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5548         syscall entry.
5550 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5552         [BZ #18240]
5553         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5554         unsigned int wraparound.
5556 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5558         [BZ #18240]
5559         * misc/bug18240.c: New test.
5560         * misc/Makefile (tests): Add it.
5562 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5563             Joseph Myers  <joseph@codesourcery.com>
5565         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5566         load in branch delay slot when less than a word of input left.
5568 2016-01-27  Andreas Schwab  <schwab@suse.de>
5570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5572         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5573         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5575 2016-01-26  David S. Miller  <davem@davemloft.net>
5577         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5579 2016-01-25  David S. Miller  <davem@davemloft.net>
5581         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5582         __sqrtl_finite.
5583         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5584         instead using versioned_symbol.
5585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5586         of entries.
5588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5589         __sqrtl_finite to GLIBC_2.23
5591 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5593         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5595 2016-01-25  Andreas Schwab  <schwab@suse.de>
5597         [BZ #17514]
5598         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5599         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5600         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5601         * nptl/tst-mutex-errorcheck.c: New file.
5603 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5605         [BZ #18560]
5606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5607         (IPCOP_semop): Likewise.
5608         (IPCOP_semget): Likewise.
5609         (IPCOP_semctl): Likewise.
5610         (IPCOP_msgsnd): Likewise.
5611         (IPCOP_msgrcv): Likewise.
5612         (IPCOP_msgget): Likewise.
5613         (IPCOP_msgctl): Likewise.
5614         (IPCOP_shmat): Likewise.
5615         (IPCOP_shmdt): Likewise.
5616         (IPCOP_shmget): Likewise.
5617         (IPCOP_shmctl): Likewise.
5619 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5621         * string/tst-endian.c: Include <libc-internal.h>.
5622         (do_test): Ignore tautological-compare warnings around
5623         "htobeXX (beXXtoh (i)) != i" and
5624         "htoleXX (leXXtoh (i)) != i" if-statements.
5626 2016-01-24  David S. Miller  <davem@davemloft.net>
5628         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5629         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5630         alias.
5631         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5632         __sqrtl_finite.
5634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5636 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5638         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5639         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5640         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5642 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5644         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5645         (thread_func): Use new function to simplify barrier check.
5646         (do_test): Use new function to simplify checking barrier exit
5647         code, and actually join the child thread.
5649 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5651         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5652         semicolon.
5653         (__libc_tend): Likewise.
5654         (__libc_tabort): Likewise.
5656 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5658         * sysdeps/nios2/libm-test-ulps: Update.
5659         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5660         (__gtsf2): Likewise.
5661         (__unorddf2): Likewise.
5662         (__unordsf2): Likewise.
5663         (__ledf2): Likewise.
5665 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5667         * nis/nis_table.c (__follow_path): Disable diagnostic for
5668         uninitialized variable that is a false positive for gcc 4.7.
5669         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5671 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5673         * sysdeps/nacl/lowlevellock-futex.h
5674         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5675         Always evaluate PRIVATE argument.
5677 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5679         [BZ #19490]
5680         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5681         (pthread_cond_broadcast): Use ENTRY/END
5682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5683         (pthread_cond_signal): Likewise.
5684         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5685         Likewise.
5686         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5687         Likewise.
5688         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5689         Likewise.
5691 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5693         * sysdeps/ieee754/dbl-64/s_finite.c
5694         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5695         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5696         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5698         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5701         (__gtsf2): Add as optional for libc.so.
5702         (__unordsf2): Likewise.
5703         (__signbit): Remove for libc.so.
5704         (__signbitl): Likewise.
5706 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5708         * iconvdata/bug-iconv11.c (test_ibm93x):
5709         Use %zu printf format specifier for size_t argument.
5711 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5713         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5714         already-recorded ulps.
5715         * sysdeps/arm/libm-test-ulps: Regenerated.
5716         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5717         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5718         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5720 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5721             Paul Pluzhnikov  <ppluzhnikov@google.com>
5723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5724         assembler not supporting AVX-512.
5726 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5728         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5730 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5732         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5735         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5737         * sysdeps/arm/libm-test-ulps: Regenerated.
5739 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5741         [BZ #19451]
5742         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5744 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5746         [BZ #19486]
5747         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5748         * sysdeps/generic/fix-fp-int-convert-overflow.h
5749         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5750         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5751         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5752         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5753         Likewise.
5754         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5755         Avoid conversions to long int where inexact exceptions
5756         could be raised.
5757         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5758         Likewise.
5759         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5760         Avoid conversions to long long int where inexact exceptions
5761         could be raised.
5762         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5763         Likewise.
5765 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5767         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5768         * configure: Regenerated.
5770 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5774 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5776         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5777         outside of comment.
5779 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5781         * nptl/tst-barrier1.c: Add description on first line.
5782         * nptl/tst-barrier2.c: Likewise.
5783         * nptl/tst-barrier3.c: Likewise.
5784         * nptl/tst-barrier4.c: Likewise.
5785         * nptl/tst-barrier5.c: Likewise.
5787 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5789         [BZ #18868]
5790         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5792 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5796         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5797         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5798         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5799         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5801         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5802         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5803         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5804         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5806 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5808         [BZ #13065]
5809         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5810         new implementation.
5811         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5812         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5813         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5814         (BARRIER_IN_THRESHOLD): New macro.
5815         * nptl/pthread_barrierattr_setpshared.c
5816         (pthread_barrierattr_setpshared): Clean up.
5817         * nptl/tst-barrier4.c: Correct comment.
5818         * nptl/tst-barrier5.c: New file.
5819         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5820         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5821         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5822         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5823         * nptl/lowlevelbarrier.sym: Remove.
5824         * nptl/DESIGN-barrier.txt: Remove.
5825         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5826         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5827         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5828         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5829         error.
5830         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5831         implementation.
5833 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5835         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5836         (do_child): Mask SIGRTMIN while thr is running.
5838 2016-01-15  Martin Sebor  <msebor@redhat.com>
5840         [BZ #19432]
5841         * iconvdata/Makefile: Add bug-iconv11.
5842         * iconvdata/bug-iconv11.c: New test.
5843         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5844         * iconvdata/ibm933.c: Same.
5845         * iconvdata/ibm935.c: Same.
5846         * iconvdata/ibm937.c: Same.
5847         * iconvdata/ibm939.c: Same.
5849 2016-01-15  Martin Sebor  <msebor@redhat.com>
5851         [BZ #19443]
5852         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5853         [DEBUG] (_ufc_set_bits): Declare used.
5854         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5855         [DEBUG] (print_all): Declare used.
5856         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5857         operands of the ternary ?: expression to target type.
5858         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5859         calling the undeclared abort.
5860         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5862 2016-01-15  Martin Sebor  <msebor@redhat.com>
5864         [BZ #18755]
5865         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5866         warnings.
5867         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5868         (__gai_create_helper_thread): Same.
5869         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5870         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5871         to suppress -Wmaybe-uninitialized warnings.
5873 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5875         [BZ #19465]
5876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5877         inside if.
5878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5879         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5882 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5884         [BZ #19466]
5885         * time/tst-mktime2.c (time_t_max): Removed.
5886         (time_t_min): Likewise.
5887         (TYPE_SIGNED): New.
5888         (TYPE_MINIMUM): Likewise.
5889         (TYPE_MAXIMUM): Likewise.
5890         (TIME_T_MIN): Likewise.
5891         (TIME_T_MAX): Likewise.
5892         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5893         and TIME_T_MIN.
5894         (do_test): Likewise.
5896 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5898         [BZ #19467]
5899         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5900         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5902 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5904         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5906 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5908         * benchtests/Makefile (PYTHON): Define.
5909         (bench-func): Use $(PYTHON) to run python scripts.
5910         ($(objpfx)bench-%.c): Likewise.
5912 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5914         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5915         leading slash when `file_name' is "/".
5917 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5919         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5920         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5921         Likewise.
5922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5923         Likewise.
5924         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5925         Likewise.
5926         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5927         enum constant and macro.
5928         (PTRACE_SETSIGMASK): Likewise.
5929         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5930         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5931         (PTRACE_GETSIGMASK): Likewise.
5932         (PTRACE_SETSIGMASK): Likewise.
5933         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5934         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5935         Likewise.
5936         (PTRACE_SETSIGMASK): Likewise.
5937         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5938         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5939         (PTRACE_GETSIGMASK): Likewise.
5940         (PTRACE_SETSIGMASK): Likewise.
5941         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5943         Likewise.
5944         (PTRACE_SETSIGMASK): Likewise.
5945         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5946         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5947         Likewise.
5948         (PTRACE_SETSIGMASK): Likewise.
5949         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5950         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5951         Likewise.
5952         (PTRACE_SETSIGMASK): Likewise.
5953         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5955 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5956             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5958         [BZ #19439]
5959         * math/bits/mathcalls.h
5960         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5961         prototype.
5962         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5964 2016-01-11  Andreas Schwab  <schwab@suse.de>
5966         [BZ #19253]
5967         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5968         cache when TZDEFRULES was used.
5969         * time/tst-tzname.c: New file.
5970         * time/Makefile (test): Add tst-tzname.
5971         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5972         * timezone/Makefile (test-zones): Add $(posixrules-file).
5973         ($(testdata)/$(posixrules-file)): New rule.
5975 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5977         Fix doc quoting problems with Texinfo 5
5978         Without this change, in the info file output, Texinfo 5 quotes code
5979         in text with undirected single quotes 'like this' and generates
5980         code examples that with many PDF readers cannot be cut out of PDFs
5981         and pasted into code.
5982         * manual/libc.texinfo: Configure the libc manual like the GNU
5983         Emacs manual, by using @documentencoding and setting
5984         txicodequoteundirected and txicodequotebacktick.  This way,
5985         Texinfo 5 quotes code in text with directed single quotes ‘like
5986         this’ and produces examples that can be cut out of PDFs.  This
5987         change causes Texinfo 5 to generate info files that contain UTF-8
5988         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5989         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5991 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5993         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5994         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5995         barriers to their respective compiler built-ins.
5996         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5997         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5998         * sysdeps/powerpc/sysdep.h: Likewise.
5999         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6000         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6001         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6003 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6005         * scripts/config.guess: Revert previous shebang change.
6006         * scripts/config.sub: Likewise.
6007         * scripts/mkinstalldirs: Likewise.
6009 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6011         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6012         PPC_FEATURE2_HAS_IEEE128.
6013         * sysdeps/powerpc/dl-procinfo.c:
6014         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6016 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6018         [BZ #19415]
6019         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6020         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6021         (_dl_lookup_address): Rewrite using function resolver trampoline.
6022         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6023         two bits in address.
6025 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6027         * longlong.h: Change !__SHMEDIA__ to
6028         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6029         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6031 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6032             Joseph Myers  <joseph@codesourcery.com>
6033             Mark Shinwell  <shinwell@codesourcery.com>
6034             Andrew Stubbs  <ams@codesourcery.com>
6035             Rich Felker <dalias@libc.org>
6037         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6039 2016-01-07  Richard Henderson  <rth@redhat.com>
6041         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6043 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6045         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6046         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6047         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6048         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6049         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6051 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6052             Joseph Myers  <joseph@codesourcery.com>
6054         * timezone/private.h: Update from tzcode 2015g.
6055         * timezone/tzfile.h: Likewise.
6056         * timezone/tzselect.ksh: Likewise.
6057         * timezone/zdump.c: Likewise.
6058         * timezone/zic.c: Likewise.
6059         * timezone/ialloc.c: Remove file.
6060         * timezone/scheck.c: Likewise.
6061         * timezone/Makefile (extra-objs): Remove variable.
6062         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6063         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6064         -Wno-maybe-uninitialized.
6065         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6066         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6067         (CFLAGS-ialloc.c): Remove variable.
6068         (CFLAGS-scheck.c): Likewise.
6069         * timezone/README: Update list of files from tzcode.
6071 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6073         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6074         instead of __fxprintf when _LIBC is undefined.
6076 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6078         * catgets/test-gencat.sh: Remove space after shebang.
6079         * conform/GlibcConform.pm: Likewise.
6080         * conform/check-header-lists.sh: Likewise.
6081         * conform/conformtest.pl: Likewise.
6082         * conform/linknamespace.pl: Likewise.
6083         * conform/list-header-symbols.pl: Likewise.
6084         * debug/catchsegv.sh: Likewise.
6085         * elf/genrtldtbl.awk: Likewise.
6086         * elf/tst-pathopt.sh: Likewise.
6087         * elf/tst-rtld-load-self.sh: Likewise.
6088         * grp/tst_fgetgrent.sh: Likewise.
6089         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6090         * iconvdata/gen-8bit-gap.sh: Likewise.
6091         * iconvdata/gen-8bit.sh: Likewise.
6092         * iconvdata/run-iconv-test.sh: Likewise.
6093         * intl/tst-gettext.sh: Likewise.
6094         * intl/tst-gettext2.sh: Likewise.
6095         * intl/tst-gettext4.sh: Likewise.
6096         * intl/tst-gettext6.sh: Likewise.
6097         * intl/tst-translit.sh: Likewise.
6098         * io/ftwtest-sh: Likewise.
6099         * libio/test-freopen.sh: Likewise.
6100         * locale/gen-translit.pl: Likewise.
6101         * malloc/tst-mtrace.sh: Likewise.
6102         * manual/check-safety.sh: Likewise.
6103         * manual/libc-texinfo.sh: Likewise.
6104         * manual/tsort.awk: Likewise.
6105         * manual/xtract-typefun.awk: Likewise.
6106         * nptl/tst-cancel-wrappers.sh: Likewise.
6107         * nptl/tst-tls6.sh: Likewise.
6108         * posix/globtest.sh: Likewise.
6109         * posix/tst-getconf.sh: Likewise.
6110         * posix/wordexp-tst.sh: Likewise.
6111         * scripts/check-c++-types.sh: Likewise.
6112         * scripts/check-local-headers.sh: Likewise.
6113         * scripts/config.guess: Likewise.
6114         * scripts/config.sub: Likewise.
6115         * scripts/cpp: Likewise.
6116         * scripts/cross-test-ssh.sh: Likewise.
6117         * scripts/documented.sh: Likewise.
6118         * scripts/evaluate-test.sh: Likewise.
6119         * scripts/gen-libc-abis: Likewise.
6120         * scripts/gen-sorted.awk: Likewise.
6121         * scripts/list-fixed-bugs.py: Likewise.
6122         * scripts/merge-test-results.sh: Likewise.
6123         * scripts/mkinstalldirs: Likewise.
6124         * scripts/rellns-sh: Likewise.
6125         * scripts/test-installation.pl: Likewise.
6126         * scripts/update-copyrights: Likewise.
6127         * stdio-common/tst-printf.sh: Likewise.
6128         * stdio-common/tst-unbputc.sh: Likewise.
6129         * stdlib/tst-fmtmsg.sh: Likewise.
6130         * stdlib/tst-setcontext3.sh: Likewise.
6131         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6132         * sysdeps/unix/make-syscalls.sh: Likewise.
6134 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6136         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6137         asm stw with atomic_exchange_rel.  Add explanatory comment.
6138         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6139         Likewise.
6141 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6143         [BZ #19122]
6144         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6145         * sysdeps/generic/dl-unistd.h: New file.
6146         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6148 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6150          [BZ #19122]
6151          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6152          * sysdeps/generic/dl-mman.h: New file.
6153          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6155 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6157         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6158         trailing whitespace removed.
6159         * scripts/config.guess: Update to version 2016-01-01.
6160         * scripts/config.sub: Update to version 2016-01-01.
6161         * scripts/move-if-change: Update from gnulib.
6163 2016-01-04  Anton Blanchard  <anton@samba.org>
6165         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6166         for array indices.
6167         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6169 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6171         * NEWS: Update copyright dates.
6172         * catgets/gencat.c (print_version): Likewise.
6173         * csu/version.c (banner): Likewise.
6174         * debug/catchsegv.sh: Likewise.
6175         * debug/pcprofiledump.c (print_version): Likewise.
6176         * debug/xtrace.sh (do_version): Likewise.
6177         * elf/ldconfig.c (print_version): Likewise.
6178         * elf/ldd.bash.in: Likewise.
6179         * elf/pldd.c (print_version): Likewise.
6180         * elf/sotruss.sh: Likewise.
6181         * elf/sprof.c (print_version): Likewise.
6182         * iconv/iconv_prog.c (print_version): Likewise.
6183         * iconv/iconvconfig.c (print_version): Likewise.
6184         * locale/programs/locale.c (print_version): Likewise.
6185         * locale/programs/localedef.c (print_version): Likewise.
6186         * login/programs/pt_chown.c (print_version): Likewise.
6187         * malloc/memusage.sh (do_version): Likewise.
6188         * malloc/memusagestat.c (print_version): Likewise.
6189         * malloc/mtrace.pl: Likewise.
6190         * manual/libc.texinfo: Likewise.
6191         * nptl/version.c (banner): Likewise.
6192         * nscd/nscd.c (print_version): Likewise.
6193         * nss/getent.c (print_version): Likewise.
6194         * nss/makedb.c (print_version): Likewise.
6195         * posix/getconf.c (main): Likewise.
6196         * scripts/test-installation.pl: Likewise.
6197         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6199         * All files with FSF copyright notices: Update copyright dates
6200         using scripts/update-copyrights.
6201         * intl/plural.c: Regenerated.
6202         * locale/programs/charmap-kw.h: Likewise.
6203         * locale/programs/locfile-kw.h: Likewise.
6205 2016-01-02  Helge Deller  <deller@gmx.de>
6207         [BZ #19285]
6208         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6209         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6210         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6211         (MADV_xxK_PAGES): Remove.
6213 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6215         [BZ #15421]
6216         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6217         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6218         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6219         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6221 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6223         [BZ #19408]
6224         * sysdeps/unix/sysv/linux/personality.c: New file.
6225         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6226         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6228         (sysdep_routines): Add personality.
6229         (tests): Add tst-personality.
6230         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6231         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6232         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6233         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6234         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6235         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6236         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6237         Likewise.
6238         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6239         Likewise.
6240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6243         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6244         Likewise.
6246 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6248         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6249         (PATH_ARM_SYSTYPE): Remove.
6250         (PATH_CPUINFO): Likewise.
6251         (IO_BASE_FOOTBRIDGE): Likewise.
6252         (IO_SHIFT_FOOTBRIDGE): Likewise.
6253         (struct platform): Likewise.
6254         (init_iosys): Remove compatibility code for 2.4 kernels.
6255         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6257 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6259         * malloc/tst-malloc-thread-fail.c: New file.
6260         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6261         (tst-malloc-thread-fail): Link against libpthread.
6263 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6265         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6266         (get_parser): New function.
6267         (main): New function.
6269 2015-12-29  Rob Wu  <rob@robwu.nl>
6271         [BZ #19369]
6272         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6274 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6276         [BZ #19270]
6277         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6279 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6281         [BZ #15421]
6282         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6284 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6286         [BZ #13690]
6287         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6288         after releasing it.
6289         (__lll_robust_unlock): Likewise.
6290         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6292         (lll_robust_unlock): Likewise.
6293         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6294         Prevent warnings in callers.
6296 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6298         * malloc/arena.c (list_lock): Update comment.
6300 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6302         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6303         __parse_hwcap_and_convert_at_platform to libc.a.
6305 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6307         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6308         platform and feature support for POWER9.
6309         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6310         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6311         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6312         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6313         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6314         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6315         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6316         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6318 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6320         Harmonize generic stdio-lock support with nptl
6322         This fixes build when _IO_funlockfile is a macro, fixes build where
6323         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6324         stack unwind.
6326         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6327         _IO_release_lock ): Use cleanup attribute on new
6328         _IO_acquire_lock_file variable instead of assuming that
6329         _IO_release_lock will be called.
6330         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6331         _IO_acquire_lock_needs_exceptions_enabled.
6332         (_IO_acquire_lock_clear_flags2): New macro.
6334 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6336         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6338 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6340         [BZ #19182]
6341         * malloc/arena.c (list_lock): Document lock ordering requirements.
6342         (free_list_lock): New lock.
6343         (ptmalloc_lock_all): Comment on free_list_lock.
6344         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6345         (detach_arena): Update comment.  free_list_lock is now needed.
6346         (_int_new_arena): Use free_list_lock around detach_arena call.
6347         Acquire arena lock after list_lock.  Add comment, including FIXME
6348         about incorrect synchronization.
6349         (get_free_list): Switch to free_list_lock.
6350         (reused_arena): Acquire free_list_lock around detach_arena call
6351         and attached threads counter update.  Add two FIXMEs about
6352         incorrect synchronization.
6353         (arena_thread_freeres): Switch to free_list_lock.
6354         * malloc/malloc.c (struct malloc_state): Update comments to
6355         mention free_list_lock.
6357 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6359         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6360         Remove functions.
6361         (sloww, sloww1): Accept argument to offset quadrant.
6362         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6363         quadrant.
6364         (__sin, __cos): Consolidate common code into new functions.
6365         (reduce_sincos_1, do_sincos_1): New functions.
6366         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6368         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6369         code to new functions.
6370         (reduce_sincos_2, do_sincos_2): New functions.
6371         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6374         common code for sincos.
6375         (__cos) [!IN_SINCOS]: Likewise.
6376         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6377         New function.
6378         (__sincos): Use it.
6380 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6382         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6383         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6384         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6386 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6388         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6391         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6392         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6393         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6394         index_Prefer_No_VZEROUPPER): New feature.
6395         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6396         Prefer_No_VZEROUPPER for Knights Landing.
6398 015-12-18  Torvald Riegel  <triegel@redhat.com>
6400         * math/atest-exp2.c (mp_exp_m1): Remove.
6402 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6404         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6405         syscalls.
6406         (__SYSCALL0): New macro.
6407         (__SYSCALL1): Likewise.
6408         (__SYSCALL2): Likewise.
6409         (__SYSCALL3): Likewise.
6410         (__SYSCALL4): Likewise.
6411         (__SYSCALL5): Likewise.
6412         (__SYSCALL6): Likewise.
6413         (__SYSCALL_CONCAT_X): Likewise.
6414         (__SYSCALL_CONCAT): Likewise.
6415         (__SYSCALL_DIST): Likewise.
6416         (__SYSCALL_CALL): Likewise.
6418 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6420         [BZ #19363]
6421         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6423 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6425         [BZ #19375]
6426         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6427         negative subnormals.
6429 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6432         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6433         (INTERNAL_SYSCALL_NCS): Use it.
6434         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6436 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6438         [BZ #19243]
6439         * malloc/arena.c (get_free_list): Remove assert and adjust
6440         reference count handling.  Add comment about reused_arena
6441         interaction.
6442         (reused_arena): Add comments abount get_free_list interaction.
6443         * malloc/tst-malloc-thread-exit.c: New file.
6444         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6445         (tst-malloc-thread-exit): Link against libpthread.
6447 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6449         [BZ #19367]
6450         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6451         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6452         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6453         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6454         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6456 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6458         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6459         Silvermont optimizations for Knights Landing.
6461 2015-12-15  Andreas Schwab  <schwab@suse.de>
6463         [BZ #17197]
6464         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6465         immediately after emitting SI.
6466         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6467         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6468         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6469         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6470         * iconvdata/bug-iconv10.c: New file.
6471         * iconvdata/Makefile (tests): Add bug-iconv10.
6472         ($(objpfx)bug-iconv10.out): New rule.
6474 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6476         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6477         aliasing violation.
6479 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6481         [BZ #18472]
6482         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6483         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6484         conditionals for them.
6485         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6486         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6488         sys/kdaemon.h.
6489         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6490         compat-only syscall, obsoleted in glibc 2.23.
6491         (create_module): Likewise.
6492         (get_kernel_syms): Likewise.
6493         (query_module): Likewise.
6494         (uselib): Likewise.
6495         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6497 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6499         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6500         <linux/version.h>.
6501         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6502         conditional code.
6503         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6504         and ioshift_name initialization.
6506 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6508         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6509         Fix indentation.
6511 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6513         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6515 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6517         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6519 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6520             Jakub Wilk  <jwilk@debian.org>
6522         [BZ #19347]
6523         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6524         to change the group of the device to the tty group.
6526 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6528         Split large string section; add truncation advice
6529         * manual/examples/strncat.c: Remove.
6530         This example was misleading, as the code would have undefined
6531         behavior if "hello" was longer than SIZE.  Anyway, the manual
6532         shouldn't encourage strncpy+strncat for this sort of thing.
6533         * manual/string.texi (Copying Strings and Arrays): Split into
6534         three sections Copying Strings and Arrays, Concatenating Strings,
6535         and Truncating Strings, as this section was way too long.  All
6536         cross-referenced changed.  Add advice about string-truncation
6537         functions.  Remove misleading strncat example.
6539 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6541         * manual/nss.texi (NSS Modules Interface): Document
6542         NSS_STATUS_NOTFOUND and SUCCESS.
6544 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6546         [BZ 18568]
6547         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6548         201505L, for Unicode 8.
6550 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6552         * locale/C-translit.h: Regenerate.
6554 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6556         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6557         and U+0153.
6559 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #19351]
6562         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6563         expanding log(1+z), compare z rather than its square with epsilon
6564         to determine when to avoid evaluating the expansion.
6566         [BZ #19350]
6567         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6568         Increase overflow threshold.
6570         [BZ #19349]
6571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6572         when small.
6574         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6576         New macro.
6577         [__LINUX_KERNEL_VERSION >= 0x040300]
6578         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6580         Likewise.
6581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6582         Likewise.
6583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6584         Likewise.
6585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6586         Likewise.
6587         [__LINUX_KERNEL_VERSION >= 0x040300]
6588         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6589         [__LINUX_KERNEL_VERSION >= 0x040300]
6590         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6591         [__LINUX_KERNEL_VERSION >= 0x040300]
6592         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6593         [__LINUX_KERNEL_VERSION >= 0x040300]
6594         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6595         [__LINUX_KERNEL_VERSION >= 0x040300]
6596         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6598         Likewise.
6599         [__LINUX_KERNEL_VERSION >= 0x040300]
6600         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6602         Likewise.
6603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6604         Likewise.
6605         [__LINUX_KERNEL_VERSION >= 0x040300]
6606         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6608         Likewise.
6609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6610         Likewise.
6611         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6613         Likewise.
6614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6615         Likewise.
6616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6617         Likewise.
6618         [__LINUX_KERNEL_VERSION >= 0x040300]
6619         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6620         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6621         Likewise.
6622         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6623         Likewise.
6624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6625         Likewise.
6626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6627         Likewise.
6628         [__LINUX_KERNEL_VERSION >= 0x040300]
6629         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6630         [__LINUX_KERNEL_VERSION >= 0x040300]
6631         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6632         [__LINUX_KERNEL_VERSION >= 0x040300]
6633         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6634         [__LINUX_KERNEL_VERSION >= 0x040300]
6635         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6636         [__LINUX_KERNEL_VERSION >= 0x040300]
6637         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6639         Likewise.
6640         [__LINUX_KERNEL_VERSION >= 0x040300]
6641         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6643         Likewise.
6644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6645         Likewise.
6646         [__LINUX_KERNEL_VERSION >= 0x040300]
6647         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6649         Likewise.
6650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6651         Likewise.
6652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6653         (__ASSUME_SOCKET_SYSCALL): Likewise.
6654         (__ASSUME_BIND_SYSCALL): Likewise.
6655         (__ASSUME_CONNECT_SYSCALL): Likewise.
6656         (__ASSUME_LISTEN_SYSCALL): Likewise.
6657         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6658         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6659         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6660         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6661         (__ASSUME_SEND_SYSCALL): Likewise.
6662         (__ASSUME_SENDTO_SYSCALL): Likewise.
6663         (__ASSUME_RECV_SYSCALL): Likewise.
6664         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6665         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6666         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6667         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6668         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6669         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6670         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6671         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6672         Likewise.
6673         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6674         Likewise.
6675         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6676         Likewise.
6677         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6678         Likewise.
6679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6680         Likewise.
6681         [__LINUX_KERNEL_VERSION >= 0x020625]
6682         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6683         [__LINUX_KERNEL_VERSION >= 0x020625]
6684         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6685         [__LINUX_KERNEL_VERSION >= 0x020625]
6686         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6688         Likewise.
6689         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6690         Likewise.
6691         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6692         Likewise.
6693         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6694         Likewise.
6695         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6696         Likewise.
6697         [__LINUX_KERNEL_VERSION >= 0x020625]
6698         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6699         [__LINUX_KERNEL_VERSION >= 0x020625]
6700         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6701         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6702         Likewise.
6703         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6704         Likewise.
6706 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6708         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6709         record the current if the current ABI and CPU support the FP64
6710         extension.
6711         (has-modd-spreg): Define to record the current if the current ABI and
6712         CPU support 32-bit floating point values in odd FPU registers.
6713         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6714         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6715         $(has-modd-spreg) equals yes.
6716         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6717         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6718         $(has-modd-spreg) equal yes.
6720 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6722         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6723         basename.
6725 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6727         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6728         (bench-string): ... here.
6729         (bench): Add bench-string.
6730         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6731         to *-benchset to reflect what they are.
6732         (benchset): Adjust.
6734         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6735         cos-inputs.
6737 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6739         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6740         __attribute__ ((__simd__)) for vector math function declarations.
6742 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6744         Fix typo in strncat, wcsncat manual entries
6745         * manual/string.texi (Copying and Concatenation): Fix typos in
6746         sample implementations of strncat and wcsncat, by having them use
6747         the old value of the destination length, not the new one.
6749 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6751         [BZ #16961]
6752         [BZ #16962]
6753         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6754         string on the stack for strtod.
6755         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6756         a string on the stack for strtof.
6757         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6758         constructing a string on the stack for strtold.
6759         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6760         __strtold_nan to GLIBC_PRIVATE.
6761         * math/test-nan-overflow.c: New file.
6762         * math/test-nan-payload.c: Likewise.
6763         * math/Makefile (tests): Add test-nan-overflow and
6764         test-nan-payload.
6766 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6768         Consistency about byte vs character in string.texi
6769         * manual/string.texi (String and Array Utilities):
6770         Distinguish more carefully among bytes, multibyte characters,
6771         and wide characters.  Use "byte" when talking about C 'char',
6772         to distinguish it more clearly from multibyte characters.
6773         Say "wide character" or "multibyte character" instead of
6774         "character", when a wide or multibyte character is intended.
6775         Similarly for "multibyte string" versus "string".
6776         Define these terms more carefully.
6778 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6780         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6781         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6782         Likewise.
6783         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6784         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6785         * sysdeps/sh/math_private.h: New file.
6786         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6787         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6788         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6789         long double function name.
6790         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6791         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6793         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6796         Remove __finitel, __isinfl, and __isnanl.
6797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6798         Likewise.
6799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6801         Remove __finitel.
6802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6803         Likewise.
6804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6806 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6808         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6809         installed libmvec_nonshared.a.
6811 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6813         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6814         (sysdep_routines): Likewise.
6815         (sysdep-rtld-routines): Likewise.
6816         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6817         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6818         * sysdeps/powerpc/Versions: Added new
6819         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6820         * sysdeps/powerpc/hwcapinfo.c: New file.
6821         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6822         and parse hwcap, hwcap2 and platform number information.
6823         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6824         to store HWCAP+HWCAP2 and platform number.
6825         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6826         for HWCAP+HWCAP2 and platform number in the TCB.
6827         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6828         the HWCAP, HWCAP2 and platform number in the TCB.
6829         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6830         (TLS_INIT_TP): Included calls to add the hwcap and
6831         at_platform values in the TCB in TP initialization.
6832         (TLS_DEFINE_INIT_TP): Likewise.
6833         (THREAD_GET_HWCAP): New macro.
6834         (THREAD_SET_HWCAP): Likewise.
6835         (THREAD_GET_AT_PLATFORM): Likewise.
6836         (THREAD_SET_AT_PLATFORM): Likewise.
6837         * sysdeps/powerpc/powerpc32/dl-machine.h:
6838         (dl_platform_init): New function that calls
6839         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6840         powerpc32.
6841         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6842         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6843         this functionality, static linking case.
6844         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6845         linking case.
6846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6847         __parse_hwcap_and_convert_at_platform for the static linking case.
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6849         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6850         ABI list for GLIBC 2.23.
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6854         Likewise.
6856 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6858         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6859         * configure: Regenerate.
6860         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6861         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6863 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6865         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6866         * iconvdata/ibm933.c: Likewise.
6867         * iconvdata/ibm935.c: Likewise.
6868         * iconvdata/ibm937.c: Likewise.
6869         * iconvdata/ibm939.c: Likewise.
6871 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6873         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6874         pthread_join.
6875         * nptl/tst-cancel21.c (tf): Likewise.
6877 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6879         [BZ #19313]
6880         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6881         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6882         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6883         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6884         Likewise.
6885         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6886         Likewise.
6887         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6888         Likewise.
6889         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6890         Likewise.
6891         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6892         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6893         unsigned long int with __CPU_MASK_TYPE.
6895 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6897         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6899 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6901         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6902         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6903         t512.x.
6904         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6906 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6908         [BZ #19214]
6909         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6910         argument to return extended model.  Update family and model
6911         with extended family and model when family == 0x0f.
6912         (init_cpu_features): Updated.
6914 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6916         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6917         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6919         * sysdeps/mach/hurd/mmap64.c: New file.
6921 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6923         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6924         rights for its main user thread in NEWTASK.
6926 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6928         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6929         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6931 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6933         [BZ #14259]
6934         * Makeconfig: Rename localedir to complocaledir.
6935         Rename inst_localedir to inst_complocaledir.
6936         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6937         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6938         * configure.ac: Use libc_cv_complocaledir.
6939         * configure: Regenerate.
6940         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6941         -DCOMPLOCALEDIR.
6942         * locale/findlocale.c: Use COMPLOCALEDIR.
6943         * locale/loadarchive.c: Likewise.
6944         * locale/programs/locale.c: Likewise.
6945         * locale/programs/localedef.c: Likewise.
6946         * locale/programs/locarchive.c: Likewise.
6947         * localedata/Makefile: Use inst_complocaledir.
6948         * sysdeps/gnu/configure: Regenerate.
6949         * sysdeps/hppa/configure: Regenerate.
6950         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6951         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6953         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6954         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6955         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6956         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6958 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6960         [BZ #19058]
6961         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6962         AS_NEEDED.
6963         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6964         workaround.
6965         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6966         libmvec-static-only-routines): Added new file.
6967         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6969 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6971         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6972         of interrupted RPC instead of restoring it.
6974         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6975         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6976         libc_hidden_def.
6977         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6978         into initialized data instead of common. Define rtld_hidden_data_def.
6979         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6980         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6981         libc_hidden_def.
6982         (if_freenameindex): Add libc_hidden_weak.
6983         (if_nameindex): Add libc_hidden_weak.
6984         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6985         __open64.
6986         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6987         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6988         * sysdeps/mach/nanosleep.c: Include <time.h>
6989         (__nanosleep): Rename to __libc_nanosleep.
6990         (__nanosleep): Add weak_alias.
6991         (nanosleep): Update alias.
6993 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6995         * stdlib/strtod_nan.c: New file.
6996         * stdlib/strtod_nan_double.h: Likewise.
6997         * stdlib/strtod_nan_float.h: Likewise.
6998         * stdlib/strtod_nan_main.c: Likewise.
6999         * stdlib/strtod_nan_narrow.h: Likewise.
7000         * stdlib/strtod_nan_wide.h: Likewise.
7001         * stdlib/strtof_nan.c: Likewise.
7002         * stdlib/strtold_nan.c: Likewise.
7003         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7004         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7005         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7006         * wcsmbs/wcstod_nan.c: Likewise.
7007         * wcsmbs/wcstof_nan.c: Likewise.
7008         * wcsmbs/wcstold_nan.c: Likewise.
7009         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7010         strtold_nan.
7011         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7012         wcstof_nan.
7013         * include/stdlib.h (__strtof_nan): Declare and use
7014         libc_hidden_proto.
7015         (__strtod_nan): Likewise.
7016         (__strtold_nan): Likewise.
7017         (__wcstof_nan): Likewise.
7018         (__wcstod_nan): Likewise.
7019         (__wcstold_nan): Likewise.
7020         * include/wchar.h (____wcstoull_l_internal): Declare.
7021         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7022         (____strtoull_l_internal): Remove declaration.
7023         (STRTOF_NAN): Define macro.
7024         (SET_MANTISSA): Remove macro.
7025         (STRTOULL): Likewise.
7026         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7027         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7028         (STRTOF_NAN): Define macro.
7029         (SET_MANTISSA): Remove macro.
7030         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7031         (SET_MANTISSA): Remove macro.
7032         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7033         macro.
7034         (SET_MANTISSA): Remove macro.
7035         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7036         macro.
7037         (SET_MANTISSA): Remove macro.
7038         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7039         (SET_MANTISSA): Remove macro.
7040         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7041         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7042         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7044         [BZ #19266]
7045         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7046         upper case and lower case letters inside NAN(), not using TOLOWER.
7047         * stdlib/tst-strtod-nan-locale-main.c: New file.
7048         * stdlib/tst-strtod-nan-locale.c: Likewise.
7049         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7050         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7051         Depend on $(gen-locales).
7052         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7053         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7054         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7055         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7056         Depend on $(gen-locales).
7057         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7059 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7061         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7063         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7065         __finitel, __isinfl, and __isnanl.
7066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7067         Likewise.
7068         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7070         __finitel.
7071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7072         Likewise.
7073         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7075 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7077         * malloc/memusage.c (me): Remove redundant getenv call.
7079 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7081         [BZ #19143]
7082         [BZ #19164]
7083         * nptl/check-cpuset.h: Remove.
7084         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7085         Remove CPU set size check.
7086         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7087         Likewise.
7088         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7089         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7090         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7091         (__pthread_setaffinity_new): Remove CPU set size check.
7092         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7093         (__kernel_cpumask_size): Remove.
7094         (__sched_setaffinity_new): Remove CPU set size check.
7095         * manual/threads.texi (Default Thread Attributes): Remove stale
7096         reference to check_cpuset_attr, determine_cpumask_size in comment.
7097         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7098         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7099         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7100         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7101         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7102         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7103         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7104         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7105         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7106         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7107         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7108         skeleton test file.
7109         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7110         tst-affinity-pid.
7112 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7114         * scripts/update-abilist.sh: New file.
7115         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7116         * Makerules (update-all-abi-%, update-all-abi)
7117         (subdir_update-all-abi): New targets.
7118         * elf/Makefile (update-all-abi): New target.
7120 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7122         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7123         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7124         (__libc_lock_define_initialized): Use it.
7125         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7126         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7127         * malloc/malloc.c (main_arena): Likewise.
7128         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7129         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7131 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7133         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7134         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7135         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7136         (PTRACE_O_MASK): Update value.
7137         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7138         New value in enum __ptrace_setoptions.
7139         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7140         (PTRACE_O_MASK): Update value.
7141         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7142         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7143         (PTRACE_O_MASK): Update value.
7144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7145         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7146         (PTRACE_O_MASK): Update value.
7147         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7148         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7149         (PTRACE_O_MASK): Update value.
7150         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7151         New value in enum __ptrace_setoptions.
7152         (PTRACE_O_MASK): Update value.
7153         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7154         New value in enum __ptrace_setoptions.
7155         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7156         (PTRACE_O_MASK): Update value.
7158         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7159         New macro.
7160         (PACKET_AUXDATA): Likewise.
7161         (PACKET_ORIGDEV): Likewise.
7162         (PACKET_VERSION): Likewise.
7163         (PACKET_HDRLEN): Likewise.
7164         (PACKET_RESERVE): Likewise.
7165         (PACKET_TX_RING): Likewise.
7166         (PACKET_LOSS): Likewise.
7167         (PACKET_VNET_HDR): Likewise.
7168         (PACKET_TX_TIMESTAMP): Likewise.
7169         (PACKET_TIMESTAMP): Likewise.
7170         (PACKET_FANOUT): Likewise.
7171         (PACKET_TX_HAS_OFF): Likewise.
7172         (PACKET_QDISC_BYPASS): Likewise.
7173         (PACKET_ROLLOVER_STATS): Likewise.
7174         (PACKET_FANOUT_DATA): Likewise.
7175         (PACKET_MR_UNICAST): Likewise.
7177         [BZ #19242]
7178         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7179         (TOUPPER): Likewise.
7180         * stdlib/tst-strtol-locale-main.c: New file.
7181         * stdlib/tst-strtol-locale.c: Likewise.
7182         * stdlib/Makefile (tests): Add tst-strtol-locale.
7183         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7184         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7185         Depend on $(gen-locales).
7186         * wcsmbs/tst-wcstol-locale.c: New file.
7187         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7188         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7189         tr_TR.ISO-8859-9.
7190         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7191         Depend on $(gen-locales).
7193 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7195         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7196         __glibc_likely instead of __builtin_expect.  After falling back to
7197         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7198         system interface to register the code pages as occupied.
7200 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7202         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7203         [!ARM_MATH_PRIVATE_H].
7204         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7205         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7206         [!HPPA_MATH_PRIVATE_H].
7207         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7208         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7209         to [!I386_MATH_PRIVATE_H].
7210         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7211         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7212         Change guard to [!M68K_MATH_PRIVATE_H].
7213         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7214         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7215         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7216         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7217         macro.
7218         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7219         [!MIPS_MATH_PRIVATE_H].
7220         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7221         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7222         [!NIO2_MATH_PRIVATE_H].
7223         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7224         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7225         [!TILE_MATH_PRIVATE_H].
7226         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7228         [BZ #15421]
7229         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7230         initialize with 0 and define as weak alias of __signgam.
7231         * include/math.h [!_ISOMAC] (__signgam): Declare.
7232         * math/Makefile (libm-calls): Add w_lgamma_compat.
7233         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7234         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7235         test-signgam-ullong-init.
7236         (tests-static): Add test-signgam-uchar-static,
7237         test-signgam-uchar-init-static, test-signgam-uint-static,
7238         test-signgam-uint-init-static, test-signgam-ullong-static and
7239         test-signgam-ullong-init-static.
7240         (CFLAGS-test-signgam-uchar.c): New variable.
7241         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7242         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7243         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7244         (CFLAGS-test-signgam-uint.c): Likewise.
7245         (CFLAGS-test-signgam-uint-init.c): Likewise.
7246         (CFLAGS-test-signgam-uint-static.c): Likewise.
7247         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7248         (CFLAGS-test-signgam-ullong.c): Likewise.
7249         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7250         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7251         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7252         * math/Versions (libm): Add GLIBC_2.23.
7253         * math/lgamma-compat.h: New file.
7254         * math/test-signgam-main.c: Likewise.
7255         * math/test-signgam-uchar-init-static.c: Likewise.
7256         * math/test-signgam-uchar-init.c: Likewise.
7257         * math/test-signgam-uchar-static.c: Likewise.
7258         * math/test-signgam-uchar.c: Likewise.
7259         * math/test-signgam-uint-init-static.c: Likewise.
7260         * math/test-signgam-uint-init.c: Likewise.
7261         * math/test-signgam-uint-static.c: Likewise.
7262         * math/test-signgam-uint.c: Likewise.
7263         * math/test-signgam-ullong-init-static.c: Likewise.
7264         * math/test-signgam-ullong-init.c: Likewise.
7265         * math/test-signgam-ullong-static.c: Likewise.
7266         * math/test-signgam-ullong.c: Likewise.
7267         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7268         wrapper of w_lgamma_main.c.
7269         * math/w_lgamma_compat.c: New file.
7270         * math/w_lgamma_compatf.c: Likewise.
7271         * math/w_lgamma_compatl.c: Likewise.
7272         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7273         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7274         defining compatibility symbols.
7275         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7276         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7277         wrapper of w_lgammaf_main.c.
7278         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7279         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7280         defining compatibility symbols.
7281         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7282         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7283         wrapper of w_lgammal_main.c.
7284         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7285         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7286         defining compatibility symbols.
7287         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7288         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7289         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7290         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7291         <lgamma-compat.h>.
7292         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7293         (__ieee754_gamma): Define as alias.
7294         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7295         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7296         <lgamma-compat.h>.
7297         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7298         (__ieee754_gammaf): Define as alias.
7299         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7300         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7301         <lgamma-compat.h>.
7302         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7303         (__ieee754_gammal): Define as alias.
7304         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7305         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7306         <math/w_lgamma_compat.c>.
7307         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7308         Define as alias of __lgamma_compat and use in defining lgammal.
7309         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7310         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7311         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7312         (USE_AS_COMPAT): New macro.
7313         (LGAMMA_OLD_VER): Undefine and redefine.
7314         (lgammal): Do not define here.
7315         (gammal): Only define here if [GAMMA_ALIAS].
7316         * conform/linknamespace.pl (@whitelist): Remove signgam.
7317         * sysdeps/nacl/libm.abilist: Update.
7318         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7319         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7320         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7321         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7322         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7323         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7324         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7325         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7326         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7328         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7329         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7331         Likewise.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7333         Likewise.
7334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7335         Likewise.
7336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7337         Likewise.
7338         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7339         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7340         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7341         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7342         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7344         Likewise.
7345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7346         Likewise.
7347         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7351 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7353         [BZ #16364]
7354         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7355         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7357 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7359         * sysdeps/s390/fpu/bits/mathinline.h:
7360         Use __asm__ [__volatile__] instead of asm [volatile].
7361         * sysdeps/s390/abort-instr.h: Likewise.
7362         * sysdeps/s390/atomic-machine.h: Likewise.
7363         * sysdeps/s390/bits/string.h: Likewise.
7364         * sysdeps/s390/dl-tls.h: Likewise.
7365         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7366         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7367         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7368         * sysdeps/s390/fpu/fesetround.c: Likewise.
7369         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7370         * sysdeps/s390/fpu/s_fma.c: Likewise.
7371         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7372         * sysdeps/s390/memusage.h: Likewise.
7373         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7374         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7375         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7376         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7377         * sysdeps/s390/nptl/tls.h: Likewise.
7378         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7379         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7380         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7381         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7382         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7383         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7384         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7385         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7386         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7387         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7388         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7389         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7390         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7391         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7392         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7393         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7394         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7395         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7396         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7398         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7400         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7402 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7403             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7405         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7406         Add lwarx hint, and use macro for acquire instruction.
7407         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7408         Likewise.
7409         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7410         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7411         update to use new atomic macros.
7413 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7415         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7416         (__lll_trylock_elision): Fix setting of adapt_count.
7417         * sysdeps/unix/sysv/linux/powerpc/htm.h
7418         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7419         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7420         (_ABORT_SYSCALL): Renumber, and clarify definition.
7421         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7423 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7425         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7426         after system headers to prevent MIN/MAX redefinition.  Define
7427         HAVE_ALLOCA to preserve builtin alloca usage.
7429 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7432         static and don't set or restore rounding.
7433         (__cos)[IN_SINCOS]: Likewise.
7434         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7435         (__sincos): Set and restore rounding mode.  Remove check for infinite
7436         or NaN input.
7438         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7440         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7441         as used.
7443 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7445         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7447 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7449         * config.make.in (have-glob-dat-reloc): New.
7450         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7451         target supports GLOB_DAT relocaton. AC_SUBST.
7452         * configure: Regenerated.
7453         * elf/Makefile (tests): Add tst-prelink.
7454         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7455         (tst-prelink-ENV): New.
7456         ($(objpfx)tst-prelink-conflict.out): Likewise.
7457         ($(objpfx)tst-prelink-cmp.out): Likewise.
7458         * sysdeps/x86/tst-prelink.c: Moved to ...
7459         * elf/tst-prelink.c: Here.
7460         * sysdeps/x86/tst-prelink.exp: Moved to ...
7461         * elf/tst-prelink.exp: Here.
7462         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7463         (tst-prelink-ENV): Removed.
7464         ($(objpfx)tst-prelink-conflict.out): Likewise.
7465         ($(objpfx)tst-prelink-cmp.out): Likewise.
7466         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7468 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7470         [BZ #14551]
7471         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7472         (__mpn_construct_long_double): If high part overflows to infinity,
7473         set errno and recompute overflowed result of the correct sign.
7474         * sysdeps/ieee754/ldbl-128ibm/Makefile
7475         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7476         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7477         $(libm).
7478         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7480 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7482         [BZ #15479]
7483         [BZ #19238]
7484         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7485         floating-point state after first operation on input.  Restore full
7486         state rather than just rounding mode.
7487         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7488         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7489         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7491         [BZ #19235]
7492         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7493         add 0.5 to integer arguments.
7494         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7495         Likewise.
7496         (.LC2): New object.
7498 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7500         * scripts/pylintrc (reports): Set to no.
7502 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7504         * elf/dl-load.c (open_verify): Take new argument FD.
7505         Skip __open call if passed FD is not -1.
7506         (_dl_map_object, open_path): Update callers.
7507         * elf/dl-sysdep-open.h: New file.
7508         * elf/dl-load.c: Include it.
7509         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7510         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7511         * sysdeps/nacl/dl-sysdep-open.h: New file.
7512         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7513         from libc to rtld.
7515 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7517         [BZ #19228]
7518         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7519         and restore full floating-point state.
7520         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7521         Likewise.
7522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7523         Likewise.
7524         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7525         Likewise.
7526         * math/test-nearbyint-except-2.c: New file.
7527         * math/Makefile (tests): Add test-nearbyint-except-2.
7529 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7531         [BZ #19178]
7532         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7533         (tst-prelink-ENV): New.
7534         ($(objpfx)tst-prelink-conflict.out): Likewise.
7535         ($(objpfx)tst-prelink-cmp.out): Likewise.
7536         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7537         * sysdeps/x86/tst-prelink.c: New file.
7538         * sysdeps/x86/tst-prelink.exp: Likewise.
7540 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7542         * math/auto-libm-test-in: Add another test of pow.
7543         * math/auto-libm-test-out: Regenerated.
7544         * math/libm-test.inc (pow_test_data): Add another test.
7546 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7548         [BZ #19219]
7549         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7550         weak_alias to nearbyintl.
7552 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7554         * sysdeps/aarch64/bits/string.h: New file.
7555         (_STRING_ARCH_unaligned): Define.
7557 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7559         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7560         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7561         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7562         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7565 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7567         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7568         for original name of the DSO.  Add it to the name list of the DSO
7569         if it is actually given.
7570         (_dl_map_object): Keep track of whether an audit module rewrote
7571         the file name.  If yes, pass the original name to
7572         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7573         debugging is enabled, log the change of the file name.
7574         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7575         _dl_map_object_from_fd.
7576         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7577         * elf/tst-audit11.c: New file
7578         * elf/tst-auditmod11.c: New file.
7579         * elf/tst-audit11mod1.c: New file.
7580         * elf/tst-audit11mod2.c: New file.
7581         * elf/tst-audit11mod2.map: New file.
7582         * elf/tst-audit12.c: New file
7583         * elf/tst-auditmod12.c: New file.
7584         * elf/tst-audit12mod1.c: New file.
7585         * elf/tst-audit12mod2.c: New file.
7586         * elf/tst-audit12mod2.map: New file.
7587         * elf/tst-audit12mod3.c: New file.
7589 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7591         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7592         Don't create weak aliases,
7593         because versioned symbols are created later.
7594         * sysdeps/s390/s390-32/setjmp.S
7595         (setjmp, _setjmp): Remove weak and rename to an unique name
7596         in SHARED case due to existing versioned symbols.
7597         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7598         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7599         (getcontext): Create weak alias only in non SHARED case.
7600         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7602 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7604         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7605         (__ASSUME_*_SYSCALL) Define new macros.
7606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7607         Remove socketcall syscalls.
7608         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7609         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7610         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7611         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7612         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7613         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7615 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7617         [BZ #12926]
7618         Terminate process on invalid netlink response.
7619         * sysdeps/unix/sysv/linux/netlinkaccess.h
7620         (__netlink_assert_response): Declare.
7621         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7622         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7623         (sysdep_routines): Add netlink_assert_response.
7624         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7625         __netlink_assert_response.
7626         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7627         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7628         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7629         __netlink_assert_response.
7631 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7633         [BZ #19178]
7634         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7635         (RTYPE_CLASS_PLT): Likewise.
7636         (RTYPE_CLASS_COPY): Likewise.
7637         (RTYPE_CLASS_TLS): Likewise.
7638         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7639         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7640         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7641         DL_DEBUG_PRELINK.
7643 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7645         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7646         calls with argument -0.5.
7647         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7649         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7650         (libc_cv_z_nodlopen): Likewise.
7651         (libc_cv_z_initfirst): Likewise.
7652         * configure: Regenerated.
7654 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7656         Simplify abilist format to be line-based.
7657         * scripts/abilist.awk: Collect descriptors in the descs variable.
7658         (emit): Write descs variable and sort it
7659         externally, with sort.
7660         * sysdeps/**/*.abilist: Convert to new format.
7662 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7664         [BZ #11460]
7665         * io/Makefile (routines): Add fts64.
7666         (tests): Add tst-fts and tst-fts-lfs.
7667         (CFLAGS-fts64.c): New.
7668         * io/Versions (GLIBC_2.23): New.
7669         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7670         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7671         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7672         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7673         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7674         (FTSENT64): Likewise.
7675         (fts64_children): Likewise.
7676         (fts64_close): Likewise.
7677         (fts64_open): Likewise.
7678         (fts64_read): Likewise.
7679         (fts64_set): Likewise.
7680         * io/fts64.c: New file.
7681         * io/tst-fts.c: New test.
7682         * io/tst-fts-lfs.c: Likewise.
7683         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7684         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7685         fts64_set.
7686         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7688         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7689         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7690         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7691         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7692         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7693         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7694         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7695         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7696         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7697         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7698         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7700         Likewise.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7702         Likewise.
7703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7705         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7708         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7709         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7712         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7713         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7714         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7715         * sysdeps/wordsize-64/fts.c: New file.
7716         * sysdeps/wordsize-64/fts64.c: Likewise.
7717         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7718         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7719         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7720         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7722 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7724         * math/libm-test.inc (NON_FINITE): New macro.
7725         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7726         * math/gen-libm-test.pl (show_exceptions): Add argument
7727         $non_finite.
7728         (parse_args): Update call to show_exceptions.
7729         * math/test-math-finite.h: New file.
7730         * math/test-math-no-finite.h: Likewise.
7731         * math/test-double-finite.c: Likewise.
7732         * math/test-float-finite.c: Likewise.
7733         * math/test-ldouble-finite.c: Likewise.
7734         * math/test-double.c: Include "test-math-no-finite.h".
7735         * math/test-float.c: Include "test-math-no-finite.h".
7736         * math/test-ldouble.c: Include "test-math-no-finite.h".
7737         * math/test-math-inline.h (TEST_FINITE): New macro.
7738         * math/test-math-vector.h (TEST_FINITE): Likewise.
7739         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7740         (libm-tests): Add test-float-finite and test-double-finite.
7741         ($(objpfx)test-float-finite.o): New dependency on
7742         $(objpfx)libm-test.stmp.
7743         ($(objpfx)test-double-finite.o): Likewise.
7744         ($(objpfx)test-ldouble-finite.o): Likewise.
7745         (libm-test-no-inline-cflags): New variable.
7746         (libm-test-finite-cflags): Likewise.
7747         (CFLAGS-test-float-finite.c): Likewise.
7748         (CFLAGS-test-double-finite.c): Likewise.
7749         (CFLAGS-test-ldouble-finite.c): Likewise.
7750         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7751         (CFLAGS-test-double.c): Likewise.
7752         (CFLAGS-test-ldouble.c): Likewise.
7754 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7756         * io/fcntl.c (__fcntl): Add ... to prototype.
7757         * misc/ioctl.c (__ioctl): Likewise.
7758         * misc/syscall.c (syscall): Likewise.
7760 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7762         * scripts/list-fixed-bugs.py: New file.
7764         [BZ #19213]
7765         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7766         returned for argument 1.
7767         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7768         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7769         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7770         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7771         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7772         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7774         [BZ #19211]
7775         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7776         __USE_XOPEN], not if [!__USE_ISOC99].
7777         (lgammaf): Likewise.
7778         (lgammal): Likewise.
7779         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7780         (gammaf): Likewise.
7781         (gammal): Likewise.
7782         * math/test-signgam-finite-c11.c: New file.
7783         * math/test-signgam-finite-c99.c: Likewise.
7784         * math/test-signgam-finite.c: Likewise.
7785         * math/Makefile (tests): Add test-signgam-finite,
7786         test-signgam-finite-c99 and test-signgam-finite-c11.
7787         (CFLAGS-test-signgam-finite.c): New variable.
7788         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7789         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7791         [BZ #19212]
7792         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7793         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7794         500].
7795         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7796         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7797         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7798         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7799         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7800         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7801         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7802         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7803         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7804         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7806         [BZ #19209]
7807         * math/bits/math-finite.h (ldexp): Remove declaration.
7808         (ldexpf): Likewise.
7809         (ldexpl): Likewise.
7811         [BZ #19205]
7812         * math/bits/math-finite.h (acosf): Condition declaration on
7813         [__USE_ISOC99].
7814         (acosl): Likewise.
7815         (acoshf): Likewise.
7816         (acoshl): Likewise.
7817         (asinf): Likewise.
7818         (asinl): Likewise.
7819         (atan2f): Likewise.
7820         (atan2l): Likewise.
7821         (atanhf): Likewise.
7822         (atanhl): Likewise.
7823         (coshf): Likewise.
7824         (coshl): Likewise.
7825         (expf): Likewise.
7826         (expl): Likewise.
7827         (fmodf): Likewise.
7828         (fmodl): Likewise.
7829         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7830         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7831         (j0l): Likewise.
7832         (y0f): Likewise.
7833         (y0l): Likewise.
7834         (j1f): Likewise.
7835         (j1l): Likewise.
7836         (y1f): Likewise.
7837         (y1l): Likewise.
7838         (jnf): Likewise.
7839         (jnl): Likewise.
7840         (ynf): Likewise.
7841         (ynl): Likewise.
7842         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7843         (lgammal_r): Likewise.
7844         (__lgamma_r_finite): New declaration.
7845         (__lgammaf_r_finite): Likewise.
7846         (__lgammal_r_finite): Likewise.
7847         (lgamma): Use __lgamma_r_finite.
7848         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7849         __lgammaf_r_finite.
7850         (lgammal): Condition definition on [__USE_ISOC99].  Use
7851         __lgammal_r_finite.
7852         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7853         __lgamma_r_finite.
7854         (gammaf): Condition definition on [__USE_ISOC99].  Use
7855         __lgammaf_r_finite.
7856         (gammal): Condition definition on [__USE_ISOC99].  Use
7857         __lgammal_r_finite.
7858         (logf): Condition declaration on [__USE_ISOC99].
7859         (logl): Likewise.
7860         (log10f): Likewise.
7861         (log10l): Likewise.
7862         (ldexpf): Likewise.
7863         (ldexpl): Likewise.
7864         (powf): Likewise.
7865         (powl): Likewise.
7866         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7867         __USE_ISOC99].
7868         (remainderf): Condition declaration on [__USE_ISOC99].
7869         (remainderl): Likewise.
7870         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7871         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7872         (scalbl): Likewise.
7873         (sinhf): Condition declaration on [__USE_ISOC99].
7874         (sinhl): Likewise.
7875         (sqrtf): Likewise.
7876         (sqrtl): Likewise.
7878 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7880         * sysdeps/arm/atomic-machine.h
7881         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7882         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7883         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7884         Remove conditional code.
7885         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7886         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7887         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7888         Change conditional to [__ASSEMBLER__].
7889         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7890         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7891         [!__ASSEMBLER__].
7892         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7893         code.
7894         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7895         conditional macro definitions.
7896         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7897         (__arch_compare_and_exchange_val_16_acq): Likewise.
7898         (__arch_compare_and_exchange_val_32_acq): Likewise.
7899         (atomic_exchange_and_add): Likewise.
7900         (atomic_add): Likewise.
7901         (atomic_add_negative): Likewise.
7902         (atomic_add_zero): Likewise.
7903         (atomic_bit_set): Likewise.
7904         (atomic_bit_test_set): Likewise.
7905         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7906         code unconditional.
7907         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7909         * math/test-math-errno.h: New file.
7910         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7911         empty.
7912         (TEST_ERRNO): New macro.
7913         (TEST_EXCEPTIONS): Likewise.
7914         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7915         (TEST_EXCEPTIONS): Likewise.
7916         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7917         * math/test-double.c: Include "test-math-errno.h".
7918         * math/test-float.c: Likewise.
7919         * math/test-ldouble.c: Likewise.
7920         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7921         code unconditional.
7922         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7923         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7924         unconditional.
7925         (test_errno): Only run code if TEST_ERRNO.
7926         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7928 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7930         * nptl/tst-once5.cc: Remove attribution.
7932 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7934         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7935         sqrt, tan, tanh, y0, y1 and yn.
7936         * math/auto-libm-test-out: Regenerated.
7937         * math/libm-test.inc (scalb_test_data): Add more tests.
7938         (scalbn_test_data): Likewise.
7939         (scalbln_test_data): Likewise.
7940         (signbit_test_data): Likewise.
7941         (sin_test_data): Likewise.
7942         (sincos_test_data): Likewise.
7943         (sinh_test_data): Likewise.
7944         (sqrt_test_data): Likewise.
7945         (tan_test_data): Likewise.
7946         (tanh_test_data): Likewise.
7947         (tgamma_test_data): Likewise.
7948         (y0_test_data): Likewise.
7949         (y1_test_data): Likewise.
7950         (yn_test_data): Likewise.
7951         (significand_test_data): Likewise.
7952         * sysdeps/i386/fpu/libm-test-ulps: Update.
7954 2015-11-03  David Kastrup  <dak@gnu.org>
7956         [BZ #18604]
7957         * assert/assert.h (assert): Don't macro-expand failed assertion
7958         expression in error message.
7959         * malloc/malloc.c (assert): Likewise.
7961 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7963         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7964         test.
7965         * configure: Regenerated.
7967 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7969         * math/libm-test.inc (modf_test_data): Add more tests.
7970         (nearbyint_test_data): Likewise.
7971         (nextafter_test_data): Likewise.
7972         (nexttoward_test_data): Likewise.
7973         (pow_test_data): Likewise.
7974         (remainder_test_data): Likewise.
7975         (remquo_test_data): Likewise.
7976         (rint_test_data): Likewise.
7978         [BZ #19201]
7979         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7980         Check for zero remainder in case of large exponents and ensure
7981         correct sign of result in that case.
7982         * math/libm-test.inc (remainder_test_data): Add more tests.
7984         [BZ #6799]
7985         * math/s_nextafter.c: Include <errno.h>.
7986         (__nextafter): Set errno on overflow and underflow.
7987         * math/s_nexttowardf.c: Include <errno.h>.
7988         (__nexttowardf): Set errno on overflow and underflow.
7989         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7990         (__nextafterl): Set errno on overflow and underflow.
7991         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7992         (__nexttoward): Set errno on overflow and underflow.
7993         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7994         (__nexttowardf): Set errno on overflow and underflow.
7995         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7996         (__nextafterf): Set errno on overflow and underflow.
7997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7998         (__nextafterl): Set errno on overflow and underflow.
7999         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8000         (__nexttoward): Set errno on overflow and underflow.
8001         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8002         (__nexttowardf): Set errno on overflow and underflow.
8003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8004         (__nextafterl): Set errno on overflow and underflow.
8005         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8006         (__nexttoward): Set errno on overflow and underflow.
8007         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8008         (__nexttowardf): Set errno on overflow and underflow.
8009         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8010         (__nexttoward): Set errno on overflow and underflow.
8011         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8012         (__nexttowardf): Set errno on overflow and underflow.
8013         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8014         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8015         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8016         (__nextafterl): Set errno on overflow and underflow.
8017         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8018         setting to be missing on overflow.  Add more tests.
8019         (nexttoward_test_data): Likewise.
8021         * configure.ac (libc_cv_initfini_array): Remove configure test.
8022         * configure: Regenerated.
8024 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8026         [BZ #19189]
8027         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8028         non-finite argument handle arguments with negative sign.
8030         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8031         result from infinite argument.
8032         (j1_test_data): Likewise.
8033         (jn_test_data): Likewise.
8034         (y0_test_data): Likewise.
8035         (y1_test_data): Likewise.
8036         (yn_test_data): Likewise.
8038         [BZ #16171]
8039         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8040         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8041         * math/w_remainderf.c (dremf): Define as weak alias of
8042         __remainderf.
8043         * math/w_remainderl.c (dreml): Define as weak alias of
8044         __remainderl.
8045         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8046         __remainder.
8047         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8048         __remainderf.
8049         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8050         __remainderl.
8051         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8052         weak alias of remainderl.
8053         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8054         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8055         alias of __remainder.
8056         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8057         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8058         strong alias of __remainderl.
8059         (dreml): Use long_double_symbol.
8060         * math/Makefile (libm-calls): Remove w_drem.
8061         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8062         (CFLAGS-nldbl-drem.c): Remove variable.
8063         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8064         * math/w_drem.c: Remove file.
8065         * math/w_dremf.c: Likewise.
8066         * math/w_dreml.c: Likewise.
8067         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8068         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8069         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8071         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8072         * sysdeps/i386/configure: Regenerated.
8073         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8074         * sysdeps/x86_64/configure: Regenerated.
8076         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8077         test.
8078         (libc_cv_visibility_attribute): Likewise.
8079         (libc_cv_protected_data): Test unconditionally.
8080         (libc_cv_broken_visibility_attribute): Remove configure test.
8081         (libc_cv_have_sdata_section): Test unconditionally.
8082         * configure: Regenerated.
8084         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8085         * include/scratch_buffer.h: Include <stddef.h> instead of
8086         <libc-internal.h>.
8087         (struct scratch_buffer): Use max_align_t instead of
8088         libc_max_align_t.
8090 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8092         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8093         instead of extend_alloca.  Change control flow to avoid a goto.
8094         Remove assert which is trivially always true.
8096 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8098         [BZ #16068]
8099         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8100         (FE_ALL_EXCEPT_X86): New macro.
8101         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8102         FE_ALL_EXCEPT.  Ensure precision control is included in
8103         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8104         handle "denormal operand exception" and clear FZ and DAZ bits.
8105         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8106         (FE_ALL_EXCEPT_X86): New macro.
8107         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8108         FE_ALL_EXCEPT.  Ensure precision control is included in
8109         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8110         handle "denormal operand exception" and clear FZ and DAZ bits.
8111         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8112         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8113         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8114         test-fenv-x87 and test-fenv-sse-2.
8115         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8117         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8118         * math/test-double.h (BUILD_COMPLEX): New macro.
8119         * math/test-float.h (BUILD_COMPLEX): Likewise.
8120         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8122         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8123         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8124         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8126         instead of DBL_DENORM_MIN in comment.
8127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8128         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8129         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8130         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8132         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8134 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8136         [BZ# 19048]
8137         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8138         attached_threads member.
8139         (main_arena): Initialize attached_threads.
8140         * malloc/arena.c (list_lock): Update comment.
8141         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8142         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8143         (deattach_arena): New function.
8144         (_int_new_arena): Initialize arena reference count and deattach
8145         replaced arena.
8146         (get_free_list, reused_arena): Update reference count and deattach
8147         replaced arena.
8148         (arena_thread_freeres): Update arena reference count and only put
8149         unreferenced arenas on the free list.
8151 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8153         [BZ #19181]
8154         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8155         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8156         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8157         * math/test-fenv-clear-main.c: New file.
8158         * math/test-fenv-clear.c: Likewise.
8159         * math/Makefile (tests): Add test-fenv-clear.
8160         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8161         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8162         test-fenv-clear-sse.
8163         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8165         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8166         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8167         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8169 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8171         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8172         static libc.
8174 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8176         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8177         test.
8178         * sysdeps/i386/configure: Regenerated.
8179         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8180         test.
8181         * sysdeps/x86_64/configure: Regenerated.
8182         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8184         memset-avx2 unconditionally instead of conditionally on
8185         [$(config-cflags-avx2) = yes].
8186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8187         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8188         unconditional.
8189         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8190         * sysdeps/x86_64/multiarch/memset_chk.S
8191         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8192         to [IS_IN (libc) && SHARED].
8194 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8196         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8197         configure test.
8198         * sysdeps/arm/configure: Regenerated.
8199         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8200         Define variable if not already defined.
8202         [BZ #17404]
8203         * sysdeps/mips/atomic-machine.h
8204         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8205         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8206         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8208         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8209         unconditional.
8210         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8211         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8212         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8213         unconditional.
8214         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8215         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8216         unconditional.
8217         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8218         * stdlib/setenv.c
8219         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8220         code unconditional.
8221         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8222         Remove conditional code.
8223         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8224         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8225         unconditional.
8226         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8227         code.
8228         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8229         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8230         unconditional.
8231         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8232         code.
8233         * sysdeps/ieee754/ldbl-128/k_tanl.c
8234         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8235         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8236         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8237         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8238         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8239         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8240         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8241         unconditional.
8242         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8243         code.
8244         * sysdeps/ieee754/ldbl-96/k_tanl.c
8245         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8246         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8248         * nptl/tst-initializers1-c11.c: New file.
8249         * nptl/tst-initializers1-gnu11.c: Likewise.
8250         * nptl/Makefile (tests): Add these new tests.
8251         (CFLAGS-tst-initializers1-c11.c): New variable.
8252         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8254         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8255         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8256         instead of -std=gnu99.
8257         * configure.ac (systemtap): Test with -std=gnu11 instead of
8258         -std=gnu99.
8259         * configure: Regenerated.
8260         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8261         in compilation command in comment.
8263         * sysdeps/nptl/configure.ac: Remove file.
8264         * sysdeps/nptl/configure: Remove generated file.
8265         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8266         * configure: Regenerated.
8267         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8268         * config.make.in (have-forced-unwind): Remove variable.
8269         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8270         unconditional.
8271         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8272         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8273         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8274         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8275         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8276         unconditional.
8278 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8280         [BZ #19174]
8281         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8282         .skip_lock_out_of_tbegin_retries.
8283         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8284         (__lll_lock_elision): Likewise, and respect a value of
8285         try_tbegin <= 0.
8287 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8289         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8290         statement.
8292 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8294         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8295         variable.
8296         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8297         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8299         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8300         of -std=c1x -D_ISOC11_SOURCE.
8302         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8303         * configure: Regenerated.
8304         * manual/install.texi (Tools for Compilation): Document
8305         requirement for GCC 4.7 or later.
8306         * INSTALL: Regenerated.
8308 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8310         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8311         on CNT to a conditional jump to 'puntdata'.
8313 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8315         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8316         (libc_cv_gcc_tls_model_attr): Likewise.
8317         * configure: Regenerated.
8319         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8320         * configure: Regenerated.
8321         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8323 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8325         * configure.ac (old_glibc_headers): Remove configure test.
8326         * configure: Regenerated.
8327         * config.make.in (old-glibc-headers): Remove variable.
8328         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8329         (install): Remove dependency on remove-old-headers.
8330         (headers2_0): Remove variable.
8331         (remove-old-headers): Remove rule.
8333         * configure.ac (libc_cv_dot_text): Remove configure test.
8334         (libc_cv_asm_set_directive): Use .text instead of
8335         ${libc_cv_dot_text} in configure test.
8336         * configure: Regenerated.
8338 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8340         [BZ #19168]
8341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8343 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8345         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8346         not support static linking.
8347         * configure: Regenerate.
8349 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8351         * math/libm-test.inc (check_float_internal): Do not special-case
8352         errors up to 0.5 ulp.
8354         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8355         log2.
8356         * math/auto-libm-test-out: Regenerated.
8357         * math/libm-test.inc (MAX_EXP): New macro.
8358         (ilogb_test_data): Add more tests.
8359         (isfinite_test_data): Likewise.
8360         (isgreater_test_data): Likewise.
8361         (isgreaterequal_test_data): Likewise.
8362         (isinf_test_data): Likewise.
8363         (isless_test_data): Likewise.
8364         (islessequal_test_data): Likewise.
8365         (islessgreater_test_data): Likewise.
8366         (isnan_test_data): Likewise.
8367         (isnormal_test_data): Likewise.
8368         (issignaling_test_data): Likewise.
8369         (isunordered_test_data): Likewise.
8370         (j0_test_data): Likewise.
8371         (j1_test_data): Likewise.
8372         (jn_test_data): Likewise.
8373         (lgamma_test_data): Likewise.
8374         (log_test_data): Likewise.
8375         (log10_test_data): Likewise.
8376         (log1p_test_data): Likewise.
8377         (log2_test_data): Likewise.
8378         (logb_test_data): Likewise.
8379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8381         [BZ #18611]
8382         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8383         avoid excess range and precision on underflow.
8384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8385         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8386         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8388         underflow.
8389         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8391         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8392         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8393         * math/auto-libm-test-in: Do not allow missing errno setting for
8394         tests of j1 and jn.
8395         * math/auto-libm-test-out: Regenerated.
8397 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8399         [BZ #15491]
8400         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8401         floating-point environment instead of clearing all exceptions.
8402         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8403         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8404         merging in "invalid" exceptions from frndint.
8405         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8406         * math/test-nearbyint-except.c: New file.
8407         * math/Makefile (tests): Add test-nearbyint-except.
8409 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8411         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8413         * sysdeps/tile/libm-test-ulps: Regenerated.
8415 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8418         (__NR_sync_file_range2): Assume it is always defined.
8419         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8420         (__NR_sync_file_range): Assume it is always defined.
8422 2015-10-22  Andreas Schwab  <schwab@suse.de>
8424         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8425         INTERNAL_SYSCALL_ERRNO.
8426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8427         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8428         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8429         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8430         Likewise.
8431         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8433 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8435         * io/tst-fcntl.c (fd): New static variable.
8436         (do_prepare): Open temporary file here....
8437         (do_test): ...not here.
8439         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8441 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8443         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8444         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8445         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8446         Moved before "#ifdef __ASSEMBLER__".
8448 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8450         [BZ #19156]
8451         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8452         arguments very close to 0.
8454 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8456         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8457         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8459 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8461         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8462         New.  Defined for GCC 5 and above when not compiling for
8463         profiling.
8464         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8466         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8467         Renamed to ...
8468         (CFLAGS-epoll_pwait.o): This.
8469         (CFLAGS-mmap.c): Renamed to ...
8470         (CFLAGS-mmap.o): This.
8471         (CFLAGS-mmap64.c): Renamed to ...
8472         (CFLAGS-mmap64.o): This.
8473         (CFLAGS-epoll_pwait.os): New.
8474         (CFLAGS-mmap.os): Likewise.
8475         (CFLAGS-mmap64.os): Likewise.
8476         (CFLAGS-semtimedop.os): Likewise.
8477         (CFLAGS-semtimedop.c): Renamed to ...
8478         (CFLAGS-semtimedop.o): This.
8480 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8482         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8483         warning message.
8485 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8487         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8488         * Makefile ($(objpfx)c++-types-check.out): Filter out
8489         $(+gccwarn-c) instead of -Wstrict-prototypes.
8491         * io/fts.c (fts_open): Convert to prototype-style function
8492         definition.
8493         * malloc/mcheck.c (mcheck): Likewise.
8494         (mcheck_pedantic): Likewise.
8495         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8496         internal_function.
8497         (re_search_internal): Likewise.
8498         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8499         prototype-style function definition.
8500         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8501         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8502         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8503         (xdr_utmpptr): Likewise.
8504         (xdr_utmparr): Likewise.
8505         (xdr_utmpidle): Likewise.
8506         (xdr_utmpidleptr): Likewise.
8507         (xdr_utmpidlearr): Likewise.
8509         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8510         log, log10 and log2.
8511         * math/auto-libm-test-out: Regenerated.
8512         * math/libm-test.inc (fmod_test_data): Add more tests.
8513         (fpclassify_test_data): Likewise.
8514         (frexp_test_data): Likewise.
8515         (hypot_test_data): Likewise.
8516         (ilogb_test_data): Likewise.
8518 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8520         * debug/fortify_fail.c (__fortify_fail): Convert to
8521         prototype-style function definition.  Use internal_function.
8522         * libio/genops.c (save_for_backup): Convert to prototype-style
8523         function definition.
8524         * libio/wgenops.c (save_for_wbackup): Likewise.
8525         * login/grantpt.c (grantpt): Likewise.
8526         * login/ptsname.c (ptsname): Likewise.
8527         (__ptsname_r): Likewise.
8528         * login/unlockpt.c (unlockpt): Likewise.
8529         * mach/msgserver.c (__mach_msg_server): Likewise.
8530         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8531         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8532         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8533         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8534         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8535         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8536         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8537         Likewise.
8538         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8539         internal_function.
8540         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8541         prototype-style function definition.
8542         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8543         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8544         (__pthread_create_2_0): Likewise.
8545         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8546         * nptl/register-atfork.c (__register_atfork): Likewise.
8547         * posix/glob.c (glob): Likewise.
8548         * posix/regcomp.c (re_comp): Likewise.
8549         * posix/regexec.c (re_exec): Likewise.
8550         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8551         [!__STDC__]: Remove conditional code.
8552         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8553         [!__STDC__]: Remove conditional code.
8554         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8555         [!__STDC__]: Remove conditional code.
8556         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8557         [!__STDC__]: Remove conditional code.
8558         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8559         [!__STDC__]: Remove conditional code.
8560         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8561         [!__STDC__]: Remove conditional code.
8562         * stdlib/mul.c [__STDC__]: Make code unconditional.
8563         [!__STDC__]: Remove conditional code.
8564         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8565         [!__STDC__]: Remove conditional code.
8566         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8567         [!__STDC__]: Remove conditional code.
8568         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8569         function definition.
8570         (STRTOF): Likewise.
8571         * stdlib/strtod_l.c (__STRTOF): Likewise.
8572         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8573         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8574         (__strtol_l): Likewise.
8575         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8576         [!__STDC__]: Remove conditional code.
8577         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8578         definition.
8579         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8580         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8581         type.
8582         (__strcasecmp): Convert to prototype-style function definition.
8583         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8584         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8585         type.
8586         (__strncasecmp): Convert to prototype-style function definition.
8587         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8588         * sunrpc/xdr.c (xdr_union): Likewise.
8589         * sunrpc/xdr_array.c (xdr_array): Likewise.
8590         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8591         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8592         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8593         Likewise.
8594         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8595         Likewise.
8596         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8597         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8598         Likewise.
8599         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8600         (LOCALE_PARAM_PROTO): Likewise.
8601         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8602         argument type.
8603         (ut_argument_spec): Remove macro.
8604         (ut_argument_spec_iso): Rename to ut_argument_spec.
8605         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8606         prototype-style function definition.
8607         (memcpy_uppcase): Likewise.
8608         (__strftime_internal): Likewise.
8609         (my_strftime): Likewise.
8610         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8611         (LOCALE_PARAM_DECL): Likewise.
8612         [_LIBC] (LOCALE_PARAM): Include argument type.
8613         (__strptime_internal): Convert to prototype-style function
8614         definition.
8615         (strptime): Likewise.
8616         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8617         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8618         type.
8619         (__wcscasecmp): Convert to prototype-style function definition.
8620         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8621         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8622         type.
8623         (__wcsncasecmp): Convert to prototype-style function definition.
8625         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8626         function definition.
8627         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8628         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8629         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8630         * elf/dl-minimal.c (_itoa): Likewise.
8631         * hurd/hurdmalloc.c (malloc): Likewise.
8632         (free): Likewise.
8633         (realloc): Likewise.
8634         * inet/inet6_option.c (inet6_option_space): Likewise.
8635         (inet6_option_init): Likewise.
8636         (inet6_option_append): Likewise.
8637         (inet6_option_alloc): Likewise.
8638         (inet6_option_next): Likewise.
8639         (inet6_option_find): Likewise.
8640         * io/ftw.c (FTW_NAME): Likewise.
8641         (NFTW_NAME): Likewise.
8642         (NFTW_NEW_NAME): Likewise.
8643         (NFTW_OLD_NAME): Likewise.
8644         * libio/iofwide.c (_IO_fwide): Likewise.
8645         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8646         (_IO_str_init_static): Likewise.
8647         (_IO_str_init_readonly): Likewise.
8648         (_IO_str_overflow): Likewise.
8649         (_IO_str_underflow): Likewise.
8650         (_IO_str_count): Likewise.
8651         (_IO_str_seekoff): Likewise.
8652         (_IO_str_pbackfail): Likewise.
8653         (_IO_str_finish): Likewise.
8654         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8655         (_IO_wstr_overflow): Likewise.
8656         (_IO_wstr_underflow): Likewise.
8657         (_IO_wstr_count): Likewise.
8658         (_IO_wstr_seekoff): Likewise.
8659         (_IO_wstr_pbackfail): Likewise.
8660         (_IO_wstr_finish): Likewise.
8661         * locale/programs/localedef.c (normalize_codeset): Likewise.
8662         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8663         (add_locales_to_archive): Likewise.
8664         (delete_locales_from_archive): Likewise.
8665         * malloc/malloc.c (__libc_mallinfo): Likewise.
8666         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8667         * misc/tsearch.c (__tfind): Likewise.
8668         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8669         * nptl/pthread_attr_getdetachstate.c
8670         (__pthread_attr_getdetachstate): Likewise.
8671         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8672         Likewise.
8673         * nptl/pthread_attr_getinheritsched.c
8674         (__pthread_attr_getinheritsched): Likewise.
8675         * nptl/pthread_attr_getschedparam.c
8676         (__pthread_attr_getschedparam): Likewise.
8677         * nptl/pthread_attr_getschedpolicy.c
8678         (__pthread_attr_getschedpolicy): Likewise.
8679         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8680         Likewise.
8681         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8682         Likewise.
8683         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8684         Likewise.
8685         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8686         Likewise.
8687         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8688         (__pthread_attr_init_2_0): Likewise.
8689         * nptl/pthread_attr_setdetachstate.c
8690         (__pthread_attr_setdetachstate): Likewise.
8691         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8692         Likewise.
8693         * nptl/pthread_attr_setinheritsched.c
8694         (__pthread_attr_setinheritsched): Likewise.
8695         * nptl/pthread_attr_setschedparam.c
8696         (__pthread_attr_setschedparam): Likewise.
8697         * nptl/pthread_attr_setschedpolicy.c
8698         (__pthread_attr_setschedpolicy): Likewise.
8699         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8700         Likewise.
8701         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8702         Likewise.
8703         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8704         Likewise.
8705         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8706         Likewise.
8707         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8708         Likewise.
8709         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8710         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8711         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8712         use internal_function.
8713         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8714         prototype-style function definition.
8715         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8716         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8717         internal_function.
8718         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8719         Convert to prototype-style function definition.
8720         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8721         Likewise.
8722         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8723         Likewise.
8724         (__pthread_mutex_unlock): Likewise.
8725         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8726         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8727         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8728         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8729         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8730         * nss/makedb.c (process_input): Likewise.
8731         * posix/fnmatch.c (__strchrnul): Likewise.
8732         (__wcschrnul): Likewise.
8733         (fnmatch): Likewise.
8734         * posix/fnmatch_loop.c (FCT): Likewise.
8735         * posix/glob.c (globfree): Likewise.
8736         (__glob_pattern_type): Likewise.
8737         (__glob_pattern_p): Likewise.
8738         * posix/regcomp.c (re_compile_pattern): Likewise.
8739         (re_set_syntax): Likewise.
8740         (re_compile_fastmap): Likewise.
8741         (regcomp): Likewise.
8742         (regerror): Likewise.
8743         (regfree): Likewise.
8744         * posix/regexec.c (regexec): Likewise.
8745         (re_match): Likewise.
8746         (re_search): Likewise.
8747         (re_match_2): Likewise.
8748         (re_search_2): Likewise.
8749         (re_search_stub): Likewise.  Use internal_function
8750         (re_copy_regs): Likewise.
8751         (re_set_registers): Convert to prototype-style function
8752         definition.
8753         (prune_impossible_nodes): Likewise.  Use internal_function.
8754         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8755         prototype-style function definition.
8756         (inet_net_pton_ipv4): Likewise.
8757         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8758         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8759         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8760         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8761         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8762         Make variadic.
8763         * time/strptime_l.c (localtime_r): Convert to prototype-style
8764         function definition.
8765         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8766         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8767         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8768         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8770         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8771         definition.
8772         (_ufc_doit_r): Likewise.
8773         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8774         (_ufc_output_conversion_r): Likewise.
8775         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8776         * inet/rcmd.c (rcmd_af): Likewise.
8777         (rcmd): Likewise.
8778         (ruserok_af): Likewise.
8779         (ruserok): Likewise.
8780         (ruserok2_sa): Likewise.
8781         (ruserok_sa): Likewise.
8782         (iruserok_af): Likewise.
8783         (iruserok): Likewise.
8784         (__ivaliduser): Likewise.
8785         (__validuser2_sa): Likewise.
8786         * inet/rexec.c (rexec_af): Likewise.
8787         (rexec): Likewise.
8788         * inet/ruserpass.c (ruserpass): Likewise.
8789         * locale/programs/xmalloc.c (xcalloc): Likewise.
8790         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8791         * math/w_drem.c (__drem): Likewise.
8792         * math/w_dremf.c (__dremf): Likewise.
8793         * math/w_dreml.c (__dreml): Likewise.
8794         * misc/daemon.c (daemon): Likewise.
8795         * resolv/res_debug.c (p_fqnname): Likewise.
8796         * stdlib/div.c (div): Likewise.
8797         * string/memcmp.c (memcmp_bytes): Likewise.
8798         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8799         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8801         * crypt/cert.c (main): Convert to prototype-style function
8802         definition.
8803         * io/pipe.c (__pipe): Likewise.
8804         * io/pipe2.c (__pipe2): Likewise.
8805         * misc/futimesat.c (futimesat): Likewise.
8806         * misc/utimes.c (__utimes): Likewise.
8807         * posix/execve.c (__execve): Likewise.
8808         * posix/execvp.c (execvp): Likewise.
8809         * posix/execvpe.c (__execvpe): Likewise.
8810         * posix/fexecve.c (fexecve): Likewise.
8811         * socket/socketpair.c (socketpair): Likewise.
8812         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8813         * stdlib/erand48.c (erand48): Likewise.
8814         * stdlib/erand48_r.c (__erand48_r): Likewise.
8815         * stdlib/jrand48.c (jrand48): Likewise.
8816         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8817         * stdlib/lcong48.c (lcong48): Likewise.
8818         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8819         * stdlib/nrand48.c (nrand48): Likewise.
8820         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8821         * stdlib/seed48.c (seed48): Likewise.
8822         * stdlib/seed48_r.c (__seed48_r): Likewise.
8823         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8824         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8825         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8827 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8829         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8830         * configure: Regenerated.
8831         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8832         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8833         unconditional.
8834         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8835         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8836         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8837         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8838         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8839         unconditional.
8840         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8842         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8843         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8845         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8846         function definition.
8847         * crypt/crypt_util.c (__encrypt_r): Likewise.
8848         * libio/genops.c (_IO_no_init): Likewise.
8849         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8850         (_IO_old_fopencookie): Likewise.
8851         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8852         * libio/iogetline.c (_IO_getline): Likewise.
8853         (_IO_getline_info): Likewise.
8854         * libio/iogetwline.c (_IO_getwline): Likewise.
8855         (_IO_getwline_info): Likewise.
8856         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8857         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8858         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8859         (find_entry): Likewise.
8860         (iterate_table): Likewise.
8861         (lookup): Likewise.
8862         * login/forkpty.c (forkpty): Likewise.
8863         * misc/hsearch_r.c (__hsearch_r): Likewise.
8864         * misc/select.c (__select): Likewise.
8865         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8866         Likewise.
8867         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8868         Likewise.
8869         * nptl/old_pthread_cond_timedwait.c
8870         (__pthread_cond_timedwait_2_0): Likewise.
8871         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8872         * nptl/pthread_barrierattr_getpshared.c
8873         (pthread_barrierattr_getpshared): Likewise.
8874         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8875         Likewise.
8876         * nptl/pthread_mutex_setprioceiling.c
8877         (pthread_mutex_setprioceiling): Likewise.
8878         * nptl/pthread_mutexattr_getprioceiling.c
8879         (pthread_mutexattr_getprioceiling): Likewise.
8880         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8881         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8882         Likewise.
8883         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8884         Likewise.
8885         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8886         Likewise.
8887         * socket/recvfrom.c (__recvfrom): Likewise.
8888         * socket/sendto.c (__sendto): Likewise.
8889         * socket/setsockopt.c (__setsockopt): Likewise.
8890         * stdio-common/_itoa.c (_itoa): Likewise.
8891         * stdio-common/_itowa.c (_itowa): Likewise.
8892         * stdio-common/reg-printf.c (__register_printf_specifier):
8893         Likewise.
8894         (__register_printf_function): Likewise.
8895         * stdio-common/tempname.c (__path_search): Likewise.
8896         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8897         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8898         * stdlib/random_r.c (__initstate_r): Likewise.
8899         * stdlib/setenv.c (__add_to_environ): Likewise.
8900         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8901         * streams/getpmsg.c (getpmsg): Likewise.
8902         * streams/putmsg.c (putmsg): Likewise.
8903         * streams/putpmsg.c (putpmsg): Likewise.
8904         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8905         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8906         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8907         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8908         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8909         * sunrpc/svc_udp.c (cache_get): Likewise.
8910         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8911         * sysdeps/mach/hurd/getcwd.c
8912         (__canonicalize_directory_name_internal): Likewise.
8913         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8914         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8915         * sysdeps/mach/hurd/select.c (__select): Likewise.
8916         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8917         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8918         * sysdeps/sparc/nptl/pthread_barrier_init.c
8919         (__pthread_barrier_init): Likewise.
8920         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8921         (__pthread_cond_timedwait): Likewise.
8922         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8923         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8924         Likewise.
8925         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8926         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8927         Likewise.
8928         * sysvipc/semtimedop.c (semtimedop): Likewise.
8929         * time/setitimer.c (__setitimer): Likewise.
8930         * time/strftime_l.c (emacs_strftime): Likewise.
8932 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8934         * config.make.in (have-ssp): Delete.
8935         (stack-protector): New variable.
8936         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8937         cache test for -fstack-protector-strong.  Export stack_protector to
8938         the best ssp flag.
8939         * configure: Regenerated.
8940         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8941         * nscd/Makefile (CFLAGS-nscd): Likewise.
8942         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8944 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8946         [BZ #19122]
8947         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8948         attribute_hidden.
8950 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8952         [BZ #18743]
8953         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8954         code to...
8955         (ELIDE_LOCK): ...here.
8956         (__get_new_count): New function with part of the code from
8957         __elide_lock that updates the value of adapt_count after a
8958         transaction abort.
8959         (__elided_trylock): Moved this code to...
8960         (ELIDE_TRYLOCK): ...here.
8962 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8964         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8965         * configure: Regenerate.
8966         * INSTALL: Regenerate.
8967         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8968         and tweak grammar.
8970 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8972         * login/programs/pt_chown.c: Include signal.h
8973         (main): Clear any signal mask from the parent process.
8975 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8977         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8978         * configure: Regenerated.
8979         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8980         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8981         $(gnu89-inline-CFLAGS).
8983         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8984         test.
8985         (libc_cv_asm_weakext_directive): Likewise.
8986         * configure: Regenerated.
8987         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8988         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8989         * include/libc-symbols.h
8990         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8991         #error.
8992         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8993         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8995         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8996         prototype-style function definition.
8997         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8998         * sysdeps/i386/ffs.c (__ffs): Likewise.
8999         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9000         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9001         Likewise.
9002         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9003         Likewise.
9004         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9005         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9006         Likewise.
9007         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9008         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9009         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9010         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9011         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9012         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9013         * sysdeps/mach/hurd/access.c (__access): Likewise.
9014         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9015         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9016         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9017         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9018         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9019         (cthread_getspecific): Likewise.
9020         (cthread_setspecific): Likewise.
9021         (__libc_getspecific): Likewise.
9022         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9023         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9024         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9025         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9026         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9027         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9028         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9029         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9030         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9031         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9032         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9033         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9034         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9035         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9036         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9037         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9038         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9039         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9040         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9041         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9042         * sysdeps/mach/hurd/link.c (__link): Likewise.
9043         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9044         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9045         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9046         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9047         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9048         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9049         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9050         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9051         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9052         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9053         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9054         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9055         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9056         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9057         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9058         * sysdeps/mach/hurd/send.c (__send): Likewise.
9059         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9060         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9061         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9062         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9063         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9064         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9065         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9066         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9067         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9068         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9069         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9070         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9071         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9072         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9073         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9074         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9075         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9076         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9077         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9078         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9079         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9080         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9081         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9082         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9083         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9084         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9085         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9086         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9087         * sysdeps/posix/alarm.c (alarm): Likewise.
9088         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9089         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9090         * sysdeps/posix/dup.c (__dup): Likewise.
9091         * sysdeps/posix/dup2.c (__dup2): Likewise.
9092         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9093         (main): Likewise.
9094         * sysdeps/posix/flock.c (__flock): Likewise.
9095         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9096         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9097         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9098         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9099         * sysdeps/posix/isatty.c (__isatty): Likewise.
9100         * sysdeps/posix/killpg.c (killpg): Likewise.
9101         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9102         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9103         * sysdeps/posix/raise.c (raise): Likewise.
9104         * sysdeps/posix/remove.c (remove): Likewise.
9105         * sysdeps/posix/rename.c (rename): Likewise.
9106         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9107         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9108         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9109         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9110         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9111         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9112         * sysdeps/posix/sigset.c (sigset): Likewise.
9113         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9114         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9115         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9116         * sysdeps/posix/time.c (time): Likewise.
9117         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9118         (ttyname): Likewise.
9119         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9120         * sysdeps/posix/utime.c (utime): Likewise.
9121         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9122         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9123         Likewise.
9124         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9125         (pthread_spin_trylock): Likewise.
9126         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9127         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9128         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9129         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9130         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9131         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9132         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9133         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9134         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9135         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9136         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9137         * sysdeps/s390/ffs.c (__ffs): Likewise.
9138         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9139         Likewise.
9140         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9141         Likewise.
9142         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9143         Likewise.
9144         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9145         (pthread_barrier_destroy): Likewise.
9146         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9147         (__pthread_barrier_wait): Likewise.
9148         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9149         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9150         (__pthread_barrier_wait): Likewise.
9151         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9152         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9153         (memcmp_not_common_alignment): Likewise.
9154         (MEMCMP): Likewise.
9155         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9156         (_wordcopy_fwd_dest_aligned): Likewise.
9157         (_wordcopy_bwd_aligned): Likewise.
9158         (_wordcopy_bwd_dest_aligned): Likewise.
9159         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9160         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9161         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9162         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9163         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9164         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9165         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9166         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9167         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9168         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9169         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9170         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9171         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9172         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9173         * sysdeps/unix/stime.c (stime): Likewise.
9174         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9175         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9176         Likewise.  Use internal_function.
9177         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9178         Convert to prototype-style function definition.
9179         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9180         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9182         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9183         Likewise.  Use internal_function.
9184         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9185         prototype-style function definition
9186         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9187         Likewise.
9188         (__getlogin_r): Likewise.
9189         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9191         (__pthread_cond_broadcast): Likewise.
9192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9193         (__pthread_cond_destroy): Likewise.
9194         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9195         (__pthread_cond_init): Likewise.
9196         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9197         (__pthread_cond_signal): Likewise.
9198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9199         (__pthread_cond_wait): Likewise.
9200         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9201         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9202         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9203         Likewise.
9204         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9205         Likewise.
9206         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9207         Likewise.
9208         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9209         Likewise.
9210         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9212         (__ftruncate64): Likewise.
9213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9214         (truncate64): Likewise.
9215         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9216         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9217         (pthread_getcpuclockid): Likewise.
9218         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9219         Likewise.
9220         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9221         Likewise.
9222         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9223         Likewise.
9224         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9225         Likewise.
9226         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9227         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9228         (__libc_sigaction): Likewise.
9229         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9230         Likewise.
9231         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9232         (__sigprocmask): Likewise.
9233         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9234         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9235         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9236         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9237         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9238         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9239         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9240         Likewise.
9241         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9242         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9243         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9244         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9248         (__sigprocmask): Likewise.
9249         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9250         (cfgetispeed): Likewise.
9251         (cfsetospeed): Likewise.
9252         (cfsetispeed): Likewise.
9253         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9254         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9255         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9256         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9257         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9258         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9259         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9260         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9261         Likewise.
9262         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9263         Likewise.
9264         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9265         Likewise.
9266         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9267         Likewise.
9268         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9270 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9272         sunrpc: Rewrite with explicit TLS access using __thread.
9273         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9274         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9275         directly.
9276         (__rpc_thread_variables): Access thread_rpc_vars directly.
9277         Eliminate redundant assignment of the tvp variable.
9279 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9281         malloc: Rewrite with explicit TLS access using __thread.
9282         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9283         (tsd_setspecific, tsd_getspecific): Remove.
9284         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9285         (tsd_setspecific, tsd_getspecific): Likewise.
9286         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9287         (tsd_setspecific, tsd_getspecific): Likewise.
9288         * malloc/arena.c (thread_arena): New TLS variable.
9289         (arena_key): Remove variable.
9290         (arena_get): Use thread_arena.
9291         (arena_lookup): Remove macro.
9292         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9293         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9294         (_int_new_arena, get_free_list, reused_arena)
9295         (arena_thread_freeres): Use thread_arena.
9296         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9297         tsd_getspecific, tsd_setspecific from safety annotations.
9298         (Allocating Cleared Space): Remove arena_lookup from safety
9299         annotations.
9301 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9303         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9304         struct scratch_buffer instead of extend_alloca.
9306 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9308         * sysdeps/unix/sysv/linux/kernel-features.h
9309         (__ASSUME_SOCK_CLOEXEC): Remove.
9310         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9311         (__have_paccept): Remove unused macro.
9312         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9313         * misc/syslog.c (openlog_internal): Remove fallback code for
9314         !__ASSUME_SOCK_CLOEXEC.
9315         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9316         missing SOCK_CLOEXEC.
9317         * nscd/connections.c (have_sock_cloexec): Remove definition.
9318         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9319         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9320         !__ASSUME_SOCK_CLOEXEC.
9321         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9322         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9323         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9324         definition.
9325         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9326         code for !__ASSUME_SOCK_CLOEXEC.
9328 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9330         [BZ #18982]
9331         * manual/stdio.texi (Variable Arguments Output): Add portability
9332         note, explaining that vfprintf clobbers the va_list pointer.
9334 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9336         * math/libm-test.inc (fabs_test_data): Add more tests.
9337         (fdim_test_data): Likewise.
9338         (fma_test_data): Likewise.
9339         (fmax_test_data): Likewise.
9340         (fmin_test_data): Likewise.
9341         (fmod_test_data): Likewise.
9343 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9345         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9346         data.
9348 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9350         * math/libm-test.inc (ceil_test_data): Add more tests and more
9351         expectations for "inexact".
9352         (floor_test_data): Add more tests.
9353         (round_test_data): Likewise.
9354         (trunc_test_data): Likewise.
9356         * crypt/cert.c (good_bye): Convert to prototype-style function
9357         definition.
9358         (get8): Likewise.
9359         (put8): Likewise.
9360         * crypt/crypt-entry.c (crypt): Likewise.
9361         (__fcrypt): Likewise.
9362         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9363         (_ufc_set_bits): Likewise.
9364         (_ufc_clearmem): Likewise.
9365         (__init_des_r): Likewise.
9366         (shuffle_sb): Likewise.
9367         (shuffle_sb): Likewise.
9368         (_ufc_setup_salt_r): Likewise.
9369         (_ufc_mk_keytab_r): Likewise.
9370         (_ufc_dofinalperm_r): Likewise.
9371         (encrypt): Likewise.
9372         (__setkey_r): Likewise.
9373         (setkey): Likewise.
9374         * crypt/md5.c (md5_init_ctx): Likewise.
9375         (md5_read_ctx): Likewise.
9376         (md5_finish_ctx): Likewise.
9377         (md5_stream): Likewise.
9378         (md5_buffer): Likewise.
9379         (md5_process_bytes): Likewise.
9380         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9381         (__sha256_finish_ctx): Likewise.
9382         (__sha256_process_bytes): Likewise.
9383         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9384         (__sha512_finish_ctx): Likewise.
9385         (__sha512_process_bytes): Likewise.
9386         * ctype/isctype.c (__isctype): Likewise.
9387         * debug/backtrace.c (__backtrace): Likewise.
9388         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9389         * debug/fgets_chk.c (__fgets_chk): Likewise.
9390         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9391         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9392         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9393         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9394         * debug/memset_chk.c (__memset_chk): Likewise.
9395         * debug/strcat_chk.c (__strcat_chk): Likewise.
9396         * debug/strncat_chk.c (__strncat_chk): Likewise.
9397         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9398         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9399         * dirent/dirfd.c (dirfd): Likewise.
9400         * dirent/getdents.c (__getdirentries): Likewise.
9401         * dirent/getdents64.c (getdirentries64): Likewise.
9402         * dirent/rewinddir.c (__rewinddir): Likewise.
9403         * dirent/seekdir.c (seekdir): Likewise.
9404         * dirent/telldir.c (telldir): Likewise.
9405         * elf/sln.c (makesymlinks): Likewise.
9406         (makesymlink): Likewise.
9407         * gmon/gmon.c (__moncontrol): Likewise.
9408         (__monstartup): Likewise.
9409         (write_hist): Likewise.
9410         (write_call_graph): Likewise.
9411         (write_bb_counts): Likewise.
9412         * grp/setgroups.c (setgroups): Likewise.
9413         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9414         * inet/inet_net.c (inet_network): Likewise.
9415         * inet/inet_netof.c (inet_netof): Likewise.
9416         * inet/rcmd.c (rresvport_af): Likewise.
9417         (rresvport): Likewise.
9418         * io/access.c (__access): Likewise.
9419         * io/chdir.c (__chdir): Likewise.
9420         * io/chmod.c (__chmod): Likewise.
9421         * io/chown.c (__chown): Likewise.
9422         * io/close.c (__close): Likewise.
9423         * io/creat.c (creat): Likewise.
9424         * io/creat64.c (creat64): Likewise.
9425         * io/dup.c (__dup): Likewise.
9426         * io/dup2.c (__dup2): Likewise.
9427         * io/dup3.c (__dup3): Likewise.
9428         * io/euidaccess.c (__euidaccess): Likewise.
9429         * io/faccessat.c (faccessat): Likewise.
9430         * io/fchmod.c (__fchmod): Likewise.
9431         * io/fchmodat.c (fchmodat): Likewise.
9432         * io/fchown.c (__fchown): Likewise.
9433         * io/fchownat.c (fchownat): Likewise.
9434         * io/fcntl.c (__fcntl): Likewise.
9435         * io/flock.c (__flock): Likewise.
9436         * io/fts.c (fts_load): Likewise.
9437         (fts_close): Likewise.
9438         (fts_read): Likewise.
9439         (fts_set): Likewise.
9440         (fts_children): Likewise.
9441         (fts_build): Likewise.
9442         (fts_stat): Likewise.
9443         (fts_sort): Likewise.
9444         (fts_alloc): Likewise.
9445         (fts_lfree): Likewise.
9446         (fts_palloc): Likewise.
9447         (fts_padjust): Likewise.
9448         (fts_maxarglen): Likewise.
9449         (fts_safe_changedir): Likewise.
9450         * io/getwd.c (getwd): Likewise.
9451         * io/isatty.c (__isatty): Likewise.
9452         * io/lchown.c (__lchown): Likewise.
9453         * io/link.c (__link): Likewise.
9454         * io/linkat.c (linkat): Likewise.
9455         * io/lseek.c (__libc_lseek): Likewise.
9456         * io/mkdir.c (__mkdir): Likewise.
9457         * io/mkdirat.c (mkdirat): Likewise.
9458         * io/mkfifo.c (mkfifo): Likewise.
9459         * io/mkfifoat.c (mkfifoat): Likewise.
9460         * io/open.c (__libc_open): Likewise.
9461         * io/open64.c (__libc_open64): Likewise.
9462         * io/readlink.c (__readlink): Likewise.
9463         * io/readlinkat.c (readlinkat): Likewise.
9464         * io/rmdir.c (__rmdir): Likewise.
9465         * io/symlink.c (__symlink): Likewise.
9466         * io/symlinkat.c (symlinkat): Likewise.
9467         * io/ttyname.c (ttyname): Likewise.
9468         * io/ttyname_r.c (__ttyname_r): Likewise.
9469         * io/umask.c (__umask): Likewise.
9470         * io/unlink.c (__unlink): Likewise.
9471         * io/unlinkat.c (unlinkat): Likewise.
9472         * io/utime.c (utime): Likewise.
9473         * libio/clearerr.c (clearerr): Likewise.
9474         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9475         * libio/feof.c (_IO_feof): Likewise.
9476         * libio/feof_u.c (feof_unlocked): Likewise.
9477         * libio/ferror.c (_IO_ferror): Likewise.
9478         * libio/ferror_u.c (ferror_unlocked): Likewise.
9479         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9480         * libio/fileno.c (__fileno): Likewise.
9481         * libio/fputc.c (fputc): Likewise.
9482         * libio/fputc_u.c (fputc_unlocked): Likewise.
9483         * libio/fputwc.c (fputwc): Likewise.
9484         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9485         * libio/freopen.c (freopen): Likewise.
9486         * libio/freopen64.c (freopen64): Likewise.
9487         * libio/fseek.c (fseek): Likewise.
9488         * libio/fseeko.c (fseeko): Likewise.
9489         * libio/fseeko64.c (fseeko64): Likewise.
9490         * libio/ftello.c (__ftello): Likewise.
9491         * libio/ftello64.c (ftello64): Likewise.
9492         * libio/fwide.c (fwide): Likewise.
9493         * libio/genops.c (_IO_un_link): Likewise.
9494         (_IO_link_in): Likewise.
9495         (_IO_least_marker): Likewise.
9496         (_IO_switch_to_main_get_area): Likewise.
9497         (_IO_switch_to_backup_area): Likewise.
9498         (_IO_switch_to_get_mode): Likewise.
9499         (_IO_free_backup_area): Likewise.
9500         (_IO_switch_to_put_mode): Likewise.
9501         (__overflow): Likewise.
9502         (__underflow): Likewise.
9503         (__uflow): Likewise.
9504         (_IO_setb): Likewise.
9505         (_IO_doallocbuf): Likewise.
9506         (_IO_default_underflow): Likewise.
9507         (_IO_default_uflow): Likewise.
9508         (_IO_default_xsputn): Likewise.
9509         (_IO_sgetn): Likewise.
9510         (_IO_default_xsgetn): Likewise.
9511         (_IO_sync): Likewise.
9512         (_IO_default_setbuf): Likewise.
9513         (_IO_default_seekpos): Likewise.
9514         (_IO_default_doallocate): Likewise.
9515         (_IO_init): Likewise.
9516         (_IO_old_init): Likewise.
9517         (_IO_default_sync): Likewise.
9518         (_IO_default_finish): Likewise.
9519         (_IO_default_seekoff): Likewise.
9520         (_IO_sputbackc): Likewise.
9521         (_IO_sungetc): Likewise.
9522         (_IO_set_column): Likewise.
9523         (_IO_set_column): Likewise.
9524         (_IO_adjust_column): Likewise.
9525         (_IO_get_column): Likewise.
9526         (_IO_init_marker): Likewise.
9527         (_IO_remove_marker): Likewise.
9528         (_IO_marker_difference): Likewise.
9529         (_IO_marker_delta): Likewise.
9530         (_IO_seekmark): Likewise.
9531         (_IO_unsave_markers): Likewise.
9532         (_IO_nobackup_pbackfail): Likewise.
9533         (_IO_default_pbackfail): Likewise.
9534         (_IO_default_seek): Likewise.
9535         (_IO_default_stat): Likewise.
9536         (_IO_default_read): Likewise.
9537         (_IO_default_write): Likewise.
9538         (_IO_default_showmanyc): Likewise.
9539         (_IO_default_imbue): Likewise.
9540         (_IO_iter_next): Likewise.
9541         (_IO_iter_file): Likewise.
9542         * libio/getc.c (_IO_getc): Likewise.
9543         * libio/getwc.c (_IO_getwc): Likewise.
9544         * libio/iofclose.c (_IO_new_fclose): Likewise.
9545         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9546         * libio/iofflush.c (_IO_fflush): Likewise.
9547         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9548         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9549         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9550         * libio/iofgets.c (_IO_fgets): Likewise.
9551         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9552         * libio/iofgetws.c (fgetws): Likewise.
9553         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9554         * libio/iofopen64.c (_IO_fopen64): Likewise.
9555         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9556         (_IO_cookie_write): Likewise.
9557         (_IO_cookie_seek): Likewise.
9558         (_IO_cookie_close): Likewise.
9559         (_IO_cookie_seekoff): Likewise.
9560         (_IO_old_cookie_seek): Likewise.
9561         * libio/iofputs.c (_IO_fputs): Likewise.
9562         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9563         * libio/iofputws.c (fputws): Likewise.
9564         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9565         * libio/iofread.c (_IO_fread): Likewise.
9566         * libio/iofread_u.c (__fread_unlocked): Likewise.
9567         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9568         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9569         * libio/ioftell.c (_IO_ftell): Likewise.
9570         * libio/iofwrite.c (_IO_fwrite): Likewise.
9571         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9572         * libio/iogets.c (_IO_gets): Likewise.
9573         * libio/iopadn.c (_IO_padn): Likewise.
9574         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9575         (_IO_new_popen): Likewise.
9576         (_IO_new_proc_close): Likewise.
9577         * libio/ioputs.c (_IO_puts): Likewise.
9578         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9579         (_IO_seekoff): Likewise.
9580         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9581         (_IO_seekpos): Likewise.
9582         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9583         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9584         * libio/ioungetc.c (_IO_ungetc): Likewise.
9585         * libio/ioungetwc.c (ungetwc): Likewise.
9586         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9587         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9588         * libio/iowpadn.c (_IO_wpadn): Likewise.
9589         * libio/libc_fatal.c (__libc_fatal): Likewise.
9590         * libio/memstream.c (__open_memstream): Likewise.
9591         (_IO_mem_sync): Likewise.
9592         (_IO_mem_finish): Likewise.
9593         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9594         (_IO_old_file_close_it): Likewise.
9595         (_IO_old_file_finish): Likewise.
9596         (_IO_old_file_fopen): Likewise.
9597         (_IO_old_file_attach): Likewise.
9598         (_IO_old_file_setbuf): Likewise.
9599         (_IO_old_do_write): Likewise.
9600         (old_do_write): Likewise.
9601         (_IO_old_file_underflow): Likewise.
9602         (_IO_old_file_overflow): Likewise.
9603         (_IO_old_file_sync): Likewise.
9604         (_IO_old_file_seekoff): Likewise.
9605         (_IO_old_file_write): Likewise.
9606         (_IO_old_file_xsputn): Likewise.
9607         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9608         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9609         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9610         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9611         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9612         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9613         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9614         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9615         (_IO_old_popen): Likewise.
9616         (_IO_old_proc_close): Likewise.
9617         * libio/oldpclose.c (__old_pclose): Likewise.
9618         * libio/pclose.c (__new_pclose): Likewise.
9619         * libio/peekc.c (_IO_peekc_locked): Likewise.
9620         * libio/putc.c (_IO_putc): Likewise.
9621         * libio/putc_u.c (putc_unlocked): Likewise.
9622         * libio/putchar.c (putchar): Likewise.
9623         * libio/putchar_u.c (putchar_unlocked): Likewise.
9624         * libio/putwc.c (putwc): Likewise.
9625         * libio/putwc_u.c (putwc_unlocked): Likewise.
9626         * libio/putwchar.c (putwchar): Likewise.
9627         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9628         * libio/rewind.c (rewind): Likewise.
9629         * libio/setbuf.c (setbuf): Likewise.
9630         * libio/setlinebuf.c (setlinebuf): Likewise.
9631         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9632         * libio/vscanf.c (_IO_vscanf): Likewise.
9633         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9634         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9635         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9636         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9637         (_IO_switch_to_main_wget_area): Likewise.
9638         (_IO_switch_to_wbackup_area): Likewise.
9639         (_IO_wsetb): Likewise.
9640         (_IO_wdefault_pbackfail): Likewise.
9641         (_IO_wdefault_finish): Likewise.
9642         (_IO_wdefault_uflow): Likewise.
9643         (__woverflow): Likewise.
9644         (__wuflow): Likewise.
9645         (__wunderflow): Likewise.
9646         (_IO_wdefault_xsputn): Likewise.
9647         (_IO_wdefault_xsgetn): Likewise.
9648         (_IO_wdoallocbuf): Likewise.
9649         (_IO_wdefault_doallocate): Likewise.
9650         (_IO_switch_to_wget_mode): Likewise.
9651         (_IO_free_wbackup_area): Likewise.
9652         (_IO_switch_to_wput_mode): Likewise.
9653         (_IO_sputbackwc): Likewise.
9654         (_IO_sungetwc): Likewise.
9655         (_IO_adjust_wcolumn): Likewise.
9656         (_IO_init_wmarker): Likewise.
9657         (_IO_wmarker_delta): Likewise.
9658         (_IO_seekwmark): Likewise.
9659         (_IO_unsave_wmarkers): Likewise.
9660         * libio/wmemstream.c (open_wmemstream): Likewise.
9661         (_IO_wmem_sync): Likewise.
9662         (_IO_wmem_finish): Likewise.
9663         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9664         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9665         * locale/programs/simple-hash.c (init_hash): Likewise.
9666         (delete_hash): Likewise.
9667         (insert_entry): Likewise.
9668         (set_entry): Likewise.
9669         (next_prime): Likewise.
9670         (is_prime): Likewise.
9671         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9672         (xmalloc): Likewise.
9673         (xrealloc): Likewise.
9674         * locale/programs/xstrdup.c (xstrdup): Likewise.
9675         * localedata/collate-test.c (xstrcoll): Likewise.
9676         * localedata/xfrm-test.c (xstrcmp): Likewise.
9677         * login/getlogin_r.c (__getlogin_r): Likewise.
9678         * login/getpt.c (__posix_openpt): Likewise.
9679         * login/login_tty.c (login_tty): Likewise.
9680         * login/setlogin.c (setlogin): Likewise.
9681         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9682         (mach_msg_destroy_port): Likewise.
9683         (mach_msg_destroy_memory): Likewise.
9684         * malloc/mcheck.c (flood): Likewise.
9685         * misc/acct.c (acct): Likewise.
9686         * misc/brk.c (__brk): Likewise.
9687         * misc/chflags.c (chflags): Likewise.
9688         * misc/chroot.c (chroot): Likewise.
9689         * misc/fchflags.c (fchflags): Likewise.
9690         * misc/fstab.c (getfsspec): Likewise.
9691         (getfsfile): Likewise.
9692         * misc/fsync.c (fsync): Likewise.
9693         * misc/ftruncate.c (__ftruncate): Likewise.
9694         * misc/ftruncate64.c (__ftruncate64): Likewise.
9695         * misc/getdomain.c (getdomainname): Likewise.
9696         (getdomainname): Likewise.
9697         * misc/gethostname.c (__gethostname): Likewise.
9698         * misc/getpass.c (getpass): Likewise.
9699         * misc/getttyent.c (skip): Likewise.
9700         (value): Likewise.
9701         * misc/gtty.c (gtty): Likewise.
9702         * misc/hsearch.c (hsearch): Likewise.
9703         (hcreate): Likewise.
9704         * misc/hsearch_r.c (__hcreate_r): Likewise.
9705         (__hdestroy_r): Likewise.
9706         * misc/ioctl.c (__ioctl): Likewise.
9707         * misc/mkdtemp.c (mkdtemp): Likewise.
9708         * misc/mkostemp.c (mkostemp): Likewise.
9709         * misc/mkostemp64.c (mkostemp64): Likewise.
9710         * misc/mkostemps.c (mkostemps): Likewise.
9711         * misc/mkostemps64.c (mkostemps64): Likewise.
9712         * misc/mkstemp.c (mkstemp): Likewise.
9713         * misc/mkstemp64.c (mkstemp64): Likewise.
9714         * misc/mkstemps.c (mkstemps): Likewise.
9715         * misc/mkstemps64.c (mkstemps64): Likewise.
9716         * misc/mktemp.c (__mktemp): Likewise.
9717         * misc/preadv.c (preadv): Likewise.
9718         * misc/preadv64.c (preadv64): Likewise.
9719         * misc/pwritev.c (pwritev): Likewise.
9720         * misc/pwritev64.c (pwritev64): Likewise.
9721         * misc/readv.c (__readv): Likewise.
9722         * misc/revoke.c (revoke): Likewise.
9723         * misc/setdomain.c (setdomainname): Likewise.
9724         * misc/setegid.c (setegid): Likewise.
9725         * misc/seteuid.c (seteuid): Likewise.
9726         * misc/sethostid.c (sethostid): Likewise.
9727         * misc/sethostname.c (sethostname): Likewise.
9728         * misc/setregid.c (__setregid): Likewise.
9729         * misc/setreuid.c (__setreuid): Likewise.
9730         * misc/sstk.c (sstk): Likewise.
9731         * misc/stty.c (stty): Likewise.
9732         * misc/syscall.c (syscall): Likewise.
9733         * misc/syslog.c (setlogmask): Likewise.
9734         * misc/truncate.c (__truncate): Likewise.
9735         * misc/truncate64.c (truncate64): Likewise.
9736         * misc/ualarm.c (ualarm): Likewise.
9737         * misc/usleep.c (usleep): Likewise.
9738         * misc/ustat.c (ustat): Likewise.
9739         * misc/writev.c (__writev): Likewise.
9740         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9741         * nptl/old_pthread_cond_broadcast.c
9742         (__pthread_cond_broadcast_2_0): Likewise.
9743         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9744         Likewise.
9745         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9746         Likewise.
9747         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9748         Likewise.
9749         * nptl/pt-raise.c (raise): Likewise.
9750         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9751         Likewise.
9752         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9753         * nptl/pthread_barrierattr_destroy.c
9754         (pthread_barrierattr_destroy): Likewise.
9755         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9756         Likewise.
9757         * nptl/pthread_barrierattr_setpshared.c
9758         (pthread_barrierattr_setpshared): Likewise.
9759         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9760         Likewise.
9761         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9762         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9763         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9764         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9765         Likewise.
9766         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9767         Likewise.
9768         * nptl/pthread_condattr_getpshared.c
9769         (pthread_condattr_getpshared): Likewise.
9770         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9771         Likewise.
9772         * nptl/pthread_condattr_setpshared.c
9773         (pthread_condattr_setpshared): Likewise.
9774         * nptl/pthread_detach.c (pthread_detach): Likewise.
9775         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9776         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9777         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9778         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9779         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9780         Likewise.
9781         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9782         Likewise.
9783         * nptl/pthread_mutex_getprioceiling.c
9784         (pthread_mutex_getprioceiling): Likewise.
9785         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9786         Likewise.
9787         * nptl/pthread_mutexattr_getprotocol.c
9788         (pthread_mutexattr_getprotocol): Likewise.
9789         * nptl/pthread_mutexattr_getpshared.c
9790         (pthread_mutexattr_getpshared): Likewise.
9791         * nptl/pthread_mutexattr_getrobust.c
9792         (pthread_mutexattr_getrobust): Likewise.
9793         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9794         Likewise.
9795         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9796         Likewise.
9797         * nptl/pthread_mutexattr_setprioceiling.c
9798         (pthread_mutexattr_setprioceiling): Likewise.
9799         * nptl/pthread_mutexattr_setprotocol.c
9800         (pthread_mutexattr_setprotocol): Likewise.
9801         * nptl/pthread_mutexattr_setpshared.c
9802         (pthread_mutexattr_setpshared): Likewise.
9803         * nptl/pthread_mutexattr_setrobust.c
9804         (pthread_mutexattr_setrobust): Likewise.
9805         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9806         Likewise.
9807         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9808         Likewise.
9809         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9810         Likewise.
9811         * nptl/pthread_rwlockattr_getkind_np.c
9812         (pthread_rwlockattr_getkind_np): Likewise.
9813         * nptl/pthread_rwlockattr_getpshared.c
9814         (pthread_rwlockattr_getpshared): Likewise.
9815         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9816         Likewise.
9817         * nptl/pthread_rwlockattr_setkind_np.c
9818         (pthread_rwlockattr_setkind_np): Likewise.
9819         * nptl/pthread_rwlockattr_setpshared.c
9820         (pthread_rwlockattr_setpshared): Likewise.
9821         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9822         Likewise.
9823         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9824         Likewise.
9825         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9826         Likewise.
9827         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9828         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9829         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9830         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9831         * nptl/sem_close.c (sem_close): Likewise.
9832         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9833         * nptl/sem_init.c (__old_sem_init): Likewise.
9834         * nptl/sigaction.c (__sigaction): Likewise.
9835         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9836         * posix/_exit.c (_exit): Likewise.
9837         * posix/alarm.c (alarm): Likewise.
9838         * posix/confstr.c (confstr): Likewise.
9839         * posix/fpathconf.c (__fpathconf): Likewise.
9840         * posix/getgroups.c (__getgroups): Likewise.
9841         * posix/getpgid.c (__getpgid): Likewise.
9842         * posix/group_member.c (__group_member): Likewise.
9843         * posix/pathconf.c (__pathconf): Likewise.
9844         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9845         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9846         * posix/setgid.c (__setgid): Likewise.
9847         * posix/setpgid.c (__setpgid): Likewise.
9848         * posix/setuid.c (__setuid): Likewise.
9849         * posix/sleep.c (__sleep): Likewise.
9850         * posix/sysconf.c (__sysconf): Likewise.
9851         * posix/times.c (__times): Likewise.
9852         * posix/uname.c (__uname): Likewise.
9853         * posix/waitid.c (__waitid): Likewise.
9854         * pwd/getpw.c (__getpw): Likewise.
9855         * resolv/base64.c (b64_pton): Likewise.
9856         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9857         * resolv/gethnamaddr.c (Dprintf): Likewise.
9858         (gethostbyname): Likewise.
9859         (gethostbyname2): Likewise.
9860         (gethostbyaddr): Likewise.
9861         (_sethtent): Likewise.
9862         (_gethtbyname): Likewise.
9863         (_gethtbyname2): Likewise.
9864         (_gethtbyaddr): Likewise.
9865         (map_v4v6_address): Likewise.
9866         (map_v4v6_hostent): Likewise.
9867         (addrsort): Likewise.
9868         (ht_sethostent): Likewise.
9869         (ht_gethostbyname): Likewise.
9870         (ht_gethostbyaddr): Likewise.
9871         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9872         (inet_net_ntop_ipv4): Likewise.
9873         * resolv/inet_neta.c (inet_neta): Likewise.
9874         * resolv/inet_ntop.c (inet_ntop): Likewise.
9875         (inet_ntop4): Likewise.
9876         (inet_ntop6): Likewise.
9877         * resolv/inet_pton.c (__inet_pton): Likewise.
9878         (inet_pton4): Likewise.
9879         (inet_pton6): Likewise.
9880         * resolv/res_debug.c (loc_aton): Likewise.
9881         (loc_ntoa): Likewise.
9882         * resource/getpriority.c (__getpriority): Likewise.
9883         * resource/getrusage.c (__getrusage): Likewise.
9884         * resource/nice.c (nice): Likewise.
9885         * resource/setpriority.c (__setpriority): Likewise.
9886         * resource/setrlimit64.c (setrlimit64): Likewise.
9887         * resource/vlimit.c (vlimit): Likewise.
9888         * resource/vtimes.c (vtimes): Likewise.
9889         * rt/aio_error.c (aio_error): Likewise.
9890         * rt/aio_return.c (aio_return): Likewise.
9891         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9892         * signal/kill.c (__kill): Likewise.
9893         * signal/killpg.c (killpg): Likewise.
9894         * signal/raise.c (raise): Likewise.
9895         * signal/sigaction.c (__sigaction): Likewise.
9896         * signal/sigaddset.c (sigaddset): Likewise.
9897         * signal/sigaltstack.c (sigaltstack): Likewise.
9898         * signal/sigandset.c (sigandset): Likewise.
9899         * signal/sigblock.c (__sigblock): Likewise.
9900         * signal/sigdelset.c (sigdelset): Likewise.
9901         * signal/sigempty.c (sigemptyset): Likewise.
9902         * signal/sigfillset.c (sigfillset): Likewise.
9903         * signal/sighold.c (sighold): Likewise.
9904         * signal/sigignore.c (sigignore): Likewise.
9905         * signal/sigintr.c (siginterrupt): Likewise.
9906         * signal/sigisempty.c (sigisemptyset): Likewise.
9907         * signal/sigismem.c (sigismember): Likewise.
9908         * signal/signal.c (signal): Likewise.
9909         * signal/sigorset.c (sigorset): Likewise.
9910         * signal/sigpause.c (__sigpause): Likewise.
9911         * signal/sigpending.c (sigpending): Likewise.
9912         * signal/sigprocmask.c (__sigprocmask): Likewise.
9913         * signal/sigrelse.c (sigrelse): Likewise.
9914         * signal/sigreturn.c (__sigreturn): Likewise.
9915         * signal/sigset.c (sigset): Likewise.
9916         * signal/sigsetmask.c (__sigsetmask): Likewise.
9917         * signal/sigstack.c (sigstack): Likewise.
9918         * signal/sigsuspend.c (__sigsuspend): Likewise.
9919         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9920         * signal/sysv_signal.c (__sysv_signal): Likewise.
9921         * socket/accept.c (accept): Likewise.
9922         * socket/accept4.c (__libc_accept4): Likewise.
9923         * socket/bind.c (__bind): Likewise.
9924         * socket/connect.c (__connect): Likewise.
9925         * socket/getpeername.c (getpeername): Likewise.
9926         * socket/getsockname.c (__getsockname): Likewise.
9927         * socket/getsockopt.c (getsockopt): Likewise.
9928         * socket/listen.c (__listen): Likewise.
9929         * socket/recv.c (__recv): Likewise.
9930         * socket/recvmsg.c (__recvmsg): Likewise.
9931         * socket/send.c (__send): Likewise.
9932         * socket/sendmsg.c (__sendmsg): Likewise.
9933         * socket/shutdown.c (shutdown): Likewise.
9934         * socket/sockatmark.c (sockatmark): Likewise.
9935         * socket/socket.c (__socket): Likewise.
9936         * stdio-common/ctermid.c (ctermid): Likewise.
9937         * stdio-common/cuserid.c (cuserid): Likewise.
9938         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9939         * stdio-common/remove.c (remove): Likewise.
9940         * stdio-common/rename.c (rename): Likewise.
9941         * stdio-common/renameat.c (renameat): Likewise.
9942         * stdio-common/tempname.c (__gen_tempname): Likewise.
9943         * stdio-common/xbug.c (InitBuffer): Likewise.
9944         (AppendToBuffer): Likewise.
9945         (ReadFile): Likewise.
9946         * stdlib/a64l.c (a64l): Likewise.
9947         * stdlib/drand48_r.c (drand48_r): Likewise.
9948         * stdlib/getcontext.c (getcontext): Likewise.
9949         * stdlib/getenv.c (getenv): Likewise.
9950         * stdlib/l64a.c (l64a): Likewise.
9951         * stdlib/llabs.c (llabs): Likewise.
9952         * stdlib/lldiv.c (lldiv): Likewise.
9953         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9954         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9955         * stdlib/putenv.c (putenv): Likewise.
9956         * stdlib/random.c (__srandom): Likewise.
9957         (__initstate): Likewise.
9958         (__setstate): Likewise.
9959         * stdlib/random_r.c (__srandom_r): Likewise.
9960         (__setstate_r): Likewise.
9961         (__random_r): Likewise.
9962         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9963         * stdlib/setcontext.c (setcontext): Likewise.
9964         * stdlib/setenv.c (setenv): Likewise.
9965         (unsetenv): Likewise.
9966         * stdlib/srand48.c (srand48): Likewise.
9967         * stdlib/srand48_r.c (__srand48_r): Likewise.
9968         * stdlib/swapcontext.c (swapcontext): Likewise.
9969         * stdlib/system.c (__libc_system): Likewise.
9970         * stdlib/tst-strtod.c (expand): Likewise.
9971         * stdlib/tst-strtol.c (expand): Likewise.
9972         * stdlib/tst-strtoll.c (expand): Likewise.
9973         * streams/fattach.c (fattach): Likewise.
9974         * streams/fdetach.c (fdetach): Likewise.
9975         * streams/getmsg.c (getmsg): Likewise.
9976         * streams/isastream.c (isastream): Likewise.
9977         * string/ffs.c (__ffs): Likewise.
9978         * string/ffsll.c (ffsll): Likewise.
9979         * string/memcmp.c (memcmp_common_alignment): Likewise.
9980         (memcmp_not_common_alignment): Likewise.
9981         (MEMCMP): Likewise.
9982         * string/memcpy.c (memcpy): Likewise.
9983         * string/memmove.c (MEMMOVE): Likewise.
9984         * string/memset.c (memset): Likewise.
9985         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9986         * string/strchrnul.c (STRCHRNUL): Likewise.
9987         * string/strerror.c (strerror): Likewise.
9988         * string/strndup.c (__strndup): Likewise.
9989         * string/strverscmp.c (__strverscmp): Likewise.
9990         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9991         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9992         (clnttcp_freeres): Likewise.
9993         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9994         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9995         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9996         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9997         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9998         (xdr_callhdr): Likewise.
9999         * sunrpc/rpcinfo.c (udpping): Likewise.
10000         (tcpping): Likewise.
10001         (pstatus): Likewise.
10002         (pmapdump): Likewise.
10003         (brdcst): Likewise.
10004         (deletereg): Likewise.
10005         (getprognum): Likewise.
10006         (getvers): Likewise.
10007         (get_inet_address): Likewise.
10008         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10009         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10010         (svcudp_stat): Likewise.
10011         (svcudp_recv): Likewise.
10012         (svcudp_reply): Likewise.
10013         (svcudp_getargs): Likewise.
10014         (svcudp_freeargs): Likewise.
10015         (svcudp_destroy): Likewise.
10016         * sunrpc/xdr.c (xdr_bytes): Likewise.
10017         (xdr_netobj): Likewise.
10018         (xdr_string): Likewise.
10019         (xdr_wrapstring): Likewise.
10020         * sunrpc/xdr_float.c (xdr_float): Likewise.
10021         (xdr_double): Likewise.
10022         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10023         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10024         * sysvipc/ftok.c (ftok): Likewise.
10025         * sysvipc/msgctl.c (msgctl): Likewise.
10026         * sysvipc/msgget.c (msgget): Likewise.
10027         * sysvipc/msgrcv.c (msgrcv): Likewise.
10028         * sysvipc/msgsnd.c (msgsnd): Likewise.
10029         * sysvipc/semget.c (semget): Likewise.
10030         * sysvipc/semop.c (semop): Likewise.
10031         * sysvipc/shmat.c (shmat): Likewise.
10032         * sysvipc/shmctl.c (shmctl): Likewise.
10033         * sysvipc/shmdt.c (shmdt): Likewise.
10034         * sysvipc/shmget.c (shmget): Likewise.
10035         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10036         * termios/speed.c (cfgetospeed): Likewise.
10037         (cfgetispeed): Likewise.
10038         (cfsetospeed): Likewise.
10039         (cfsetispeed): Likewise.
10040         * termios/tcflow.c (tcflow): Likewise.
10041         * termios/tcflush.c (tcflush): Likewise.
10042         * termios/tcgetattr.c (__tcgetattr): Likewise.
10043         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10044         * termios/tcgetsid.c (tcgetsid): Likewise.
10045         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10046         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10047         * time/adjtime.c (__adjtime): Likewise.
10048         * time/dysize.c (dysize): Likewise.
10049         * time/ftime.c (ftime): Likewise.
10050         * time/getitimer.c (__getitimer): Likewise.
10051         * time/gettimeofday.c (__gettimeofday): Likewise.
10052         * time/gmtime.c (__gmtime_r): Likewise.
10053         (gmtime): Likewise.
10054         * time/localtime.c (__localtime_r): Likewise.
10055         (localtime): Likewise.
10056         * time/offtime.c (__offtime): Likewise.
10057         * time/settimeofday.c (__settimeofday): Likewise.
10058         * time/stime.c (stime): Likewise.
10059         * time/strftime_l.c (tm_diff): Likewise.
10060         (iso_week_days): Likewise.
10061         * time/strptime.c (strptime): Likewise.
10062         * time/time.c (time): Likewise.
10063         * time/timespec_get.c (timespec_get): Likewise.
10064         * time/tzset.c (tzset_internal): Likewise.
10065         (compute_change): Likewise.
10066         (__tz_compute): Likewise.
10067         * wcsmbs/btowc.c (__btowc): Likewise.
10068         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10069         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10070         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10071         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10072         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10073         * wcsmbs/wcscat.c (__wcscat): Likewise.
10074         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10075         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10076         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10077         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10078         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10079         * wcsmbs/wcslen.c (__wcslen): Likewise.
10080         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10081         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10082         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10083         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10084         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10085         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10086         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10087         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10088         * wcsmbs/wcstok.c (wcstok): Likewise.
10089         * wcsmbs/wctob.c (wctob): Likewise.
10090         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10091         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10092         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10093         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10094         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10095         * wcsmbs/wmemset.c (__wmemset): Likewise.
10096         * wctype/wcfuncs.c (__towlower): Likewise.
10097         (__towupper): Likewise.
10099         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10100         (lll_unlock_elision): Add adapt_count parameter.
10102 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10104         * sysdeps/nptl/configure.ac: Do not give errors based on the
10105         results of top-level configure tests.
10106         * sysdeps/nptl/configure: Regenerated.
10108         * configure.ac (libc_cv_Bgroup): Remove configure test.
10109         * configure: Regenerated.
10110         * config.make.in (have-Bgroup): Remove variable.
10112         * configure.ac (sizeof_long_double): Remove configure test.
10113         * configure: Regenerated.
10114         * config.make.in (sizeof-long-double): Remove variable.
10116         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10117         * configure: Regenerated.
10118         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10119         variable.
10120         (exceptions): Likewise.
10121         * sysdeps/arm/configure: Regenerated.
10122         * config.make.in (exceptions): Remove variable.
10123         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10124         $(exceptions).
10125         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10126         (CFLAGS-vdprintf_chk.c): Likewise.
10127         (CFLAGS-printf_chk.c): Likewise.
10128         (CFLAGS-fprintf_chk.c): Likewise.
10129         (CFLAGS-vprintf_chk.c): Likewise.
10130         (CFLAGS-vfprintf_chk.c): Likewise.
10131         (CFLAGS-gets_chk.c): Likewise.
10132         (CFLAGS-fgets_chk.c): Likewise.
10133         (CFLAGS-fgets_u_chk.c): Likewise.
10134         (CFLAGS-fread_chk.c): Likewise.
10135         (CFLAGS-fread_u_chk.c): Likewise.
10136         (CFLAGS-wprintf_chk.c): Likewise.
10137         (CFLAGS-fwprintf_chk.c): Likewise.
10138         (CFLAGS-vwprintf_chk.c): Likewise.
10139         (CFLAGS-vfwprintf_chk.c): Likewise.
10140         (CFLAGS-fgetws_chk.c): Likewise.
10141         (CFLAGS-fgetws_u_chk.c): Likewise.
10142         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10143         (CFLAGS-fputc.c): Likewise.
10144         (CFLAGS-fputwc.c): Likewise.
10145         (CFLAGS-freopen64.c): Likewise.
10146         (CFLAGS-freopen.c): Likewise.
10147         (CFLAGS-fseek.c): Likewise.
10148         (CFLAGS-fseeko64.c): Likewise.
10149         (CFLAGS-fseeko.c): Likewise.
10150         (CFLAGS-ftello64.c): Likewise.
10151         (CFLAGS-ftello.c): Likewise.
10152         (CFLAGS-fwide.c): Likewise.
10153         (CFLAGS-genops.c): Likewise.
10154         (CFLAGS-getc.c): Likewise.
10155         (CFLAGS-getchar.c): Likewise.
10156         (CFLAGS-getwc.c): Likewise.
10157         (CFLAGS-getwchar.c): Likewise.
10158         (CFLAGS-iofclose.c): Likewise.
10159         (CFLAGS-iofflush.c): Likewise.
10160         (CFLAGS-iofgetpos64.c): Likewise.
10161         (CFLAGS-iofgetpos.c): Likewise.
10162         (CFLAGS-iofgets.c): Likewise.
10163         (CFLAGS-iofgetws.c): Likewise.
10164         (CFLAGS-iofputs.c): Likewise.
10165         (CFLAGS-iofputws.c): Likewise.
10166         (CFLAGS-iofread.c): Likewise.
10167         (CFLAGS-iofsetpos64.c): Likewise.
10168         (CFLAGS-iofsetpos.c): Likewise.
10169         (CFLAGS-ioftell.c): Likewise.
10170         (CFLAGS-iofwrite.c): Likewise.
10171         (CFLAGS-iogetdelim.c): Likewise.
10172         (CFLAGS-iogetline.c): Likewise.
10173         (CFLAGS-iogets.c): Likewise.
10174         (CFLAGS-iogetwline.c): Likewise.
10175         (CFLAGS-ioputs.c): Likewise.
10176         (CFLAGS-ioseekoff.c): Likewise.
10177         (CFLAGS-ioseekpos.c): Likewise.
10178         (CFLAGS-iosetbuffer.c): Likewise.
10179         (CFLAGS-iosetvbuf.c): Likewise.
10180         (CFLAGS-ioungetc.c): Likewise.
10181         (CFLAGS-ioungetwc.c): Likewise.
10182         (CFLAGS-oldfileops.c): Likewise.
10183         (CFLAGS-oldiofclose.c): Likewise.
10184         (CFLAGS-oldiofgetpos64.c): Likewise.
10185         (CFLAGS-oldiofgetpos.c): Likewise.
10186         (CFLAGS-oldiofsetpos64.c): Likewise.
10187         (CFLAGS-oldiofsetpos.c): Likewise.
10188         (CFLAGS-peekc.c): Likewise.
10189         (CFLAGS-putc.c): Likewise.
10190         (CFLAGS-putchar.c): Likewise.
10191         (CFLAGS-putwc.c): Likewise.
10192         (CFLAGS-putwchar.c): Likewise.
10193         (CFLAGS-rewind.c): Likewise.
10194         (CFLAGS-wfileops.c): Likewise.
10195         (CFLAGS-wgenops.c): Likewise.
10196         (CFLAGS-oldiofopen.c): Likewise.
10197         (CFLAGS-iofopen.c): Likewise.
10198         (CFLAGS-iofopen64.c): Likewise.
10199         (CFLAGS-oldtmpfile.c): Likewise.
10200         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10201         (CFLAGS-fprintf.c): Likewise.
10202         (CFLAGS-printf.c): Likewise.
10203         (CFLAGS-vfwprintf.c): Likewise.
10204         (CFLAGS-vfscanf.c): Likewise.
10205         (CFLAGS-vfwscanf.c): Likewise.
10206         (CFLAGS-fscanf.c): Likewise.
10207         (CFLAGS-scanf.c): Likewise.
10208         (CFLAGS-isoc99_vfscanf.c): Likewise.
10209         (CFLAGS-isoc99_vscanf.c): Likewise.
10210         (CFLAGS-isoc99_fscanf.c): Likewise.
10211         (CFLAGS-isoc99_scanf.c): Likewise.
10212         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10213         (CFLAGS-isoc99_fwscanf.c): Likewise.
10214         (CFLAGS-isoc99_vwscanf.c): Likewise.
10215         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10217         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10218         after mkstemp64.
10219         * login/tst-utmp.c (do_prepare): Likewise.
10220         * rt/tst-aio.c (do_prepare): Likewise.
10221         * rt/tst-aio64.c (do_prepare): Likewise.
10223 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10225         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10226         (__lll_lock_elision): Remove adapt_count decrement...
10227         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10228         (__lll_trylock_elision): Likewise.
10229         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10230         (__lll_unlock_elision): ... to here. And utilize
10231         new adapt_count parameter.
10232         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10233         (__lll_unlock_elision): Update to include adapt_count
10234         parameter.
10235         (lll_unlock_elision): Pass pointer to adapt_count
10236         variable.
10238 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10240         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10241         Add elision adapt_count parameter to list of arguments.
10242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10243         (lll_unlock_elision): Update with new parameter list
10244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10245         (lll_unlock_elision): Likewise.
10246         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10247         (lll_unlock_elision): Likewise.
10249 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10251         [BZ #19122]
10252         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10253         attribute_hidden.
10255         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10256         attribute_hidden.
10257         [IS_IN (rtld)] (__strdup): Likewise.
10258         [IS_IN (rtld)] (__strerror_r): Likewise.
10259         [IS_IN (rtld)] (__strsep_g): Likewise.
10260         [IS_IN (rtld)] (memchr): Likewise.
10261         [IS_IN (rtld)] (memcmp): Likewise.
10262         [IS_IN (rtld)] (memcpy): Likewise.
10263         [IS_IN (rtld)] (memmove): Likewise.
10264         [IS_IN (rtld)] (memset): Likewise.
10265         [IS_IN (rtld)] (rawmemchr): Likewise.
10266         [IS_IN (rtld)] (stpcpy): Likewise.
10267         [IS_IN (rtld)] (strchr): Likewise.
10268         [IS_IN (rtld)] (strcmp): Likewise.
10269         [IS_IN (rtld)] (strlen): Likewise.
10270         [IS_IN (rtld)] (strnlen): Likewise.
10271         [IS_IN (rtld)] (strsep): Likewise.
10273         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10274         attribute_hidden.
10275         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10277         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10278         attribute_hidden.
10279         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10281         * include/setjmp.h (__longjmp): Add attribute_hidden.
10282         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10284         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10285         Add attribute_hidden.
10287         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10288         [IS_IN (rtld)] (__open): Likewise.
10289         [IS_IN (rtld)] (__fcntl): Likewise.
10291         * include/dirent.h (__opendirat): Add attribute_hidden.
10292         (__getdents): Likewise.
10293         (__getdents64): Likewise.
10294         (__alloc_dir): Likewise.
10295         [IS_IN (rtld)] (__closedir): Likewise.
10296         [IS_IN (rtld)] (__fdopendir): Likewise.
10297         [IS_IN (rtld)] (__readdir): Likewise.
10298         [IS_IN (rtld)] (__readdir64): Likewise.
10299         [IS_IN (rtld)] (__rewinddir): Likewise.
10301         * include/dlfcn.h (_dl_catch_error): Moved to ...
10302         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10303         attribute_hidden.
10305         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10306         (_itoa_word): Likewise.
10308         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10309         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10310         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10311         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10312         (_dl_higher_prime_number): Likewise.
10313         (_dl_debug_printf_c): Likewise.
10314         (_dl_signal_cerror): Likewise.
10315         (_dl_receive_error): Likewise.
10316         (_dl_reloc_bad_type): Likewise.
10317         (_dl_resolve_conflicts): Likewise.
10318         (_dl_check_all_versions): Likewise.
10319         (_dl_check_map_versions): Likewise.
10320         (_dl_sort_fini): Likewise.
10321         (_dl_debug_initialize): Likewise.
10322         (_dl_init_paths): Likewise.
10323         (_dl_show_auxv): Likewise.
10324         (_dl_next_ld_env_entry): Likewise.
10325         (_dl_important_hwcaps): Likewise.
10326         (_dl_load_cache_lookup): Likewise.
10327         (_dl_update_slotinfo): Likewise.
10328         (_dl_show_scope): Likewise.
10330         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10331         attribute_hidden.
10332         (_wordcopy_fwd_dest_aligned): Likewise.
10333         (_wordcopy_bwd_aligned): Likewise.
10334         (_wordcopy_bwd_dest_aligned): Likewise.
10336         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10337         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10338         Likewise.
10339         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10340         Likewise.
10341         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10343 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10346         GCC 5 requirement.
10348 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10350         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10351         test.
10352         * sysdeps/i386/configure: Regenerated.
10353         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10354         code unconditional.
10356         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10357         test.
10358         (libc_cv_asm_popsection_directive): Likewise.
10359         * configure: Regenerated.
10360         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10361         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10362         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10363         (__make_section_unallocated): Make definition unconditional.
10364         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10365         Remove conditional definition.
10366         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10367         (__make_section_unallocated): Likewise.
10369         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10370         * configure: Regenerated.
10371         * config.make.in (static-libgcc): Remove variable.
10372         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10373         $(static-libgcc).
10374         (build-module-helper): Likewise.
10376         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10377         * configure: Regenerated.
10379 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10381         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10382         (struct char_buffer): New type.
10383         (char_buffer_start, char_buffer_size, char_buffer_error)
10384         (char_buffer_rewind, char_buffer_add): New functions.
10385         (ADDW): Remove macro, replaced by the char_buffer_add function.
10386         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10387         of extend_alloca.  Make control flow more explicit.
10389 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10391         [BZ #19137]
10392         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10393         Add -fomit-frame-pointer.
10394         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10396 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10398         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10399         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10401         only if !__GNUC_PREREQ (5,0).
10402         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10403         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10404         (INTERNAL_SYSCALL_NCS): Likewise.
10405         (LOADREGS_0): New macro for GCC 5.
10406         (ASMARGS_0): Likewise.
10407         (LOADREGS_1): Likewise.
10408         (ASMARGS_1): Likewise.
10409         (LOADREGS_2): Likewise.
10410         (ASMARGS_2): Likewise.
10411         (LOADREGS_3): Likewise.
10412         (ASMARGS_3): Likewise.
10413         (LOADREGS_4): Likewise.
10414         (ASMARGS_4): Likewise.
10415         (LOADREGS_5): Likewise.
10416         (ASMARGS_5): Likewise.
10417         (LOADREGS_6): Likewise.
10418         (ASMARGS_6): Likewise.
10420 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10422         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10423         -fomit-frame-pointer.
10424         (CFLAGS-mmap64.c): Likewise.
10425         (CFLAGS-semtimedop.c): Likewise.
10426         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10427         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10428         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10429         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10431 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10433         [BZ #18928]
10434         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10435         _dl_pointer_guard member.
10436         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10437         initializer.
10438         (security_init): Always set up pointer guard.
10439         (process_envvars): Do not process LD_POINTER_GUARD.
10441 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #19134]
10444         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10445         (.LC2): Likewise.
10446         (.LC3): Likewise.
10447         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10449 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10451         [BZ #19129]
10452         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10453         r0 and r1.
10455 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10457         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10459 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10461         * include/stap-probe.h: Fix macro definition formatting.
10463 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10465         [BZ #19074]
10466         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10467         load and store num_ifs.
10469 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10471         [BZ #18822]
10472         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10473         (__sched_getaffinity_new): Add libc_hidden_proto and
10474         libc_hidden_def.
10476 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10478         [BZ #19007]
10479         * scripts/localplt.awk: Also allow GOT references.
10480         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10481         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10482         with "+ REL R_386_GLOB_DAT".
10483         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10484         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10486 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10488         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10489         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10491         Likewise.
10492         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10493         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10494         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10495         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10496         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10497         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10498         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10499         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10503 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10505         [BZ #19125]
10506         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10507         <math_private.h> and <stdint.h>.
10508         (__llround): Avoid conversions to and from long long int, and
10509         subtractions, where those might raise spurious exceptions.
10510         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10511         <math_private.h> and <stdint.h>.
10512         (__llroundf): Avoid conversions to and from long long int, and
10513         subtractions, where those might raise spurious exceptions.
10515 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10517         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10518         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10519         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10520         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10521         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10522         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10523         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10524         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10525         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10526         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10527         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10528         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10529         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10530         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10531         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10533         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10534         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10535         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10536         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10537         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10538         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10539         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10540         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10541         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10542         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10543         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10544         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10545         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10546         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10547         (__xstat64_conv): Likewise.
10548         (__xstat32_conv): Likewise.
10550 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10552         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10553         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10554         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10555         <sysdeps/unix/sysv/linux/sysdep.h>.
10556         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10557         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10558         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10559         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10560         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10561         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10562         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10563         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10564         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10568         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10569         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10570         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10573         (sysdep-dl-routines): Add sysdep.
10574         [$(subdir) == nptl] (libpthread-routines): Likewise.
10575         [$(subdir) == rt] (librt-routines): Likewise.
10576         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10577         PIC when branching to SYSCALL_ERROR_LABEL.
10578         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10580         <sysdeps/unix/sysv/linux/sysdep.h>.
10581         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10582         (SYSCALL_ERROR_ERRNO): Removed.
10583         (SYSCALL_ERROR_HANDLER): Changed to empty.
10584         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10585         (__syscall_error): New prototype.
10586         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10587         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10589 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10591         [BZ #19124]
10592         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10593         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10594         _dl_runtime_resolve_avx.
10595         (_dl_runtime_profile_avx512): Make it a hidden alias of
10596         _dl_runtime_profile_avx.
10598 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10600         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10601         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10602         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10603         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10605         [BZ #16422]
10606         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10607         New configure test.
10608         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10609         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10610         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10611         <math_private.h> and <stdint.h>.
10612         (__llrint): Avoid conversions to long long int where those might
10613         raise spurious exceptions.
10614         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10615         <math_private.h> and <stdint.h>.
10616         (__llrintf): Avoid conversions to long long int where those might
10617         raise spurious exceptions.
10619 2015-10-12  Andreas Schwab  <schwab@suse.de>
10621         [BZ #18969]
10622         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10623         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10624         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10625         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10626         $(gen-locales).
10627         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10628         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10629         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10630         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10631         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10632         $(gen-locales).
10633         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10634         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10635         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10636         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10637         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10638         ($(objpfx)tst-ftell-active-handler.out)
10639         ($(objpfx)tst-ftell-append.out)
10640         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10641         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10642         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10643         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10644         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10645         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10646         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10647         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10648         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10649         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10650         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10651         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10652         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10653         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10654         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10655         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10656         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10657         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10658         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10659         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10660         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10661         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10662         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10663         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10664         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10665         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10666         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10667         $(gen-locales).
10668         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10669         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10670         $(gen-locales).
10671         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10672         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10673         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10674         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10675         $(gen-locales).
10676         * libio/tst_wprintf2.c (main): Use explicit locale.
10677         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10679 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10681         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10682         __msg_sig_post.
10683         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10685 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10687         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10688         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10690         * sysdeps/arm/libm-test-ulps: Regenerated.
10692         [BZ #15470]
10693         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10695         [BZ #16399]
10696         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10697         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10698         and <fix-fp-int-convert-overflow.h>.
10699         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10700         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10701         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10702         and <fix-fp-int-convert-overflow.h>.
10703         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10704         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10705         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10706         <fix-fp-int-convert-overflow.h>.
10707         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10708         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10709         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10710         <fix-fp-int-convert-overflow.h>.
10711         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10712         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10713         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10714         and <fix-fp-int-convert-overflow.h>.
10715         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10716         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10717         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10718         <limits.h> and <fix-fp-int-convert-overflow.h>.
10719         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10720         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10721         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10722         and <fix-fp-int-convert-overflow.h>.
10723         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10724         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10725         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10726         and <fix-fp-int-convert-overflow.h>.
10727         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10728         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10729         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10731 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10733         [BZ #18589]
10734         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10735         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10736         $(gen-locales).
10738 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10739             Phil Blundell <pb@pbcl.net>
10741         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10742         * nptl/tst-cancel26.c: New file.
10743         * nptl/tst-cancel27.c: Likewise.
10745 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10747         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10748         __ILP32__ isn't defined.
10749         (lrint): Likewise.
10750         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10751         (lrintf): Likewise.
10752         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10753         (lrintl): Likewise.
10754         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10755         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10756         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10758 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10760         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10761         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10764         file.
10765         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10766         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10768 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10770         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10771         configure test.
10772         * sysdeps/i386/configure: Regenerated.
10773         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10774         configure test.
10775         * sysdeps/x86_64/configure: Regenerated.
10776         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10777         Make code unconditional.
10779         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10780         test.
10781         * sysdeps/i386/configure: Regenerated.
10782         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10783         test.
10784         * sysdeps/x86_64/configure: Regenerated.
10785         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10786         Make code unconditional.
10787         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10788         Likewise.
10789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10790         Likewise.
10791         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10792         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10793         code unconditional.
10794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10795         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10796         code unconditional.
10797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10798         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10799         code unconditional.
10800         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10801         code unconditional.
10802         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10803         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10804         code unconditional.
10805         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10806         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10807         code unconditional.
10808         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10809         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10810         code unconditional.
10811         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10812         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10813         code unconditional.
10814         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10815         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10817         [BZ #19095]
10818         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10819         mantissa to long int before shifting left.
10821 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10823         [BZ #19094]
10824         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10825         <limits.h>.
10826         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10827         when result overflows but exception would not result from cast.
10828         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10829         <limits.h>.
10830         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10831         when result overflows but exception would not result from cast.
10832         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10833         <limits.h>.
10834         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10835         when result overflows but exception would not result from cast.
10836         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10837         <limits.h>.
10838         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10839         when result overflows but exception would not result from cast.
10840         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10841         <limits.h>.
10842         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10843         when result overflows but exception would not result from cast.
10844         * math/libm-test.inc (lrint_test_data): Add more tests.
10845         (llrint_test_data): Likewise.
10847 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10849         [BZ #18872]
10850         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10851         Move out from under [$(run-built-tests) = yes] conditional.
10852         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10853         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10855 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10857         [BZ #18589]
10858         * string/Makefile (tests): Add bug-strcoll2.
10859         (LOCALES): Add cs_CZ.UTF-8.
10860         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10862         [BZ #18589]
10863         * string/bug-strcoll2.c: New file.
10864         * locale/categories.def: Revert commit
10865         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10866         * locale/langinfo.h: Likewise.
10867         * locale/localeinfo.h: Likewise.
10868         * locale/C-collate.c: Likewise.
10869         * locale/programs/ld-collate.c (collate_output): Likewise.
10870         * string/strcoll_l.c (STRDIFF): Likewise.
10871         (STRCOLL): Likewise.
10872         * wcsmbs/wcscoll_l.c: Likewise.
10874 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10876         * math/libm-test.inc (lround_test_data): Do not expect the absence
10877         of "inexact" for some tests with non-integer arguments.
10878         (llround_test_data): Likewise.
10880         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10881         test.
10882         (libc_cv_cc_sse2avx): Likewise.
10883         * sysdeps/i386/configure: Regenerated.
10884         * sysdeps/i386/i686/multiarch/Makefile
10885         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10886         [$(subdir) = math].
10887         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10888         code unconditional.
10889         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10890         Likewise.
10891         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10892         Likewise.
10893         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10894         Likewise.
10895         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10896         test.
10897         (libc_cv_cc_sse2avx): Likewise.
10898         * sysdeps/x86_64/configure: Regenerated.
10899         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10900         unconditional.
10901         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10902         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10903         unconditional.
10904         (_dl_runtime_profile)
10905         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10906         conditional code.
10907         * sysdeps/x86_64/fpu/multiarch/Makefile
10908         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10911         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10912         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10913         * sysdeps/x86_64/fpu/multiarch/e_log.c
10914         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10915         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10916         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10917         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10918         Likewise.
10919         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10920         Likewise.
10921         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10922         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10923         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10924         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10925         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10926         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10927         (HAVE_SSE2AVX_SUPPORT): Likewise.
10929 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10931         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10932         instead of #pragma optimize.
10934 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10936         [BZ #17195]
10937         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10938         as is similarly done in systrim and _int_free already.
10940 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10942         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10944 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10946         [BZ #19088]
10947         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10948         <limits.h>.
10949         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10950         overflows but exception would not result from cast.
10951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10952         and <limits.h>.
10953         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10954         overflows but exception would not result from cast.
10955         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10956         <limits.h>.
10957         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10958         overflows but exception would not result from cast.
10959         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10960         <limits.h>.
10961         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10962         overflows but exception would not result from cast.
10963         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10964         <limits.h>.
10965         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10966         overflows but exception would not result from cast.
10967         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10968         <limits.h>.
10969         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10970         overflows but exception would not result from cast.
10971         * math/libm-test.inc (lround_test_data): Add more tests.
10972         (llround_test_data): Likewise.
10974 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10976         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10977         (CFLAGS-ialloc.c): Ditto.
10978         (CFLAGS-scheck.c): Ditto.
10980 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10982         [BZ #19086]
10983         * manual/filesys.texi (Storage Allocation): Fix argument order for
10984         posix_fallocate64.
10986 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10988         [BZ #19085]
10989         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10990         exponent below 48 inside case for non-overflowing exponent.
10991         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10993 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10995         * iconvdata/cp737.h (from_idx): Add const.
10996         * iconvdata/cp775.h (from_idx): Likewise.
10998 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11000         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11001         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11002         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11004         [BZ #19079]
11005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11006         file, conditioned on [!_LP64].
11007         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11008         [!_LP64] (__lround): Do not define as function or alias.
11009         [!_LP64] (lround): Likewise.
11010         [!_LP64] (__lroundl): Likewise.
11011         [!_LP64] (lroundl): Likewise.
11012         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11013         macro.
11014         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11015         Likewise.
11017 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11019         * math/libm-test.inc (lrint_test_data): Add more tests.
11020         (llrint_test_data): Likewise.
11021         (lround_test_data): Likewise.
11022         (llround_test_data): Likewise.
11024         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11025         (llrint_test_data): Add tests used for lrint.
11027         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11028         test.
11029         * sysdeps/i386/configure: Regenerated.
11030         * sysdeps/i386/i686/multiarch/Makefile
11031         [$(config-cflags-sse4) = yes]: Make code unconditional.
11032         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11033         Likewise.
11034         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11035         Likewise.
11036         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11037         test.
11038         * sysdeps/x86_64/configure: Regenerated.
11039         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11040         Make code unconditional.
11041         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11042         Likewise.
11043         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11044         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11046         * scripts/rpm2dynsym.sh: Remove file.
11048 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11050         * configure.ac (libc_cv_cxx_thread_local): Define.
11051         * configure: Regenerate.
11052         * config.make.in (have-cxx-thread_local): Define.
11053         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11054         (LDLIBS-tst-thread_local1): Define.
11055         (tests): Add tst-thread_local1.
11056         [have-cxx-thread_local != yes] (tests-unsupported): Add
11057         tst-thread_local1.
11058         * nptl/tst-thread_local1.cc: New file.
11060 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #19078]
11063         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11064         (u_thres): Likewise.
11065         (__expl): Determine whether to call __kernel_standard_l based on
11066         value of result, not argument.
11068         * math/libm-test.inc (scalb_test_data): Add more expectations for
11069         the "inexact" exception.
11071         [BZ #19077]
11072         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11073         0.0L for argument 1.0L.
11075         [BZ #19076]
11076         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11077         constant 0.0L when computing infinite result.
11079 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11081         [BZ #10432]
11082         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11083         malloc_usable_size.
11085 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11087         [BZ #19018]
11088         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11089         Mangle function pointer before storing it.
11090         (__call_tls_dtors): Demangle function pointer before calling it.
11092 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11094         [BZ #19012]
11095         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11096         Clean up on failure.
11098 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11100         [BZ #19071]
11101         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11102         long int variable to store possibly incremented high part of
11103         mantissa.
11104         * math/libm-test.inc (lround_test_data): Add tests used for
11105         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11106         for tests requiring 64-bit long.  Do not condition tests on
11107         [TEST_FLOAT] unnecessarily.
11108         (llround_test_data): Add tests used for lround.  Add another
11109         expectation for the "inexact" exception.  Do not condition tests
11110         on [TEST_FLOAT] unnecessarily.
11112         [BZ #887]
11113         [BZ #19049]
11114         [BZ #19050]
11115         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11116         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11117         <fix-int-fp-convert-zero.h>.
11118         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11119         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11120         <fix-int-fp-convert-zero.h>.
11121         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11122         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11123         <fix-int-fp-convert-zero.h>.
11124         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11125         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11126         <fix-int-fp-convert-zero.h>.
11127         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11128         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11129         <fix-int-fp-convert-zero.h>.
11130         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11131         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11132         <fix-int-fp-convert-zero.h>.
11133         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11134         * sysdeps/ieee754/flt-32/s_erff.c: Include
11135         <fix-int-fp-convert-zero.h>.
11136         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11137         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11138         <fix-int-fp-convert-zero.h>.
11139         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11141         <fix-int-fp-convert-zero.h>.
11142         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11143         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11144         <fix-int-fp-convert-zero.h>.
11145         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11146         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11147         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11148         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11149         file.
11150         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11152 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11156 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11158         [BZ #19059]
11159         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11160         overflowing computation.
11161         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11162         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11163         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11164         Likewise.
11165         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11166         Likewise.
11167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11168         Likewise.
11169         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11170         Likewise.
11171         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11172         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11173         Likewise.
11174         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11175         Likewise.
11176         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11178         * nss/rewrite_field.c (__nss_rewrite_field): Use
11179         internal_function.
11180         * nss/valid_field.c (__nss_valid_field): Likewise.
11181         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11183 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11185         [BZ #18724]
11186         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11187         (__nss_invalid_field_characters, __nss_valid_field)
11188         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11189         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11190         tst-field.c: New file.
11191         * nss/Makefile (routines): Add valid_field, rewrite_field.
11192         (tests-static): Define unconditionally.
11193         (tests): Include tests-static.
11194         [build-static-nss] (tests-static): Use append.
11195         [build-static-nss] (tests): Remove modification.
11196         * nss/getent.c (print_group): Call putgrent.  Report error.
11197         (print_gshadow): Call putsgent.  Report error.
11198         (print_passwd): Call putpwent.  Report error.
11199         (print_shadow): Call putspent.  Report error.
11200         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11201         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11202         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11203         name, password, directory, shell fields for valid syntax.  Rewrite
11204         GECOS field to match syntax.
11205         * pwd/Makefile (tests): Add tst-putpwent.
11206         * pwd/tst-putpwent.c: New file.
11207         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11208         Check grName, grpasswd, gr_mem fields for valid syntax.
11209         Change loop variable i to size_t.
11210         * grp/Makefile (tests): Add tst-putgrent.
11211         * grp/tst-putgrent.c: New file.
11212         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11213         valid syntax.
11214         * shadow/Makefile (tests): Add tst-putspent.
11215         * shadow/tst-putspent.c: New file.
11216         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11217         sg_mem fields for valid syntax.
11218         * gshadow/Makefile (tests): Add tst-putsgent.
11219         * gshadow/tst-putsgent.c: New file.
11221 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11223         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11224         assembly instructions.
11226 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11228         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11229         prefix from operands.
11231 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11233         [BZ #16347]
11234         [BZ #19046]
11235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11236         <libc-internal.h>.
11237         (MAXLGM): Do not use diagnostic control macros.
11238         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11239         threshold for ldbl-128ibm.
11240         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11241         instead of multiplying by log then subtracting.
11242         * math/auto-libm-test-in: Add more tests of lgamma.
11243         * math/auto-libm-test-out: Regenerated.
11245         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11246         (TYPE_HEX_DIG): Likewise.
11247         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11248         precisions when printing floating-point numbers.
11249         (check_float_internal): Likewise.
11251 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11253         [BZ #16620]
11254         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11255         of log (10) rounded downward to 48 bits.
11256         (log10_low): Use corresponding low part of log (10).
11258         [BZ #19032]
11259         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11260         compute result as (x - x) / (x - x) not as 0 / 0.
11261         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11262         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11264         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11265         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11266         and expm1.
11267         * math/auto-libm-test-out: Regenerated.
11268         * math/libm-test.inc (acos_test_data): Add more tests.
11269         (asin_test_data): Likewise.
11270         (asinh_test_data): Likewise.
11271         (atan_test_data): Likewise.
11272         (atanh_test_data): Likewise.
11273         (atan2_test_data): Likewise.
11274         (cbrt_test_data): Likewise.
11275         (ceil_test_data): Likewise.
11276         (copysign_test_data): Likewise.
11277         (cos_test_data): Likewise.
11278         (cosh_test_data): Likewise.
11279         (erf_test_data): Likewise.
11280         (erfc_test_data): Likewise.
11281         (exp_test_data): Likewise.
11282         (exp10_test_data): Likewise.
11283         (exp2_test_data): Likewise.
11284         (expm1_test_data): Likewise.
11285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11287 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11289         [BZ #19006]
11290         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11291         to ...
11292         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11293         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11294         to ...
11295         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11296         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11297         to ...
11298         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11299         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11300         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11301         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11302         to ...
11303         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11304         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11305         Moved to ...
11306         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11308         Moved to ...
11309         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11311         to ...
11312         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11313         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11314         Moved to ...
11315         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11316         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11317         to ...
11318         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11319         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11320         Removed.
11321         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11322         Likewise.
11323         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11324         Likewise.
11325         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11326         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11327         Likewise.
11328         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11329         Likewise.
11330         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11333         Likewise.
11334         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11335         Likewise.
11336         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11339         Likewise.
11340         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11343         Likewise.
11344         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11345         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11348         Likewise.
11349         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11352         Likewise.
11353         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11356         Replace ../i486/pthread_cond_timedwait.S with
11357         ../pthread_cond_timedwait.S.
11359 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11361         * math/libm-test.inc (acos_test_data): Refine expectations for
11362         errno and "inexact" exceptions.
11363         (acosh_test_data): Likewise.
11364         (asin_test_data): Likewise.
11365         (asinh_test_data): Likewise.
11366         (atan_test_data): Likewise.
11367         (atanh_test_data): Likewise.
11368         (atan2_test_data): Likewise.
11369         (cbrt_test_data): Likewise.
11370         (ceil_test_data): Likewise.
11371         (copysign_test_data): Likewise.
11372         (cosh_test_data): Likewise.
11373         (erf_test_data): Likewise.
11374         (erfc_test_data): Likewise.
11375         (exp_test_data): Likewise.
11376         (exp10_test_data): Likewise.
11377         (exp2_test_data): Likewise.
11378         (expm1_test_data): Likewise.
11379         (fabs_test_data): Likewise.
11380         (floor_test_data): Likewise.
11381         (fma_test_data): Likewise.
11382         (fmax_test_data): Likewise.
11383         (fmin_test_data): Likewise.
11384         (fmod_test_data): Likewise.
11385         (fpclassify_test_data): Likewise.
11386         (frexp_test_data): Likewise.
11387         (hypot_test_data): Likewise.
11388         (ilogb_test_data): Likewise.
11389         (isgreater_test_data): Likewise.
11390         (isgreaterequal_test_data): Likewise.
11391         (isinf_test_data): Likewise.
11392         (isless_test_data): Likewise.
11393         (islessequal_test_data): Likewise.
11394         (islessgreater_test_data): Likewise.
11395         (isnan_test_data): Likewise.
11396         (isnormal_test_data): Likewise.
11397         (issignaling_test_data): Likewise.
11398         (isunordered_test_data): Likewise.
11399         (j0_test_data): Likewise.
11400         (j1_test_data): Likewise.
11401         (jn_test_data): Likewise.
11402         (lgamma_test_data): Likewise.
11403         (lrint_test_data): Likewise.
11404         (llrint_test_data): Likewise.
11405         (log_test_data): Likewise.
11406         (log10_test_data): Likewise.
11407         (log1p_test_data): Likewise.
11408         (log2_test_data): Likewise.
11409         (logb_test_data): Likewise.
11410         (lround_test_data): Likewise.
11411         (llround_test_data): Likewise.
11412         (modf_test_data): Likewise.
11413         (nearbyint_test_data): Likewise.
11414         (nextafter_test_data): Likewise.
11415         (nexttoward_test_data): Likewise.
11416         (pow_test_data): Likewise.
11417         (remainder_test_data): Likewise.
11418         (remquo_test_data): Likewise.
11419         (rint_test_data): Likewise.
11420         (round_test_data): Likewise.
11421         (signbit_test_data): Likewise.
11422         (sinh_test_data): Likewise.
11423         (sqrt_test_data): Likewise.
11424         (tanh_test_data): Likewise.
11425         (tgamma_test_data): Likewise.
11426         (trunc_test_data): Likewise.
11427         (y0_test_data): Likewise.
11428         (y1_test_data): Likewise.
11429         (yn_test_data): Likewise.
11430         (significand_test_data): Likewise.
11432 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11434         * manual/filesys.texi (Storage Allocation): Document that
11435         posix_fallocate emulation fails when fd is open with O_WRONLY.
11437 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11439         [BZ #19016]
11440         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11441         allow more cases with X^2 + Y^2 >= 0.5.
11442         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11443         normal element in sum instead of special-casing based on values of
11444         arguments.
11445         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11446         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11447         -1 as normal element in sum instead of special-casing based on
11448         values of arguments.
11449         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11450         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11451         (__x2y2m1): Update comment.
11452         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11453         as normal element in sum instead of special-casing based on values
11454         of arguments.
11455         * math/s_clog.c (__clog): Handle more cases using log1p without
11456         hypot.
11457         * math/s_clog10.c (__clog10): Likewise.
11458         * math/s_clog10f.c (__clog10f): Likewise.
11459         * math/s_clog10l.c (__clog10l): Likewise.
11460         * math/s_clogf.c (__clogf): Likewise.
11461         * math/s_clogl.c (__clogl): Likewise.
11462         * math/auto-libm-test-in: Add more tests of clog and clog10.
11463         * math/auto-libm-test-out: Regenerated.
11464         * sysdeps/i386/fpu/libm-test-ulps: Update.
11465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11467 2015-09-28  Martin Sebor  <msebor@redhat.com>
11469         [BZ #18969]
11470         * string/Makefile (LOCALES): Define.
11471         (gen-locales.mk): Include.
11472         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11473         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11474         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11475         on setlocale failure.
11477 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11479         [BZ #18985]
11480         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11481         (__strftime_internal): Likewise.
11482         * time/tst-strftime.c (do_bz18985): New test.
11483         (do_test): Call it.
11485 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11487         [BZ #18956]
11488         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11489         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11490         extracting high part.
11491         * math/auto-libm-test-in: Add another test of pow.
11492         * math/auto-libm-test-out: Regenerated.
11493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11495 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11497         [BZ #18825]
11498         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11499         New macro.
11500         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11501         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11502         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11503         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11504         DBL_NARROW_EVAL, reloading the PIC register as needed.
11505         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11506         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11507         FLT_NARROW_EVAL.  Use separate return path for case when first
11508         argument is NaN.
11509         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11510         DEFINE_LDBL_MIN.
11511         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11512         PIC register.
11513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11514         math_check_force_underflow_nonneg.
11515         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11516         underflow for subnormal result.
11517         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11519         math_check_force_underflow_nonneg.
11520         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11521         math_check_force_underflow.
11522         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11523         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11524         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11525         DEFINE_LDBL_MIN.
11526         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11527         * math/auto-libm-test-in: Add more tests of pow.
11528         * math/auto-libm-test-out: Regenerated.
11530 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11532         * nss/bug17079.c (init_test_items): Add diagnostic for
11533         inconsistent entries.
11534         (test_buffer_size): Skip inconsistent entries.
11536 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11538         [BZ #13304]
11539         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11540         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11541         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11543         [BZ #13304]
11544         * sysdeps/microblaze/s_fma.c: New file.
11545         * sysdeps/microblaze/s_fmaf.c: Likewise.
11546         * sysdeps/microblaze/sfp-machine.h: Likewise.
11548 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11550         [BZ #17250]
11551         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11552         member.
11554 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11556         [BZ #18803]
11557         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11558         (MO): New macro.
11559         (__ieee754_hypot) [PIC]: Load PIC register.
11560         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11561         DBL_NARROW_EVAL.
11562         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11563         math_check_force_underflow_nonneg in case where result might be
11564         tiny.
11565         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11566         Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11568         Likewise.
11569         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11570         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11571         * math/auto-libm-test-in: Add more tests of hypot.
11572         * math/auto-libm-test-out: Regenerated.
11574 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11576         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11578 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11580         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11581         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11582         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11583         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11584         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11585         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11586         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11588         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11589         LOAD_PIC_REG.
11591         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11592         (FLT_CHECK_FORCE_UFLOW): Likewise.
11593         (DBL_CHECK_FORCE_UFLOW): Likewise.
11594         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11595         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11596         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11597         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11598         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11599         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11600         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11601         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11602         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11603         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11604         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11605         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11606         (flt_min): Replace with use of DEFINE_FLT_MIN.
11607         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11608         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11609         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11610         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11611         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11612         (flt_min): Replace with use of DEFINE_FLT_MIN.
11613         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11614         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11615         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11616         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11617         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11618         (flt_min): Replace with use of DEFINE_FLT_MIN.
11619         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11620         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11621         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11622         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11623         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11624         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11625         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11626         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11627         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11628         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11629         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11630         (flt_min): Replace with use of DEFINE_FLT_MIN.
11631         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11632         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11633         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11634         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11635         main computation.
11636         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11637         (flt_min): Replace with use of DEFINE_FLT_MIN.
11638         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11639         main computation.
11640         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11641         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11642         (MO): New macro.
11643         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11644         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11645         (flt_min): Replace with use of DEFINE_FLT_MIN.
11646         (MO): New macro.
11647         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11648         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11649         (__log1pl): Use MO.
11651         [BZ #19003]
11652         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11653         $(config-cflags-nofma).
11655 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11657         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11659 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11661         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11662         (TWO127): Likewise.
11664         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11665         (min_of_type): Likewise.
11666         (math_check_force_underflow): Likewise.
11667         (math_check_force_underflow_nonneg): Likewise.
11668         (math_check_force_underflow_complex): Likewise.
11669         * math/e_exp2l.c (__ieee754_exp2l): Use
11670         math_check_force_underflow_nonneg.
11671         * math/k_casinh.c (__kernel_casinh): Likewise.
11672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11674         * math/s_catan.c (__catan): Use
11675         math_check_force_underflow_complex.
11676         * math/s_catanf.c (__catanf): Likewise.
11677         * math/s_catanh.c (__catanh): Likewise.
11678         * math/s_catanhf.c (__catanhf): Likewise.
11679         * math/s_catanhl.c (__catanhl): Likewise.
11680         * math/s_catanl.c (__catanl): Likewise.
11681         * math/s_ccosh.c (__ccosh): Likewise.
11682         * math/s_ccoshf.c (__ccoshf): Likewise.
11683         * math/s_ccoshl.c (__ccoshl): Likewise.
11684         * math/s_cexp.c (__cexp): Likewise.
11685         * math/s_cexpf.c (__cexpf): Likewise.
11686         * math/s_cexpl.c (__cexpl): Likewise.
11687         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11688         * math/s_clog10.c (__clog10): Likewise.
11689         * math/s_clog10f.c (__clog10f): Likewise.
11690         * math/s_clog10l.c (__clog10l): Likewise.
11691         * math/s_clogf.c (__clogf): Likewise.
11692         * math/s_clogl.c (__clogl): Likewise.
11693         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11694         * math/s_csinf.c (__csinf): Likewise.
11695         * math/s_csinh.c (__csinh): Likewise.
11696         * math/s_csinhf.c (__csinhf): Likewise.
11697         * math/s_csinhl.c (__csinhl): Likewise.
11698         * math/s_csinl.c (__csinl): Likewise.
11699         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11700         * math/s_csqrtf.c (__csqrtf): Likewise.
11701         * math/s_csqrtl.c (__csqrtl): Likewise.
11702         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11703         * math/s_ctanf.c (__ctanf): Likewise.
11704         * math/s_ctanh.c (__ctanh): Likewise.
11705         * math/s_ctanhf.c (__ctanhf): Likewise.
11706         * math/s_ctanhl.c (__ctanhl): Likewise.
11707         * math/s_ctanl.c (__ctanl): Likewise.
11708         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11709         instead of volatile.
11710         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11711         math_check_force_underflow.
11712         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11713         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11714         volatile when forcing underflow.
11715         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11716         math_check_force_underflow_nonneg.
11717         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11718         Likewise.
11719         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11720         math_check_force_underflow.
11721         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11722         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11723         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11724         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11725         math_check_force_underflow_nonneg.
11726         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11727         math_check_force_underflow.
11728         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11730         instead of volatile.
11731         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11732         math_check_force_underflow.
11733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11735         math_check_force_underflow_nonneg.
11736         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11737         math_check_force_underflow.
11738         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11739         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11740         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11741         math_check_force_underflow_nonneg.
11742         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11743         Likewise.
11744         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11745         math_check_force_underflow.
11746         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11747         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11748         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11749         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11750         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11751         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11752         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11753         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11754         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11755         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11756         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11757         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11758         Likewise.
11759         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11760         math_check_force_underflow_nonneg.
11761         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11762         Likewise.
11763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11764         math_check_force_underflow.
11765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11766         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11767         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11768         Likewise.
11769         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11770         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11771         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11772         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11773         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11776         instead of volatile.
11777         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11778         math_check_force_underflow.
11779         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11780         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11781         math_check_force_underflow.
11782         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11783         Likewise.
11784         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11785         Use math_check_force_underflow_nonneg.
11786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11787         math_check_force_underflow.
11788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11789         Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11791         Likewise.
11792         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11793         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11794         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11795         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11798         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11799         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11801         math_check_force_underflow_nonneg.
11802         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11803         math_check_force_underflow.
11804         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11805         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11806         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11807         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11808         math_check_force_underflow_nonneg.
11809         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11810         math_check_force_underflow.
11811         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11813         instead of volatile.
11814         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11815         math_check_force_underflow.
11817         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11818         * stdlib/strtod_l.c: Include <math_private.h>.
11819         (overflow_value): Use math_narrow_eval.
11820         (underflow_value): Likewise.
11821         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11822         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11823         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11824         (__ieee754_gamma_r): Likewise.
11825         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11826         Likewise.
11827         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11828         Likewise.
11829         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11830         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11831         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11832         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11833         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11834         (__ieee754_gammaf_r): Likewise.
11835         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11836         Likewise.
11837         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11838         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11839         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11840         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11841         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11842         volatile.
11843         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11845         math_narrow_eval.
11846         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11847         Likewise.
11848         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11849         Likewise.
11850         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11851         Likewise.
11852         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11853         volatile.
11854         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11855         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11856         math_narrow_eval.
11857         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11858         Likewise.
11859         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11860         Likewise.
11862 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11864         * nptl/Versions: Remove ignored symbols.
11866 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11868         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11869         * nss/Makefile (tests): Update.
11871 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11873         * nss/bug18287.c: New file.
11874         * nss/Makefile (tests): Add bug18287.
11876 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11878         * mach/Versions (__mach_host_self_): Add symbol.
11880 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11882         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11883         vm_page_size.
11885 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11887         Really fix sysdeps/i386/fpu/s_scalbn.S build
11889         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11890         (libc: GLIBC_2_22): Remove unused version set.
11892 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11894         * config.make.in (enable-timezone-tools): New variable.
11895         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11896         (enable_timezone_tools): Export to generated files.
11897         * configure: Regenerate.
11898         * INSTALL: Regenerate.
11899         * manual/install.texi (--disable-timezone-tools): Document new flag.
11900         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11901         ifeq ($(enable-timezone-tools),yes) check.
11903 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11905         * timezone/Makefile: Revert previous change.
11907         [BZ #18980]
11908         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11909         (DEFINE_DBL_MIN): Likewise.
11910         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11911         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11912         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11913         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11914         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11915         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11916         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11917         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11918         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11919         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11920         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11921         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11922         (flt_min): Replace with use of DEFINE_FLT_MIN.
11923         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11924         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11925         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11926         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11927         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11928         (flt_min): Replace with use of DEFINE_FLT_MIN.
11929         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11930         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11931         (flt_min): Replace with use of DEFINE_FLT_MIN.
11932         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11933         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11934         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11935         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11936         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11937         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11938         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11939         (__ieee754_pow): Use DBL_NARROW_EVAL.
11940         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11941         (__ieee754_powf): Use FLT_NARROW_EVAL.
11942         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11943         (__ieee754_expf_sse2): Convert double-precision result to single
11944         precision.
11945         * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11949         * timezone/Makefile: Ignore unused variable errors due to private.h
11950         (time_t_min) and (time_t_max).
11951         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11952         Likewise.
11954 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #18981]
11957         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11958         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11959         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11960         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11961         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11962         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11963         (__scalbn): Use DBL_NARROW_EVAL.
11964         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11965         (__scalbnf): Use FLT_NARROW_EVAL.
11967 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11969         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11970         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11971         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11972         * stdio-common/printf_fp.c (___printf_fp):
11973         Use signbit to get the sign. Use isinf macro to allow inlining.
11974         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11975         * stdio-common/printf_size.c (__printf_size): Likewise.
11977 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11979         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11981 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11983         [BZ #18980]
11984         * sysdeps/generic/math_private.h: Include <float.h>.
11985         (math_narrow_eval): New macro.
11986         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11987         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11988         math_narrow_eval on overflowing return value.
11989         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11990         Likewise.
11991         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11992         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11993         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11994         Likewise.
11995         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11997 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11999         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12000         * math/Makefile: Remove isinf_ns.c.
12001         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12002         * math/multc3.c (__multc3): Likewise.
12003         * math/s_casin.c (__casin): Likewise.
12004         * math/s_casinf.c (__casinf): Likewise.
12005         * math/s_casinl.c (__casinl): Likewise.
12006         * math/s_cproj.c (__cproj): Likewise.
12007         * math/s_cprojf.c (__cprojf): Likewise.
12008         * math/s_cprojl.c (__cprofl): Likewise.
12009         * math/s_ctan.c (__ctan): Likewise.
12010         * math/s_ctanf.c (__ctanf): Likewise.
12011         * math/s_ctanh.c (__ctanh): Likewise.
12012         * math/s_ctanhf.c (__ctanhf): Likewise.
12013         * math/s_ctanhl.c (__ctanhl): Likewise.
12014         * math/s_ctanl.c (__ctanl): Likewise.
12015         * math/w_fmod.c (__fmod): Likewise.
12016         * math/w_fmodf.c (__fmodf): Likewise.
12017         * math/w_fmodl.c (_fmodl): Likewise.
12018         * math/w_remainder.c (__remainder): Likewise.
12019         * math/w_remainderf.c (__remainderf): Likewise.
12020         * math/w_remainderl.c (__remainderl): Likewise.
12021         * math/w_scalb.c (__scalb): Likewise.
12022         * math/w_scalbf.c (__scalbf): Likewise.
12023         * math/w_scalbl.c (__scalbl): Likewise.
12024         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12025         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12026         with isinf.
12027         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12029         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12030         __isinf_nsf with isinf.
12031         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12032         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12033         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12034         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12035         with isinf.
12036         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12037         __isinf_nsl with isinf.
12038         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12039         with isinf.
12040         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12041         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12042         __isinf_nsl with isinf.
12043         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12044         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12045         with isinf.
12047 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12049         * resolv/base64.c (rcsid): Remove unused static.
12050         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12051         static.  (tqpi1): Likewise.
12052         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12053         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12054         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12055         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12056         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12057         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12058         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12059         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12060         Likewise.
12062 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12064         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12065         <nptl/pthreadP.h>.
12066         (_longjmp_unwind): Use __libc_ptf_call.
12067         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12069 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12071         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12072         * sysdeps/arm/__longjmp.S: Likewise.
12074 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12076         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12077         Use __builtin_signbit.
12078         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12079         Use __builtin_signbitf.
12080         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12081         Use __builtin_signbitl.
12082         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12083         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12085 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12087         [BZ #15367]
12088         [BZ #17441]
12090         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12091         * math/math.h (fpclassify): Use __builtin_fpclassify when
12092         available.  (signbit): Use __builtin_signbit(f/l).
12093         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12094         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12095         (isinf): Use __builtin_isinf_sign.
12097 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12099         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12100         * benchtests/bench-math-inlines.c: New benchmark.
12101         * benchtests/bench-util.h: New file.
12102         * benchtests/bench-util.c: New file.
12103         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12105 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12107         * elf/tst-dlmopen1.c: Define TEST_SO.
12108         (do_test): Use TEST_SO.
12110         * elf/dl-load.c: Include libc-internal.h.
12111         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12113 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12115         [BZ #17887]
12116         * time/strptime_l.c (__strptime_internal): Make %z accept
12117         [+-]HH:MM time zones.
12119 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12121         [BZ #17886]
12122         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12123         valid time zone.
12125 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12127         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12128         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12129         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12130         (__ASSUME_FDATASYNC): Delete.
12132 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12134         * conform/linknamespace.pl: Require weak undefined symbols to be
12135         in the standard namespace.
12136         (%strong_syms): Rename to %seen_syms.
12137         (%strong_seen): Rename to %seen_where.
12139 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12141         [BZ #18970]
12142         * misc/error.c (error): Replace pthread_setcancelstate with
12143         __pthread_setcancelstate.
12144         (error_at_line): Likewise.
12145         * posix/wordexp.c (parse_comm): Likewise.
12146         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12147         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12148         (__pthread_setcancelstate): This.
12149         (pthread_setcancelstate): Add an alias.
12150         * nptl/nptl-init.c (pthread_functions): Replace
12151         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12152         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12153         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12154         hidden_proto.
12155         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12156         it with hidden_def.
12157         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12158         (pthread_setcancelstate): Renamed to ...
12159         (__pthread_setcancelstate): This.
12160         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12161         __libc_ptf_call with __pthread_setcancelstate.
12163 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12164             Andreas Schwab  <schwab@suse.de>
12166         [BZ #17118]
12167         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12168         result when imaginary part of argument is infinite using sine and
12169         cosine.
12170         * math/s_ctanf.c (__ctanf): Likewise.
12171         * math/s_ctanl.c (__ctanl): Likewise.
12172         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12173         of result when real part of argument is infinite using sine and
12174         cosine.
12175         * math/s_ctanhf.c (__ctanhf): Likewise.
12176         * math/s_ctanhl.c (__ctanhl): Likewise.
12177         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12178         (ctanh_test_data): Add more tests of ctanh.
12180 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12182         [BZ #15384]
12183         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12184         bit-mask as in subtraction.
12185         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12186         Likewise.
12187         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12188         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12189         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12191         [BZ #18951]
12192         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12193         underflow exception for small results.
12194         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12195         Likewise.
12196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12197         Likewise.
12198         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12199         Likewise.
12200         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12201         Likewise.
12202         * math/auto-libm-test-in: Add more tests of tgamma.
12203         * math/auto-libm-test-out: Regenerated.
12205 2015-09-17  Andreas Schwab  <schwab@suse.de>
12207         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12209 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12211         [BZ #18977]
12212         * math/bits/mathcalls.h
12213         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12214         not declare.
12215         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12216         Likewise.
12217         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12218         Likewise.
12219         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12220         Likewise.
12221         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12222         Likewise.
12223         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12224         Likewise.
12225         * conform/data/math.h-data
12226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12227         function.
12228         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12229         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12230         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12231         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12232         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12233         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12234         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12235         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12236         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12237         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12238         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12240         [BZ #6803]
12241         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12242         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12243         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12244         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12245         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12246         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12247         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12248         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12249         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12251         Likewise.
12252         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12253         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12256         long_double_symbol calls.
12257         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12258         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12259         strong alias of __ldexpl.
12260         (scalbnl): Define using long_double_symbol.
12261         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12262         Remove alias.
12263         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12264         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12265         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12266         (scalbln_test_data): Add more errno expectations.
12268 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12270         Cache the host port like we cache the task port.  This way we do not
12271         need to call the kernel just to get the port.  Furthermore, we no
12272         longer increase the reference count on every invocation of
12273         `mach_host_self'.
12275         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12276         Protect declarations against the macro expansion.
12277         * mach/mach_init.c (__mach_host_self_): New variable.
12278         (mach_init): Initialize `__mach_host_self_'.
12279         * mach/mach_init.h (__mach_host_self_): New declaration.
12280         (__mach_host_self, mach_host_self): New macros.
12281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12282         Release reference.
12284 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12286         [BZ #4404]
12287         * po/de.po: Update from Translation Project.
12289         [BZ #16415]
12290         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12291         (__expm1l): Remove code to handle positive infinity and overflow.
12292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12293         variable.
12294         (__expm1l): Remove code to handle positive infinity and overflow.
12296 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12297             Paul Pluzhnikov  <ppluzhnikov@google.com>
12299         [BZ #18872]
12300         * stdio-common/Makefile (tst-printf-bz18872): New test.
12301         (tst-printf-bz18872-mem.out): Likewise.
12302         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12303         * stdio-common/vfprintf.c: Fix memory leaks.
12305 2015-09-16  Andreas Schwab  <schwab@suse.de>
12307         [BZ #17244]
12308         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12309         Remove extra va_start/va_end calls.
12311         [BZ #17243]
12312         * posix/execl.c (execl): Add missing va_end.
12313         * posix/execle.c (execle): Likewise.
12314         * posix/execlp.c (execlp): Likewise.
12316 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12318         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12319         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12321 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12323         [BZ #18967]
12324         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12325         undefine around includes of <bits/mathcalls.h>.
12326         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12327         not declare function.
12328         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12329         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12330         (scalb): Likewise.
12331         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12332         not define macro.
12333         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12334         variable.
12335         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12336         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12337         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12339         [BZ #18857]
12340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12341         return non-finite argument without doing ordered comparisons on
12342         it.
12344         [BZ #16296]
12345         * math/fenv.h (fegetround): Use __attribute_pure__.
12346         * include/fenv.h (__fegetround): Likewise.
12348         [BZ #18595]
12349         * math/s_ctan.c (__ctan): Force underflow exception for results
12350         whose real or imaginary part has small absolute value.
12351         * math/s_ctanf.c (__ctanf): Likewise.
12352         * math/s_ctanh.c (__ctanh): Likewise.
12353         * math/s_ctanhf.c (__ctanhf): Likewise.
12354         * math/s_ctanhl.c (__ctanhl): Likewise.
12355         * math/s_ctanl.c (__ctanl): Likewise.
12356         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12357         and ctanh.  Add more tests of ctan and ctanh.
12359         [BZ #15918]
12360         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12361         handling of cases where one argument is an infinity.
12363         [BZ #18875]
12364         [BZ #18966]
12365         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12366         (MO): New macro.
12367         (__ieee754_exp10): For small results, force underflow exception
12368         and remove excess range and precision from return value.
12369         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12370         (MO): New macro.
12371         (__ieee754_exp10f): For small results, force underflow exception
12372         and remove excess range and precision from return value.
12373         * math/auto-libm-test-in: Add more tests of exp10.
12374         * math/auto-libm-test-out: Regenerated.
12376 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12378         [BZ #18875]
12379         [BZ #18961]
12380         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12381         (MO): New macro.
12382         (__ieee754_exp): For small results, force underflow exception and
12383         remove excess range and precision from return value.
12384         (__exp_finite): Likewise.
12385         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12386         (MO): New macro.
12387         (__ieee754_expf): For small results, force underflow exception and
12388         remove excess range and precision from return value.
12389         (__expf_finite): Likewise.
12390         * math/auto-libm-test-in: Add more tests of exp.
12391         * math/auto-libm-test-out: Regenerated.
12393         [BZ #16521]
12394         [BZ #18875]
12395         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12396         small results.
12397         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12398         (MO): New macro.
12399         (__ieee754_exp2): For small results, force underflow exception and
12400         remove excess range and precision from return value.
12401         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12402         (MO): New macro.
12403         (__ieee754_exp2f): For small results, force underflow exception
12404         and remove excess range and precision from return value.
12405         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12406         (MO): New macro.
12407         (__ieee754_exp2l): Force underflow exception for small results.
12408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12409         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12410         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12411         (MO): New macro.
12412         (__ieee754_exp2l): Force underflow exception for small results.
12413         * math/auto-libm-test-in: Add more tests or exp2.
12414         * math/auto-libm-test-out: Regenerated.
12416 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12418         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12420         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12421         /dev/null.
12423 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12425         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12426         io fs process)): Drop spurious backslash.
12428 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12431         Use sysinfo system call instead of parsing /proc/meminfo.
12432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12433         Likewise.
12435 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12437         [BZ #16985]
12438         * programs/localedef.c (main): Display argv[remaining] when
12439         output_path is NULL.
12441 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12443         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12444         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12445         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12446         tanh.
12447         * math/auto-libm-test-out: Regenerated.
12448         * sysdeps/i386/fpu/libm-test-ulps: Update.
12449         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12450         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12453 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12455         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12456         Use 'override' keyword to freeze the value here, preventing
12457         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12459 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12461         [BZ #14912]
12462         * sysdeps/aarch64/bits/atomic.h: Move to ...
12463         * sysdeps/aarch64/atomic-machine.h: ...here.
12464         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12465         _AARCH64_ATOMIC_MACHINE_H.
12466         * sysdeps/alpha/bits/atomic.h: Move to ...
12467         * sysdeps/alpha/atomic-machine.h: ...here.
12468         * sysdeps/arm/bits/atomic.h: Move to ...
12469         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12470         * bits/atomic.h: Move to ...
12471         * sysdeps/generic/atomic-machine.h: ...here.
12472         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12473         * sysdeps/i386/bits/atomic.h: Move to ...
12474         * sysdeps/i386/atomic-machine.h: ...here.
12475         * sysdeps/ia64/bits/atomic.h: Move to ...
12476         * sysdeps/ia64/atomic-machine.h: ...here.
12477         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12478         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12479         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12480         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12481         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12482         * sysdeps/microblaze/bits/atomic.h: Move to ...
12483         * sysdeps/microblaze/atomic-machine.h: ...here.
12484         * sysdeps/mips/bits/atomic.h: Move to ...
12485         * sysdeps/mips/atomic-machine.h: ...here.
12486         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12487         * sysdeps/powerpc/bits/atomic.h: Move to ...
12488         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12489         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12490         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12491         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12492         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12493         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12494         <atomic-machine.h> instead of <bits/atomic.h>.
12495         * sysdeps/s390/bits/atomic.h: Move to ...
12496         * sysdeps/s390/atomic-machine.h: ...here.
12497         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12498         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12499         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12500         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12501         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12502         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12503         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12504         * sysdeps/tile/bits/atomic.h: Move to ...
12505         * sysdeps/tile/atomic-machine.h: ...here.
12506         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12507         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12508         <sysdeps/tile/atomic-machine.h> instead of
12509         <sysdeps/tile/bits/atomic.h>.
12510         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12511         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12512         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12513         <sysdeps/tile/atomic-machine.h> instead of
12514         <sysdeps/tile/bits/atomic.h>.
12515         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12516         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12517         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12518         <sysdeps/arm/atomic-machine.h> instead of
12519         <sysdeps/arm/bits/atomic.h>.
12520         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12521         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12522         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12523         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12524         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12525         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12526         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12527         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12528         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12529         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12530         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12531         * sysdeps/x86_64/bits/atomic.h: Move to ...
12532         * sysdeps/x86_64/atomic-machine.h: ...here.
12533         * include/atomic.h: Include <atomic-machine.h> instead of
12534         <bits/atomic.h>.
12536         * sysdeps/mips/mips32/libm-test-ulps: Update.
12537         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12539         [BZ #18952]
12540         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12541         not convert non-integer negative arguments to int to determine the
12542         value of signgam.
12543         * math/auto-libm-test-in: Add more tests of lgamma.
12544         * math/auto-libm-test-out: Regenerated.
12546         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12547         cosh, csqrt, erfc, expm1 and lgamma.
12548         * math/auto-libm-test-out: Regenerated.
12549         * sysdeps/i386/fpu/libm-test-ulps: Update.
12550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12554         [BZ #2542]
12555         [BZ #2543]
12556         [BZ #2558]
12557         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12558         __lgamma_neg for arguments from -28.0 to -2.0.
12559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12560         __lgamma_negf for arguments from -15.0 to -2.0.
12561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12562         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12563         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12564         Call __lgamma_negl for arguments from -33.0 to -2.0.
12565         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12566         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12567         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12568         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12569         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12570         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12571         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12572         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12573         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12574         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12575         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12576         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12577         (__lgamma_neg): Likewise.
12578         (__lgamma_negl): Likewise.
12579         (__lgamma_product): Likewise.
12580         (__lgamma_productl): Likewise.
12581         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12582         * math/auto-libm-test-in: Add more tests of lgamma.
12583         * math/auto-libm-test-out: Regenerated.
12584         * sysdeps/i386/fpu/libm-test-ulps: Update.
12585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12587 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12589         [BZ #18675]
12590         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12592 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12594         [BZ #14912]
12595         * bits/libc-lock.h: Move to ...
12596         * sysdeps/generic/libc-lock.h: ...here.
12597         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12598         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12599         * sysdeps/mach/hurd/libc-lock.h: ...here.
12600         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12601         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12602         * sysdeps/mach/bits/libc-lock.h: Move to ...
12603         * sysdeps/mach/libc-lock.h: ...here.
12604         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12605         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12606         * sysdeps/nptl/libc-lock.h: ...here.
12607         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12608         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12609         * sysdeps/nptl/libc-lockP.h: ...here.
12610         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12611         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12612         <bits/libc-lock.h>.
12613         * dirent/scandir-tail.c: Likewise.
12614         * dlfcn/dlerror.c: Likewise.
12615         * elf/dl-close.c: Likewise.
12616         * elf/dl-iteratephdr.c: Likewise.
12617         * elf/dl-lookup.c: Likewise.
12618         * elf/dl-open.c: Likewise.
12619         * elf/dl-support.c: Likewise.
12620         * elf/dl-writev.h: Likewise.
12621         * elf/rtld.c: Likewise.
12622         * grp/fgetgrent.c: Likewise.
12623         * gshadow/fgetsgent.c: Likewise.
12624         * gshadow/sgetsgent.c: Likewise.
12625         * iconv/gconv_conf.c: Likewise.
12626         * iconv/gconv_db.c: Likewise.
12627         * iconv/gconv_dl.c: Likewise.
12628         * iconv/gconv_int.h: Likewise.
12629         * iconv/gconv_trans.c: Likewise.
12630         * include/link.h: Likewise.
12631         * inet/getnameinfo.c: Likewise.
12632         * inet/getnetgrent.c: Likewise.
12633         * inet/getnetgrent_r.c: Likewise.
12634         * intl/bindtextdom.c: Likewise.
12635         * intl/dcigettext.c: Likewise.
12636         * intl/finddomain.c: Likewise.
12637         * intl/gettextP.h: Likewise.
12638         * intl/loadmsgcat.c: Likewise.
12639         * intl/localealias.c: Likewise.
12640         * intl/textdomain.c: Likewise.
12641         * libidn/idn-stub.c: Likewise.
12642         * libio/libioP.h: Likewise.
12643         * locale/duplocale.c: Likewise.
12644         * locale/freelocale.c: Likewise.
12645         * locale/newlocale.c: Likewise.
12646         * locale/setlocale.c: Likewise.
12647         * login/getutent_r.c: Likewise.
12648         * login/getutid_r.c: Likewise.
12649         * login/getutline_r.c: Likewise.
12650         * login/utmp-private.h: Likewise.
12651         * login/utmpname.c: Likewise.
12652         * malloc/mtrace.c: Likewise.
12653         * misc/efgcvt.c: Likewise.
12654         * misc/error.c: Likewise.
12655         * misc/fstab.c: Likewise.
12656         * misc/getpass.c: Likewise.
12657         * misc/mntent.c: Likewise.
12658         * misc/syslog.c: Likewise.
12659         * nis/nis_call.c: Likewise.
12660         * nis/nis_callback.c: Likewise.
12661         * nis/nss-default.c: Likewise.
12662         * nis/nss_compat/compat-grp.c: Likewise.
12663         * nis/nss_compat/compat-initgroups.c: Likewise.
12664         * nis/nss_compat/compat-pwd.c: Likewise.
12665         * nis/nss_compat/compat-spwd.c: Likewise.
12666         * nis/nss_nis/nis-alias.c: Likewise.
12667         * nis/nss_nis/nis-ethers.c: Likewise.
12668         * nis/nss_nis/nis-grp.c: Likewise.
12669         * nis/nss_nis/nis-hosts.c: Likewise.
12670         * nis/nss_nis/nis-network.c: Likewise.
12671         * nis/nss_nis/nis-proto.c: Likewise.
12672         * nis/nss_nis/nis-pwd.c: Likewise.
12673         * nis/nss_nis/nis-rpc.c: Likewise.
12674         * nis/nss_nis/nis-service.c: Likewise.
12675         * nis/nss_nis/nis-spwd.c: Likewise.
12676         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12677         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12678         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12679         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12680         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12681         * nis/nss_nisplus/nisplus-network.c: Likewise.
12682         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12683         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12684         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12685         * nis/nss_nisplus/nisplus-service.c: Likewise.
12686         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12687         * nis/ypclnt.c: Likewise.
12688         * nptl/libc_pthread_init.c: Likewise.
12689         * nss/getXXbyYY.c: Likewise.
12690         * nss/getXXent.c: Likewise.
12691         * nss/getXXent_r.c: Likewise.
12692         * nss/nss_db/db-XXX.c: Likewise.
12693         * nss/nss_db/db-netgrp.c: Likewise.
12694         * nss/nss_db/nss_db.h: Likewise.
12695         * nss/nss_files/files-XXX.c: Likewise.
12696         * nss/nss_files/files-alias.c: Likewise.
12697         * nss/nsswitch.c: Likewise.
12698         * posix/regex_internal.h: Likewise.
12699         * posix/wordexp.c: Likewise.
12700         * pwd/fgetpwent.c: Likewise.
12701         * resolv/res_hconf.c: Likewise.
12702         * resolv/res_libc.c: Likewise.
12703         * shadow/fgetspent.c: Likewise.
12704         * shadow/lckpwdf.c: Likewise.
12705         * shadow/sgetspent.c: Likewise.
12706         * socket/opensock.c: Likewise.
12707         * stdio-common/reg-modifier.c: Likewise.
12708         * stdio-common/reg-printf.c: Likewise.
12709         * stdio-common/reg-type.c: Likewise.
12710         * stdio-common/vfprintf.c: Likewise.
12711         * stdio-common/vfscanf.c: Likewise.
12712         * stdlib/abort.c: Likewise.
12713         * stdlib/cxa_atexit.c: Likewise.
12714         * stdlib/fmtmsg.c: Likewise.
12715         * stdlib/random.c: Likewise.
12716         * stdlib/setenv.c: Likewise.
12717         * string/strsignal.c: Likewise.
12718         * sunrpc/auth_none.c: Likewise.
12719         * sunrpc/bindrsvprt.c: Likewise.
12720         * sunrpc/create_xid.c: Likewise.
12721         * sunrpc/key_call.c: Likewise.
12722         * sunrpc/rpc_thread.c: Likewise.
12723         * sysdeps/arm/backtrace.c: Likewise.
12724         * sysdeps/generic/ldsodefs.h: Likewise.
12725         * sysdeps/generic/stdio-lock.h: Likewise.
12726         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12727         * sysdeps/i386/backtrace.c: Likewise.
12728         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12729         * sysdeps/m68k/backtrace.c: Likewise.
12730         * sysdeps/mach/hurd/cthreads.c: Likewise.
12731         * sysdeps/mach/hurd/dirstream.h: Likewise.
12732         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12733         * sysdeps/nptl/malloc-machine.h: Likewise.
12734         * sysdeps/nptl/stdio-lock.h: Likewise.
12735         * sysdeps/posix/dirstream.h: Likewise.
12736         * sysdeps/posix/getaddrinfo.c: Likewise.
12737         * sysdeps/posix/system.c: Likewise.
12738         * sysdeps/pthread/aio_suspend.c: Likewise.
12739         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12740         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12741         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12742         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12743         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12744         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12745         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12746         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12747         * sysdeps/unix/sysv/linux/system.c: Likewise.
12748         * sysdeps/x86_64/backtrace.c: Likewise.
12749         * time/alt_digit.c: Likewise.
12750         * time/era.c: Likewise.
12751         * time/tzset.c: Likewise.
12752         * wcsmbs/wcsmbsload.c: Likewise.
12753         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12754         instead of <bits/libc-lock.h> in comment.
12756 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12758         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12759         Only use .set mips2 if the current ISA is below mips2.
12760         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12761         Likewise.
12762         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12763         mips32r2 if the current ISA is below mips32r2.
12764         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12765         (TLS_IE): Updated to use the TLD_RDHWR macro.
12766         (TLS_LE): Likewise.
12767         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12768         __ASSEMBLER__ condition.
12770 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12772         Fix parallel build of before-compile targets.
12774         * sysdeps/mach/Makefile ($(patsubst
12775         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12776         mach-before-compile target.
12777         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12778         io fs process)): Move rule to dedicated hurd-before-compile target.
12780 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12782         Fix rules generating headers in hurd/ and mach/ when initial make call
12783         has subdir= explicitly set.
12785         * sysdeps/mach/Makefile ($(patsubst
12786         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12787         calling $(MAKE).
12788         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12789         io fs process)): Force subdir to hurd when calling $(MAKE).
12790         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12791         subdir to mach when calling $(MAKE).
12793 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12795         Check sysheaders when looking for Mach and Hurd headers
12797         * sysdeps/mach/configure.ac: Add sysheaders check.
12798         * sysdeps/mach/configure: Regenerate.
12799         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12800         * sysdeps/mach/hurd/configure: Regenerate.
12802 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12804         [BZ #18921]
12805         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12806         Fix inverted sense of test of 'o_directory_works' value.
12807         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12808         Bernhard Voelker <mail@bernhard-voelker.de>.
12810 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12812         [BZ #14912]
12813         * bits/linkmap.h: Move to ...
12814         * sysdeps/generic/linkmap.h: ...here.
12815         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12816         * sysdeps/aarch64/linkmap.h: ...here.
12817         * sysdeps/arm/bits/linkmap.h: Move to ...
12818         * sysdeps/arm/linkmap.h: ...here.
12819         * sysdeps/hppa/bits/linkmap.h: Move to ...
12820         * sysdeps/hppa/linkmap.h: ...here.
12821         * sysdeps/ia64/bits/linkmap.h: Move to ...
12822         * sysdeps/ia64/linkmap.h: ...here.
12823         * sysdeps/mips/bits/linkmap.h: Move to ...
12824         * sysdeps/mips/linkmap.h: ...here.
12825         * sysdeps/s390/bits/linkmap.h: Move to ...
12826         * sysdeps/s390/linkmap.h: ...here.
12827         * sysdeps/sh/bits/linkmap.h: Move to ...
12828         * sysdeps/sh/linkmap.h: ...here.
12829         * sysdeps/x86/bits/linkmap.h: Move to ...
12830         * sysdeps/x86/linkmap.h: ...here.
12831         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12833 2015-09-04  Andreas Schwab  <schwab@suse.de>
12835         [BZ #18635]
12836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12837         (__makecontext): Terminate FDE before return label.
12838         (__novec_makecontext): Likewise.
12840 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12842         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12843         first member of struct sv in syscall macro.
12845 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12847         [BZ #14912]
12848         * bits/stdio-lock.h: Move to ...
12849         * sysdeps/generic/stdio-lock.h: ...here.
12850         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12851         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12852         * sysdeps/nptl/stdio-lock.h: ...here.
12853         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12854         * include/libio.h: Include <stdio-lock.h> instead of
12855         <bits/stdio-lock.h>.
12856         * sysdeps/nptl/fork.c: Likewise.
12857         * sysdeps/pthread/flockfile.c: Likewise.
12858         * sysdeps/pthread/ftrylockfile.c: Likewise.
12859         * sysdeps/pthread/funlockfile.c: Likewise.
12861         [BZ #14912]
12862         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12863         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12864         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12865         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12866         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12867         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12868         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12870 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12872         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12873         (test-xfail-tst-protected1b): New variable.
12875 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12877         [BZ #14912]
12878         * bits/libc-tsd.h: Move to ...
12879         * sysdeps/generic/libc-tsd.h: ...here.
12880         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12881         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12882         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12883         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12884         * include/ctype.h: Include <libc-tsd.h> instead of
12885         <bits/libc-tsd.h>.
12886         * include/rpc/rpc.h: Likewise.
12887         * locale/localeinfo.h: Likewise.
12888         * sunrpc/rpc_thread.c: Likewise.
12889         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12890         * sysdeps/nptl/malloc-machine.h: Likewise.
12892         * Makefile (headers): Remove bits/libc-lock.h.
12893         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12895         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12896         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12897         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12898         <bits/stdio-lock.h>.
12899         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12900         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12902 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12904         [BZ #18757]
12905         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12906         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12907         BZ #18757.
12909 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12911         * malloc/mtrace.pl: Filter out NULL entries.
12913 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12915         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12916         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12917         macro.
12919         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12920         (TCP_CC_INFO): Likewise.
12921         (TCP_SAVE_SYN): Likewise.
12922         (TCP_SAVED_SYN): Likewise.
12924 2015-08-31  Brett Neumeier <brett@neumeier.us>
12926         [BZ #18870]
12927         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12929 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12931         [BZ #18873]
12932         Fix broken overflow check in posix_fallocate
12933         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12934         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12935         Fix parenthesization typo.
12937 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12939         [BZ #18887]
12940         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12941         tst-mntent-blank-passno.
12942         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12943         * misc/tst-mntent-blank-corrupt.c: New test.
12944         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12945         * misc/tst-mntent.c (do_test): ... here.
12947 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12949         [BZ #4404]
12950         * po/de.po: Fix SIGALRM typo.
12952 2015-08-28  James Perkins  <james@loowit.net>
12954         * time/tst-strptime2.c (tests): Replace short list of test
12955         strings for strptime %z specifier with code which exhaustively
12956         tests every combination of sign and 0 to 5 digits. Tests for
12957         rejection of invalid strings.
12959 2015-08-28  James Perkins  <james@loowit.net>
12961         [BZ #16141]
12962         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12963         calculation, removing incorrect decimal time rounding, so that
12964         all minute values result in a valid seconds value.
12965         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12966         offset range limits to UTC-99:59 through UTC+99:59 to parse
12967         current and historical use cases.
12968         * time/tst-strptime2.c (tests): Modify and add tests for the
12969         strptime %z input field descriptor, specifically conversion of
12970         minutes to seconds and validating an offset range of -9959 to
12971         +9959.
12973 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12974             Dmitry V. Levin  <ldv@altlinux.org>
12976         [BZ #18877]
12977         * posix/Makefile (tests): Add tst-mmap-offset.
12978         * posix/tst-mmap.c: New file.
12979         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12980         offset calculation for negative values.
12982 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12984         * sysdeps/i386/init-arch.h: New file.
12985         * sysdeps/i386/i586/init-arch.h: Likewise.
12986         * sysdeps/i386/i686/init-arch.h: Likewise.
12987         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12988         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12989         * sysdeps/x86/cpu-features.h (bit_I586): New.
12990         (bit_I686): Likewise.
12991         (bit_CX8): Likewise.
12992         (bit_CMOV): Likewise.
12993         (index_CX8): Likewise.
12994         (index_CMOV): Likewise.
12995         (index_I586): Likewise.
12996         (index_I686): Likewise.
12997         (reg_CX8): Likewise.
12998         (reg_CMOV): Likewise.
12999         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13000         available at compile-time.
13001         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13002         available at compile-time.
13003         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13004         (USE_I686): Likewise.
13006 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13008         * sysdeps/i386/bcopy.S: New file.
13009         * sysdeps/i386/bzero.S: Likewise.
13010         * sysdeps/i386/memcpy.S: Likewise.
13011         * sysdeps/i386/memmove.S: Likewise.
13012         * sysdeps/i386/mempcpy.S: Likewise.
13013         * sysdeps/i386/memset.S: Likewise.
13014         * sysdeps/i386/bzero.c: Removed.
13015         * sysdeps/i386/memset.c: Likewise.
13016         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13017         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13018         * sysdeps/i386/i586/memset_chk.S: Likewise.
13019         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13020         * sysdeps/i386/memcpy_chk.S: Here.
13021         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13022         * sysdeps/i386/memmove_chk.S: Here.
13023         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13024         * sysdeps/i386/mempcpy_chk.S: Likewise.
13025         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13026         * sysdeps/i386/memset_chk.S: Likewise.
13028 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13030         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13031         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13032         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13033         * soft-fp/fmadf4.c: Ditto.
13034         * soft-fp/fmatf4.c: Ditto.
13036 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13038         * sysdeps/i386/i586/Implies: Removed.
13039         * sysdeps/i386/i686/Implies: Likewise.
13041 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13043         * sysdeps/i386/i486/strlen.S: Moved to ...
13044         * sysdeps/i386/strlen.S: Here.
13046 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13048         * sysdeps/i386/i486/strcat.S: Moved to ...
13049         * sysdeps/i386/strcat.S: Here.
13051 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13053         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13054         * sysdeps/i386/pthread_spin_trylock.S: Here.
13055         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13056         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13058 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13060         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13061         * sysdeps/i386/string-inlines.c: Here.
13063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13065         * sysdeps/i386/i486/htonl.S: Moved ...
13066         * sysdeps/i386/htonl.S: here.
13068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13070         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13071         * sysdeps/i386/bits/atomic.h: Here.
13073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13075         * sysdeps/i386/i486/Versions: Removed.
13077 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13079         [BZ #2898]
13080         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13081         Based on patch by Aurelien Jarno.
13083 2015-08-26  Stan Shebs  <stanshebs@google.com>
13085         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13086         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13088 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13090         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13091         * sysdeps/powerpc/dl-procinfo.c:
13092         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13093         feature so it shows when LD_SHOW_AUXV=1.
13095 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13097         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13098         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13099         definition.  ISA 2.07B no longer requires full sync.
13101 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13103         [BZ #18863]
13104         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13105         (si_call_addr): Define.
13106         (si_syscall): Define.
13107         (si_arch): Define.
13109 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13111         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13112         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13113         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13114         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13115         (__memset_zero_constant_len_parameter): New.
13116         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13117         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13118         (__memset_zero_constant_len_parameter): Don't define if
13119         __memset_chk or USE_AS_BZERO are defined.
13121         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13122         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13123         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13125         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13126         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13127         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13128         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13129         comments.
13130         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13131         -mno-mmx for $(all-rtld-routines).
13132         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13133         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13134         i386.
13136 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13138         * sysdeps/generic/unwind.h
13139         (_Unwind_Word): Use __mode__(__unwind_word__)
13140         instead of __mode__(__word__).
13141         (_Unwind_Sword): Likewise.
13143         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13144         (MAX_NEEDED_INPUT): New define.
13145         (MAX_NEEDED_OUTPUT): New define.
13147         * NEWS: New item for IBM z13 string optimizations.
13149         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13150         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13151         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13152         * sysdeps/s390/multiarch/Makefile
13153         (sysdep_routines): Add memrchr functions.
13154         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13155         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13157         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13158         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13159         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13160         * sysdeps/s390/multiarch/Makefile
13161         (sysdep_routines): Add wmemcmp functions.
13162         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13163         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13164         * benchtests/bench-wmemcmp.c: New File.
13165         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13167         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13168         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13169         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13170         * sysdeps/s390/multiarch/Makefile
13171         (sysdep_routines): Add wmemset functions.
13172         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13173         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13174         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13175         * string/test-memset.c: Add wmemset support.
13176         * wcsmbs/test-wmemset.c: New File.
13177         * wcsmbs/Makefile (strop-tests): Add wmemset.
13178         * benchtests/bench-memset.c: Add wmemset support.
13179         * benchtests/bench-wmemset.c: New File.
13180         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13182         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13183         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13184         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13185         * sysdeps/s390/multiarch/Makefile
13186         (sysdep_routines): Add memccpy functions.
13187         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13188         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13189         * string/memccpy.c: Use MEMCCPY if defined.
13191         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13192         * sysdeps/s390/multiarch/memchr.c: Likewise.
13193         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13194         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13195         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13196         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13197         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13198         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13199         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13200         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13201         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13202         and rawmemchr functions.
13203         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13204         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13205         and wmemchr.
13206         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13207         * string/test-memchr.c: Add wmemchr support.
13208         * wcsmbs/test-wmemchr.c: New File.
13209         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13210         * benchtests/bench-memchr.c: Add wmemchr support.
13211         * benchtests/bench-wmemchr.c: New File.
13212         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13214         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13215         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13216         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13217         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13218         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13219         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13221         wcscspn functions.
13222         * sysdeps/s390/multiarch/ifunc-impl-list.c
13223         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13224         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13225         * string/test-strcspn.c: Add wcscspn support.
13226         * wcsmbs/test-wcscspn.c: New File.
13227         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13228         * benchtests/bench-strcspn.c: Add wcscspn support.
13229         * benchtests/bench-wcscspn.c: New File.
13230         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13232         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13233         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13234         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13235         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13236         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13237         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13238         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13239         wcspbrk functions.
13240         * sysdeps/s390/multiarch/ifunc-impl-list.c
13241         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13242         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13243         * string/test-strpbrk.c: Add wcspbrk support.
13244         * wcsmbs/test-wcspbrk.c: New File.
13245         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13246         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13247         * benchtests/bench-wcspbrk.c: New File.
13248         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13250         * sysdeps/s390/multiarch/strspn-c.c: New File.
13251         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13252         * sysdeps/s390/multiarch/strspn.c: Likewise.
13253         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13254         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13255         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13256         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13258         wcsspn functions.
13259         * sysdeps/s390/multiarch/ifunc-impl-list.c
13260         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13261         * string/test-strspn.c: Add wcsspn support.
13262         * wcsmbs/test-wcsspn.c: New File.
13263         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13264         * benchtests/bench-strspn.c: Add wcsspn support.
13265         * benchtests/bench-wcsspn.c: New File.
13266         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13268         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13269         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13270         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13271         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13272         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13273         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13274         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13275         wcsrchr functions.
13276         * sysdeps/s390/multiarch/ifunc-impl-list.c
13277         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13278         * benchtests/bench-wcsrchr.c: New File.
13279         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13281         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13282         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13283         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13284         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13285         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13286         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13288         wcschrnul functions.
13289         * sysdeps/s390/multiarch/ifunc-impl-list.c
13290         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13291         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13292         * string/test-strchr.c: Add wcschrnul support.
13293         * wcsmbs/test-wcschrnul.c: New File.
13294         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13295         * benchtests/bench-strchr.c: Add wcschrnul support.
13296         * benchtests/bench-wcschrnul.c: New File.
13297         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13299         * sysdeps/s390/multiarch/strchr-c.c: New File.
13300         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13301         * sysdeps/s390/multiarch/strchr.c: Likewise.
13302         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13303         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13304         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13305         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13306         wcschr functions.
13307         * sysdeps/s390/multiarch/ifunc-impl-list.c
13308         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13309         * string/strchr.c (STRCHR): Define and use macro.
13310         * benchtests/bench-wcschr.c: New File.
13311         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13313         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13314         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13315         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13316         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13317         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13318         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13320         wcsncmp functions.
13321         * sysdeps/s390/multiarch/ifunc-impl-list.c
13322         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13323         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13324         * benchtests/bench-strncmp.c: Add wcsncmp support.
13325         * benchtests/bench-wcsncmp.c: New File.
13326         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13328         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13329         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13330         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13331         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13332         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13333         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13334         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13335         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13336         wcscmp functions.
13337         * sysdeps/s390/multiarch/ifunc-impl-list.c
13338         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13339         * string/strcmp.c (STRCMP): Define and use macro.
13340         * benchtests/bench-wcscmp.c: New File.
13341         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13342         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13343         instead of _HAVE_STRING_ARCH_memchr.
13345         * sysdeps/s390/multiarch/strncat-c.c: New File.
13346         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13347         * sysdeps/s390/multiarch/strncat.c: Likewise.
13348         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13349         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13350         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13352         wcsncat functions.
13353         * sysdeps/s390/multiarch/ifunc-impl-list.c
13354         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13355         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13356         * string/test-strncat.c: Add wcsncat support.
13357         * wcsmbs/test-wcsncat.c: New File.
13358         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13359         * benchtests/bench-strncat.c: Add wcsncat support.
13360         * benchtests/bench-wcsncat.c: New File.
13361         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13363         * sysdeps/s390/multiarch/strcat-c.c: New File.
13364         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13365         * sysdeps/s390/multiarch/strcat.c: Likewise.
13366         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13367         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13368         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13370         wcscat functions.
13371         * sysdeps/s390/multiarch/ifunc-impl-list.c
13372         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13373         * string/strcat.c (STRCAT): Define and use macro.
13374         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13375         * string/test-strcat.c: Add wcscat support.
13376         * wcsmbs/test-wcscat.c: New File.
13377         * wcsmbs/Makefile (strop-tests): Add wcscat.
13378         * benchtests/bench-strcat.c: Add wcscat support.
13379         * benchtests/bench-wcscat.c: New File.
13380         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13382         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13383         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13384         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13385         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13386         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13387         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13388         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13389         wcpncpy functions.
13390         * sysdeps/s390/multiarch/ifunc-impl-list.c
13391         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13392         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13393         * string/test-stpncpy.c: Add wcpncpy support.
13394         * wcsmbs/test-wcpncpy.c: New File.
13395         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13396         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13397         * benchtests/bench-wcpncpy.c: New File.
13398         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13400         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13401         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13402         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13403         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13404         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13405         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13406         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13408         wcsncpy functions.
13409         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13410         * sysdeps/s390/multiarch/ifunc-impl-list.c
13411         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13412         * string/test-strncpy.c: Add wcsncpy support.
13413         * wcsmbs/test-wcsncpy.c: New File.
13414         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13415         * benchtests/bench-strncpy.c: Add wcsncpy support.
13416         * benchtests/bench-wcsncpy.c: New File.
13417         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13419         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13420         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13421         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13422         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13423         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13424         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13425         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13426         wcpcpy functions.
13427         * string/stpcpy.c: Use STPCPY if defined.
13428         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13429         * sysdeps/s390/multiarch/ifunc-impl-list.c
13430         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13431         * string/test-stpcpy.c: Add wcpcpy support.
13432         * wcsmbs/test-wcpcpy.c: New File.
13433         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13434         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13435         * benchtests/bench-wcpcpy.c: New File.
13436         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13438         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13439         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13440         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13441         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13442         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13443         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13444         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13445         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13446         wcscpy functions.
13447         * sysdeps/s390/multiarch/ifunc-impl-list.c
13448         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13449         * benchtests/bench-wcscpy.c: New File.
13450         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13452         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13453         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13454         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13455         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13456         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13457         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13459         wcsnlen functions.
13460         * sysdeps/s390/multiarch/ifunc-impl-list.c
13461         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13462         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13463         * string/test-strnlen.c: Add wcsnlen support.
13464         * wcsmbs/test-wcsnlen.c: New File.
13465         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13466         * benchtests/bench-strnlen.c: Add wcsnlen support.
13467         * benchtests/bench-wcsnlen.c: New File.
13468         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13470         * sysdeps/s390/multiarch/Makefile: New File.
13471         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13472         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13473         * sysdeps/s390/multiarch/strlen.c: Likewise.
13474         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13475         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13476         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13477         * string/strlen.c (STRLEN): Define and use macro.
13478         * sysdeps/s390/multiarch/ifunc-impl-list.c
13479         (IFUNC_VX_IMPL): New macro function.
13480         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13481         * benchtests/Makefile (wcsmbs-bench): New variable.
13482         (string-bench-all): Added wcsmbs-bench.
13483         * benchtests/bench-wcslen.c: New File.
13485         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13486         s390_vx_libc_ifunc2): New macro function.
13488         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13489         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13490         assembler support.
13491         * sysdeps/s390/configure: Regenerated.
13493         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13494         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13496         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13497         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13498         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13500         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13501         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13502         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13503         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13504         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13505         (memcmp, bcmp): Use __memcmp_default as alias source.
13506         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13507         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13508         Rename to __memcmp_default.
13509         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13510         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13511         (memcpy): Use __memcpy_default as alias source.
13512         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13513         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13514         Rename to __memcpy_default.
13515         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13516         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13517         (memset): Use __memset_default as alias source.
13518         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13519         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13520         Rename to __memset_default.
13521         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13522         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13523         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13524         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13525         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13526         (memcmp, bcmp): Use __memcmp_default as alias source.
13527         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13528         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13529         Rename to __memcmp_default.
13530         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13531         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13532         (memcpy): Use __memcpy_default as alias source.
13533         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13534         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13535         Rename to __memcpy_default.
13536         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13537         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13538         (memset): Use __memset_default as alias source.
13539         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13540         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13541         Rename to __memset_default.
13542         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13543         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13545         [BZ #18610]
13546         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13547         __ieee_instruction_pointer to __unused.
13548         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13549         __ieee_instruction_pointer.
13550         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13551         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13552         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13553         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13554         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13555         Mark dxc-field as reserved.
13557 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13559         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13560         if the weak reference is not null.
13562 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13564         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13566         [BZ #11214]
13567         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13569 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13571         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13572         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13573         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13574         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13575         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13576         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13577         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13578         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13579         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13580         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13581         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13582         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13583         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13584         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13585         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13586         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13587         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13588         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13590 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13592         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13593         register other than r0 for tabort, it has special meaning.
13594         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13595         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13596         transaction before starting syscall.
13598 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13600         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13602 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13604         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13606         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13607         * sysdeps/x86_64/rtld-memset.S: Likewise.
13608         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13609         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13610         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13611         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13613         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13615 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13617         * debug/strcpy_chk.c: Improve performance.
13618         * debug/stpcpy_chk.c: Likewise.
13619         * sysdeps/x86_64/strcpy_chk.S: Remove.
13620         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13622         [BZ #18240]
13623         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13625 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13627         [BZ #15128]
13628         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13629         ifuncmain8.
13630         (modules-names): Add ifuncmod8.
13631         ($(objpfx)ifuncmain8): New rule.
13632         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13633         <cpuid.h>.
13634         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13635         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13636         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13637         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13638         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13639         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13640         * sysdeps/x86_64/ifuncmain8.c: New file.
13641         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13642         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13643         Removed.
13644         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13645         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13646         Change rtld_savespace_sse to __glibc_unused2.
13647         (RTLD_CHECK_FOREIGN_CALL): Removed.
13648         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13649         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13650         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13652 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13654         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13656 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13658         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13659         Unconditionally set __fpcr to avoid uninialized warning.
13660         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13662 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13665         is corrupt.
13667         * malloc/arena.c (arena_get2): Drop unused argument.
13668         (arena_lock): Adjust.
13669         (arena_get_retry): Likewise.
13671 2015-08-24  Andreas Schwab  <schwab@suse.de>
13673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13674         Don't define.
13675         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13676         (__ASSUME_IPC64): Don't undef.
13677         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13678         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13679         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13680         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13681         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13682         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13683         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13684         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13685         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13686         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13687         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13688         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13689         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13690         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13691         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13692         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13693         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13694         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13695         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13696         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13697         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13699 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13701         * manual/Makefile (install): Only build manual when perl is available.
13703 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13705         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13706         '#undef memcpy' by '#undef memchr'.
13708 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13710         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13711         memchr not point to the internal __GI_memchr implementation.
13713 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13715         * timezone/Makefile (CFLAGS-zdump.c): Remove
13716         -Wno-strict-prototypes.
13717         (CFLAGS-zic.c): Likewise.
13718         (CFLAGS-ialloc.c): Likewise.
13719         (CFLAGS-scheck.c): Likewise.
13721         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13722         -Wno-error=undef.
13724 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13726         * i386/i686/multiarch/strcasestr-c.c: Removed.
13727         * x86_64/multiarch/strcasestr.c: Likewise.
13728         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13729         Remove strcasestr.
13731 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13733         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13735         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13736         variables for high and low parts before possibly modifying them.
13738 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13740         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13741         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13742         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13743         of "multiarch/init-arch.h".
13744         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13745         * sysdeps/x86/init-arch.h: This.
13747 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13749         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13750         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13752 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13754         [BZ #17787]
13755         * manual/macros.texi: Add twoexp macro.
13756         * manual/filesys.texi: Fix exponents.
13757         * manual/llio.texi: Likewise.
13758         * manual/stdio.texi: Likewise.
13760 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13762         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13763         incorrect use.
13765 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #18370]
13768         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13769         whose real or imaginary part has small absolute value.
13770         * math/s_csqrtf.c (__csqrtf): Likewise.
13771         * math/s_csqrtl.c (__csqrtl): Likewise.
13772         * math/auto-libm-test-in: Add more tests of csqrt.
13773         * math/auto-libm-test-out: Regenerated.
13774         * sysdeps/i386/fpu/libm-test-ulps: Update.
13776 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13778         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13779         __ppc_set_ppr_very_low): New functions.
13780         * manual/platform.texi: Add documentation about
13781         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13783 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13785         * string/stpncpy.c (stpncpy): Improve performance using
13786         __strnlen/memcpy/memset.
13788 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13790         [BZ #18796]
13791         * scripts/test-installation.pl: Don't add -lmvec to build options if
13792         libmvec wasn't built.
13794 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13796         [BZ #14341]
13797         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13798         case when there is a gap between DT_REL and DT_JMPREL sections.
13799         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13800         (LDFLAGS-tst-split-dynreloc): New.
13801         (tst-split-dynreloc-ENV): Likewise.
13802         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13803         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13805 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13807         [BZ #18822]
13808         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13809         attribute_hidden.
13810         (__xstat64_conv): Likewise.
13811         (__xstat32_conv): Likewise.
13813 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13815         [BZ #18822]
13816         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13817         Don't load %ebx when calling __setcontext.  Call __setcontext
13818         with HIDDEN_JUMPTARGET.
13819         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13820         libc_hidden_def.
13822 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13824         * sysdeps/i386/i686/Makefile
13825         [$(subdir) == string] (sysdep_routines): Moved to ...
13826         * sysdeps/i386/Makefile: Here.
13827         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13828         * sysdeps/i386/cacheinfo.c: Here.
13829         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13830         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13831         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13832         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13834 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13836         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13837         __i586__ is defined.
13838         (HAS_I686): Defined to 1 if __i686__ is defined.
13840 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13842         * elf/Makefile [$(have-z-execstack) = yes]
13843         (CPPFLAGS-tst-execstack.c): New variable.
13845         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13846         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13847         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13848         UTMPX || _HAVE_UT_TV].
13849         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13850         UTMPX || _HAVE_UT_TV - 0].
13852 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13854         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13855         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13856         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13858 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13860         * sysdeps/powerpc/dl-procinfo.c:
13861         (_dl_powerpc_cap_flags): Added missing strings for some
13862         hwcap features.
13863         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13865 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13867         Port the 0x7efe...feff pattern to GCC 6.
13868         See Steve Ellcey's bug report in:
13869         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13870         * string/memrchr.c (MEMRCHR):
13871         * string/rawmemchr.c (RAWMEMCHR):
13872         * string/strchr.c (strchr):
13873         * string/strchrnul.c (STRCHRNUL):
13874         Rewrite code to avoid issues with signed shift overflow.
13876 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13878         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13879         whether cpuid is available only if HAS_CPUID is 0.
13880         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13881         (HAS_I586): Likewise.
13882         (HAS_I686): Likewise.
13884 2015-08-18  Zack Weinberg  <zackw@panix.com>
13886         * misc/Versions (libc): Add GLIBC_2.23.
13888 2015-08-18  Alan Modra  <amodra@gmail.com>
13890         [BZ #18421]
13891         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13892         .Lp__global.
13893         (_start): Load %dp via .Lp__global.
13894         [!SHARED]: Use .section .rodata.
13896 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13898         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13899         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13901 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13903         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13904         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13906 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13908         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13909         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13911 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13913         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13914         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13918         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13919         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13921 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13923         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13924         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13926 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13928         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13930 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13932         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13933         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13934         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13935         (__ASSUME_LWS_CAS): Delete.
13937 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13939         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13940         * sysdeps/hppa/configure: Regenerated.
13941         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13942         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13943         * sysdeps/hppa/nptl/tls.h: Likewise.
13945 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13947         [BZ #18823]
13948         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13949         for scaling up small arguments.
13950         * math/s_csqrtf.c (__csqrtf): Likewise.
13951         * math/s_csqrtl.c (__csqrtl): Likewise.
13952         * math/auto-libm-test-in: Add more tests of csqrt.
13953         * math/auto-libm-test-out: Regenerated.
13955 2015-08-17  Andreas Schwab  <schwab@suse.de>
13957         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13958         version set GLIBC_2.19.
13960 2015-08-16  Zack Weinberg  <zackw@panix.com>
13962         [BZ #18681]
13963         * misc/regexp.h: This interface is no longer supported.
13964         Remove all contents, leaving only an #error directive.
13965         * misc/regexp.c (loc1, loc2, locs, step, advance):
13966         Demote to compatibility symbols.
13968 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13970         [BZ #18084]
13971         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13972         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13973         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13974         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13975         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13976         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13977         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13978         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13979         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13981 2015-08-15  Zack Weinberg  <zackw@panix.com>
13983         [BZ #18795]
13984         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13985         buffer length is known to be too large, not if it's known to be
13986         small enough.
13987         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13988         overflow at runtime, involving a length parameter, twice: once
13989         with a compile-time constant length parameter, once without.
13991 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13993         [BZ #18824]
13994         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13995         scaling x * y up instead of down.
13996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13997         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13998         * math/auto-libm-test-in: Add more tests of fma.
13999         * math/auto-libm-test-out: Regenerated.
14001 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14005 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14007         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14008         unnecessary movq.
14009         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14010         Likewise.
14012 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14014         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14015         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14016         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14017         and tgamma.
14018         * math/auto-libm-test-out: Regenerated.
14019         * sysdeps/i386/fpu/libm-test-ulps: Update.
14020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14022         [BZ #16520]
14023         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14024         (__tanh): Force underflow exception for arguments with small
14025         absolute value.
14026         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14027         (__tanhf): Force underflow exception for arguments with small
14028         absolute value.
14029         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14030         (__tanhl): Force underflow exception for arguments with small
14031         absolute value.
14032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14033         (__tanhl): Force underflow exception for arguments with small
14034         absolute value.
14035         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14036         (__tanhl): Force underflow exception for arguments with small
14037         absolute value.
14038         * math/auto-libm-test-in: Add more tests of tanh.
14039         * math/auto-libm-test-out: Regenerated.
14040         * sysdeps/i386/fpu/libm-test-ulps: Update.
14042 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14044         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14045         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14047 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14049         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14050         <cpuid.h>.
14052 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14054         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14055         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14057 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14059         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14060         Remove $(objpfx)init-arch.o.
14061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14062         init-arch.
14063         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14064         (INIT_ARCH_EXT): Defined as empty.
14065         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14067         __init_cpu_features call.  Replace HAS_XXX with
14068         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14070         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14071         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14072         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14073         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14074         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14075         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14076         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14077         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14078         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14079         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14083         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14085         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14087         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14089         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14090         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14091         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14092         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14093         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14094         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14095         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14096         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14097         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14101         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14102         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14103         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14105 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14107         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14108         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14109         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14110         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14111         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14112         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14113         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14114         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14115         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14116         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14117         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14118         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14119         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14120         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14121         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14122         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14123         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14124         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14125         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14126         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14127         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14128         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14129         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14130         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14131         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14132         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14133         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14134         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14135         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14136         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14137         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14138         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14139         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14140         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14141         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14142         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14143         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14144         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14145         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14146         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14147         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14148         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14149         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14151 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14154         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14156         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14157         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14158         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14160         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14161         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14162         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14163         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14164         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14165         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14166         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14167         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14168         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14169         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14170         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14171         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14172         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14174         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14175         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14176         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14177         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14178         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14179         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14180         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14181         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14182         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14183         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14184         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14186         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14188         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14189         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14190         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14191         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14192         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14193         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14194         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14195         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14199         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14200         (dl_platform_init): Call init_cpu_features.
14201         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14202         * sysdeps/i386/i686/cacheinfo.c
14203         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14204         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14205         * sysdeps/i386/i686/multiarch/Versions: Removed.
14206         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14207         Removed.
14208         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14209         * sysdeps/unix/sysv/linux/x86/Makefile
14210         (libpthread-sysdep_routines): Remove init-arch.
14211         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14212         <sysdeps/x86_64/dl-procinfo.c> instead of
14213         sysdeps/generic/dl-procinfo.c>.
14214         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14215         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14216         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14217         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14218         [$(subdir) == elf] (tests-static): Add
14219         tst-get-cpu-features-static.
14220         * sysdeps/x86/Versions: New file.
14221         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14222         * sysdeps/x86/cpu-features.c: Likewise.
14223         * sysdeps/x86/cpu-features.h: Likewise.
14224         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14225         * sysdeps/x86/libc-start.c: Likewise.
14226         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14227         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14228         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14229         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14230         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14231         Assume USE_MULTIARCH is defined and don't check it.
14232         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14233         (is_amd): Likewise.
14234         (max_cpuid): Likewise.
14235         (intel_check_word): Likewise.
14236         (__cache_sysconf): Don't call __init_cpu_features.
14237         (__x86_preferred_memory_instruction): Removed.
14238         (init_cacheinfo): Don't call __init_cpu_features. Replace
14239         __cpu_features with GLRO(dl_x86_cpu_features).
14240         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14241         (dl_platform_init): Call init_cpu_features.
14242         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14243         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14244         * sysdeps/x86_64/multiarch/Versions: Removed.
14245         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14246         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14247         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14248         Removed.
14249         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14251 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14253         [BZ #18820]
14254         * libio/Makefile (test-fmemopen-mem): New test.
14255         * libio/test-fmemopen.c (do_bz18820): New test.
14256         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14257         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14259 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14261         [BZ #16734]
14262         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14263         (FREE_BUF): Delete.
14264         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14265         * libio/genops.c (_IO_setb): Use malloc and free directly.
14266         (_IO_default_doallocate, _IO_default_finish): Likewise.
14267         ( _IO_unbuffer_all): Likewise.
14268         ( libc_freeres_fn): Likewise.
14269         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14270         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14271         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14272         (_IO_wdefault_doallocate): Likewise.
14274 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14276         [BZ #18086]
14277         * sysdeps/posix/nice.c (nice): Restore old errno.
14278         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14280 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14284 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14286         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14287         __bcopy and add a weak_alias to bcopy.
14288         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14289         for static build.
14291         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14292         cleanup macro usage.
14293         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14296         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14297         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14298         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14299         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14300         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14301         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14302         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14304         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14306         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14307         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14309         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14310         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14311         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14313         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14314         libc_hidden_def.
14315         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14317         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14318         (sysdep_routines): Add strstr-ppc64.
14319         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14321 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14323         [BZ #18778]
14324         * elf/Makefile (tests): Add Add tst-nodelete2.
14325         (modules-names): Add tst-nodelete2mod.
14326         (tst-nodelete2mod.so-no-z-defs): New.
14327         ($(objpfx)tst-nodelete2): Likewise.
14328         ($(objpfx)tst-nodelete2.out): Likewise.
14329         (LDFLAGS-tst-nodelete2): Likewise.
14330         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14331         out of loop through all loaded libraries.
14332         * elf/tst-nodelete2.c: New file.
14333         * elf/tst-nodelete2mod.c: Likewise.
14334         * elf/tst-znodelete-zlib.cc: Delete.
14336 2015-08-11  Andreas Schwab  <schwab@suse.de>
14338         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14339         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14340         (__openat64_nocancel): Likewise.
14342 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14344         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14345         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14346         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14347         * math/auto-libm-test-out: Regenerated.
14348         * sysdeps/i386/fpu/libm-test-ulps: Update.
14349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14353         [BZ #18790]
14354         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14355         threshold for returning +/- 1.
14356         * math/auto-libm-test-in: Add more tests of tanh.
14357         * math/auto-libm-test-out: Regenerated.
14358         * sysdeps/i386/fpu/libm-test-ulps: Update.
14360 2015-08-10  Andreas Schwab  <schwab@suse.de>
14362         [BZ #18781]
14363         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14364         MORE_OFLAGS to oflag.
14365         * io/test-lfs.c (do_test): Test openat64.
14367 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14369         [BZ #18789]
14370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14371         smaller threshold for returning the argument.
14372         * math/auto-libm-test-in: Add more tests of sinh.
14373         * math/auto-libm-test-out: Regenerated.
14374         * sysdeps/i386/fpu/libm-test-ulps: Update.
14376 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14378         [BZ #18674]
14379         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14380         break.
14382 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14384         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14385         (generated): Don't add $(addprefix z.,$(tzfiles)).
14387 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14389         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14390         * scripts/sysd-rules.awk: Likewise.
14392 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14394         * iconvdata/tst-tables.sh: Change echo -n to printf.
14395         * nss/db-Makefile: Likewise.
14396         * posix/tst-getconf.sh: Likewise.
14397         * stdio-common/tst-unbputc.sh: Likewise.
14399 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14401         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14402         MADV_*_PAGES defines behind this feature check.
14404 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14406         [BZ #18480]
14407         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14408         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14409         Define.
14410         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14411         LOAD_REGS_5, LOAD_REGS_6): Update.
14412         (INTERNAL_SYSCALL): Update using new LOAD defines.
14413         (INTERNAL_SYSCALL_NCS): Likewise.
14414         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14416 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14418         [BZ #16734]
14419         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14421 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14423         [BZ #17905]
14424         * catgets/Makefile (tst-catgets-mem): New test.
14425         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14426         * catgets/open_catalog.c (__open_catalog): Likewise.
14427         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14429 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14431         [BZ #18787]
14432         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14433         clobber registers.
14434         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14435         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14436         Cast return to __typeof (oldval).
14438 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14440         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14441         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14442         and delete sys/syscall.h include.
14444 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14446         [BZ #16517]
14447         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14448         (tan): Force underflow exception for arguments with small absolute
14449         value.
14450         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14451         (__kernel_tanf): Force underflow exception for arguments with
14452         small absolute value.
14453         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14454         (__kernel_tanl): Force underflow exception for arguments with
14455         small absolute value.
14456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14457         (__kernel_tanl): Force underflow exception for arguments with
14458         small absolute value.
14459         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14460         (__kernel_tanl): Force underflow exception for arguments with
14461         small absolute value.
14462         * math/auto-libm-test-in: Add more tests of tan.
14463         * math/auto-libm-test-out: Regenerated.
14465 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14467         Fix sysdeps/i386/fpu/s_scalbn.S build
14469         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14471 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14473         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14475 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14477         Fix gcrt0.o compilation
14479         When static-start-installed-name is different from
14480         start-installed-name, we must not use the shared objects.
14482         * csu/Makefile
14483         (extra-objs): Add gmon-start.o when building shared library and
14484         $(static-start-installed-name) is different from
14485         $(start-installed-name).
14486         $(objpfx)g$(static-start-installed-name): When building shared
14487         library and $(static-start-installed-name) is different from
14488         $(static-start-installed-name), revert to non-shared rule,
14489         i.e. using $(objpfx)% and gmon-start.o.
14491 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14493         [BZ #16519]
14494         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14495         (__ieee754_sinh): Force underflow exception for arguments with
14496         small absolute value.
14497         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14498         (__ieee754_sinhf): Force underflow exception for arguments with
14499         small absolute value.
14500         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14501         (__ieee754_sinhl): Force underflow exception for arguments with
14502         small absolute value.
14503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14504         (__ieee754_sinhl): Force underflow exception for arguments with
14505         small absolute value.
14506         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14507         (__ieee754_sinhl): Force underflow exception for arguments with
14508         small absolute value.
14509         * math/auto-libm-test-in: Add more tests of sinh.
14510         * math/auto-libm-test-out: Regenerated.
14511         * sysdeps/i386/fpu/libm-test-ulps: Update.
14513 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14515         * libio/oldfileops.c: Include unistd.h.
14517 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14519         * stdlib/isomac.c: Include ctype.h.
14521 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14523         * dirent/tst-seekdir.c (main): Converted to ...
14524         (do_test): ... this.
14525         (TEST_FUNCTION): New macro.
14526         Include test-skeleton.c.
14527         * elf/tst-dlmodcount.c (main): Converted to ...
14528         (do_test): ... this.
14529         (TEST_FUNCTION): New macro.
14530         Include test-skeleton.c.
14531         * elf/tst-order-main.c (main): Converted to ...
14532         (do_test): ... this.
14533         (TEST_FUNCTION): New macro.
14534         Include test-skeleton.c.
14535         * elf/tst-pie2.c (main): Converted to ...
14536         (do_test): ... this.
14537         (TEST_FUNCTION): New macro.
14538         Include test-skeleton.c.
14539         * inet/tst-ether_aton.c (main): Converted to ...
14540         (do_test): ... this.
14541         (TEST_FUNCTION): New macro.
14542         Include test-skeleton.c.
14543         * misc/tst-mntent.c (main): Converted to ...
14544         (do_test): ... this.
14545         (TEST_FUNCTION): New macro.
14546         Include test-skeleton.c.
14547         * misc/tst-tsearch.c (main): Converted to ...
14548         (do_test): ... this.
14549         (TEST_FUNCTION): New macro.
14550         Include test-skeleton.c.
14551         * posix/tst-regexloc.c (main): Converted to ...
14552         (do_test): ... this.
14553         (TEST_FUNCTION): New macro.
14554         Include test-skeleton.c.
14555         * resolv/tst-aton.c (main): Converted to ...
14556         (do_test): ... this.
14557         (TEST_FUNCTION): New macro.
14558         Include test-skeleton.c.
14559         * stdio-common/test-fwrite.c (main): Converted to ...
14560         (do_test): ... this.
14561         (TEST_FUNCTION): New macro.
14562         Include test-skeleton.c.
14563         * stdio-common/tst-ferror.c (main): Converted to ...
14564         (do_test): ... this.
14565         (TEST_FUNCTION): New macro.
14566         Include test-skeleton.c.
14567         * stdio-common/tst-printf.c (main): Converted to ...
14568         (do_test): ... this.
14569         (TEST_FUNCTION): New macro.
14570         Include test-skeleton.c.
14571         * stdio-common/tst-printfsz.c (main): Converted to ...
14572         (do_test): ... this.
14573         (TEST_FUNCTION): New macro.
14574         Include test-skeleton.c.
14575         * stdlib/tst-strtod.c (main): Converted to ...
14576         (do_test): ... this.
14577         (TEST_FUNCTION): New macro.
14578         Include test-skeleton.c.
14579         * string/tst-strlen.c (main): Converted to ...
14580         (do_test): ... this.
14581         (TEST_FUNCTION): New macro.
14582         Include test-skeleton.c.
14583         * string/tst-svc.c (main): Converted to ...
14584         (do_test): ... this.
14585         (TEST_FUNCTION): New macro.
14586         Include test-skeleton.c.
14587         * time/tst-strptime.c (main): Converted to ...
14588         (do_test): ... this.
14589         (TEST_FUNCTION): New macro.
14590         Include test-skeleton.c.
14591         * timezone/tst-timezone.c (main): Converted to ...
14592         (do_test): ... this.
14593         (TEST_FUNCTION): New macro.
14594         Include test-skeleton.c.
14596 2015-08-05  Zack Weinberg  <zackw@panix.com>
14598         * misc/regexp.h: Update comments.
14600 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14602         [BZ #18635]
14603         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14604         before return label.
14606 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14608         [BZ #18661]
14609         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14610         when calling __errno_location.
14611         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14612         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14614 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14616         [BZ #18661]
14617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14618         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14619         __gettimeofday.
14621 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14623         [BZ #18661]
14624         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14625         (__start_context): Don't use pop to restore %rdi so that stack
14626         is aligned to 16 bytes when calling __setcontext.
14628 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14631         only for libc.
14632         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14634 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14636         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14637         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14638         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14640 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14642         * string/memccpy.c (memccpy):
14643         Improve performance by using memchr/memcpy/__mempcpy.
14645 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14647         * string/strncpy.c (strncpy):
14648         Improve performance by using __strnlen/memcpy.
14650 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14652         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14653         Optimize to avoid an unnecessary FPCR read.
14655 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14657         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14658         Optimize to reduce FPCR/FPSR accesses.
14660 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14662         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14663         dead->data[category] != NULL.
14665 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #18647]
14668         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14669         and |x| close to 1, use absolute value of x when computing log.
14670         * math/auto-libm-test-in: Add more tests of pow.
14671         * math/auto-libm-test-out: Regenerated.
14673 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14675         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14676         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14677         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14679 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14681         [BZ #18525]
14682         * locales/km_KH: Remove timezone definition.
14683         * locales/lo_LA: Likewise.
14684         * locales/my_MM: Likewise.
14685         * locales/nan_TW@latin: Likewise.
14686         * locales/th_TH: Likewise.
14687         * locales/uk_UA: Likewise.
14689 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14691         [BZ #18265]
14692         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14693         (wcsncat): Likewise.
14694         (wcscmp): Likewise.
14695         (wcsncmp): Likewise.
14697 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14699         * test-skeleton.c (usage): New function.
14700         (main): Call usage when opt is '?'.
14702 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14704         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14705         before first use.
14707 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14709         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14710         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14711         in there too.
14713 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14715         * version.h (RELEASE): Set to "development".
14716         (VERSION): Set to "2.22.90"
14718         * version.h (RELEASE): Set to "stable".
14719         (VERSION): Set to "2.22"
14720         * include/features.h (__GLIBC_MINOR__): Set to 22.
14722 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14724         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14725         Restructure macro to avoid "value computed is not used" warning.
14726         (atomic_compare_and_exchange_val_acq): Likewise.
14728 2015-08-04  Andreas Schwab  <schwab@suse.de>
14730         [BZ #18635]
14731         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14732         ret.
14733         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14735 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14737         * po/pl.po: Updated translation.
14738         * po/uk.po: Likewise.
14739         * po/fi.po: Likewise.
14740         * po/ko.po: Likewise.
14741         * po/ru.po: Likewise.
14742         * po/vi.po: Likewise.
14744 2015-07-31  Zack Weinberg  <zackw@panix.com>
14746         [BZ #18681]
14747         * regexp.h: Add unconditional #warning stating that this header
14748         will be removed soon.  Revise banner comment to match.
14749         (compile): Consistently use ERROR instead of RETURN to report
14750         errors (partial fix for bz#18681).
14751         * regexp.c: Don't include regexp.h. Remove some unnecessary
14752         declarations.
14754 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14756         * po/libc.pot: Regenerated.
14758 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14760         [BZ #18740]
14761         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14762         float-vlen4-arch-ext-cflags): Removed.
14763         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14764         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14766 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14768         [BZ #14113]
14769         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14770         aligned to __aligned__.
14771         (pthread_cond_t, pthread_rwlock_t): Likewise.
14773 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14775         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14777 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14779         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14780         (struct sigaction): Change sa_flags from a long to an int, and add
14781         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14783 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14785         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14786         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14787         sysdeps/generic/sysdep.h include.
14788         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14789         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14790         sysdeps/hppa/sysdep.h.
14791         (ENTRY, PSEUDO): Undefine before defining.
14793 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14795         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14796         from scratch to use INTERNAL_SYSCALL.
14798 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14800         [BZ #18078]
14801         * scripts/check-localplt.awk: Support alternate relocations.
14802         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14803         sections.
14804         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14805         malloc entries with + REL R_386_GLOB_DAT.
14806         * sysdeps/x86_64/localplt.data: New file.
14808 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14810         [BZ #18731]
14811         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14812         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14813         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14815 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14817         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14819 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14821         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14822         directly in terms of __sync_fetch_and_add and delete (int) cast.
14824 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14826         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14827         the -D_ASM_IA64_CURRENT_H flag.
14829 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14831         [BZ #18641]
14832         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14834 2015-07-27  Andreas Schwab  <schwab@suse.de>
14836         * conform/conformtest.pl (checknamespace): Filter out string
14837         literals while tokenizing.
14839 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14841         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14842         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14843         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14845 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14847         * nptl/tst-join7mod.c: Add #include <string.h>.
14849 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14851         * sysdeps/nios2/libm-test-ulps: Update.
14853 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14855         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14856         Fix order of arguments to the rt_sigprocmask syscall.
14857         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14858         Likewise.
14860 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14862         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14864 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14866         [BZ #18457]
14867         * nptl/Makefile (tests): New test case tst-join7.
14868         (modules-names): New test case module tst-join7mod.
14869         * nptl/tst-join7.c: New file.
14870         * nptl/tst-join7mod.c: New file.
14871         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14872         all translation units in libc.so, libpthread.so and rtld.
14874 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14878 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14882         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14886         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14887         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14888         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14889         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14891         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14892         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14893         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14895         implementation.
14897 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14899         [BZ #17711]
14900         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14901         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14902         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14903         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14904         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14905         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14907 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14909         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14910         instead of just saying load lock in the comments.
14912 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14914         * sysdeps/unix/Subdirs: Moved ...
14915         * sysdeps/posix/Subdirs: ... here.
14916         * login/pty.h (struct termios, struct winsize): Add forward decls.
14917         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14918         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14919         * sysdeps/arm/nacl/libc.abilist: Updated.
14920         * sysdeps/nacl/libutil.abilist: New file.
14922         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14923         (SIGWINCH): New macro.
14925         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14926         * sysdeps/arm/nacl/libc.abilist: Add it.
14928 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14930         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14932 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14934         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14935         Swap __glibc_reserved0 and sa_flags order.
14937 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14939         [BZ #18657]
14940         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14941         are pending TLS destructor calls.
14942         * include/link.h (struct link_map): Add concurrency note for
14943         L_TLS_DTOR_COUNT.
14944         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14945         Don't touch the link map flag.  Atomically increment
14946         l_tls_dtor_count.
14947         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14948         Avoid taking the load lock and don't touch the link map flag.
14949         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14950         * stdlib/Makefile (tests): Use it.
14951         * stdlib/tst-tls-atexit.c (do_test): dlopen
14952         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14953         to allow tst-tls-atexit-nodelete test case to use it.
14955 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14957         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14958         to bits/types.h.
14959         (msgqnum_t): New typedef.
14960         (msglen_t): Likewise.
14961         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14962         and msg_qbytes type to msglen_t.
14964 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14966         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14967         pad0 to __glibc_reserved0.
14968         (struct stat64): Likewise.
14970 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14972         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14973         Change sa_flags from a long to an int and add __glibc_reserved0 before
14974         it for padding.
14976 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14978         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14979         anonymous by deleting "siginfo" name.
14981 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14983         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14984         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14985         rather than __nacl_irt_filename.
14986         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14988         * NEWS: New item for arm-nacl port.
14989         * sysdeps/arm/nacl/libc.abilist: New file.
14990         * sysdeps/nacl/ld.abilist: New file.
14991         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14992         * sysdeps/nacl/libanl.abilist: New file.
14993         * sysdeps/nacl/libcrypt.abilist: New file.
14994         * sysdeps/nacl/libdl.abilist: New file.
14995         * sysdeps/nacl/libm.abilist: New file.
14996         * sysdeps/nacl/libpthread.abilist: New file.
14997         * sysdeps/nacl/libresolv.abilist: New file.
14998         * sysdeps/nacl/librt.abilist: New file.
15000 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15002         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15003         __startcontext to initialize the new context.
15004         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15005         up CFI directive to forbid further backtracing.
15007 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15009         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15010         reference.
15011         * charmaps/ANSI_X3.4-1968: Likewise.
15012         * charmaps/BS_4730: Likewise.
15013         * charmaps/BS_VIEWDATA: Likewise.
15014         * charmaps/CP1250: Likewise.
15015         * charmaps/CP1251: Likewise.
15016         * charmaps/CP1252: Likewise.
15017         * charmaps/CP1253: Likewise.
15018         * charmaps/CP1254: Likewise.
15019         * charmaps/CP1255: Likewise.
15020         * charmaps/CP1256: Likewise.
15021         * charmaps/CSN_369103: Likewise.
15022         * charmaps/EBCDIC-DK-NO: Likewise.
15023         * charmaps/GB_1988-80: Likewise.
15024         * charmaps/GREEK-CCITT: Likewise.
15025         * charmaps/GREEK7: Likewise.
15026         * charmaps/INIS-8: Likewise.
15027         * charmaps/ISIRI-3342: Likewise.
15028         * charmaps/ISO_2033-1983: Likewise.
15029         * charmaps/ISO_5427-EXT: Likewise.
15030         * locales/POSIX: Likewise.
15031         * locales/ar_SA: Likewise.
15032         * locales/be_BY: Likewise.
15033         * locales/be_BY@latin: Likewise.
15034         * locales/ca_ES: Likewise.
15035         * locales/cs_CZ: Likewise.
15036         * locales/da_DK: Likewise.
15037         * locales/de_BE: Likewise.
15038         * locales/de_CH: Likewise.
15039         * locales/de_LU: Likewise.
15040         * locales/en_AU: Likewise.
15041         * locales/en_BW: Likewise.
15042         * locales/en_CA: Likewise.
15043         * locales/en_DK: Likewise.
15044         * locales/en_GB: Likewise.
15045         * locales/en_IE: Likewise.
15046         * locales/en_NZ: Likewise.
15047         * locales/en_ZA: Likewise.
15048         * locales/en_ZW: Likewise.
15049         * locales/es_AR: Likewise.
15050         * locales/es_BO: Likewise.
15051         * locales/es_CL: Likewise.
15052         * locales/es_CO: Likewise.
15053         * locales/es_DO: Likewise.
15054         * locales/es_EC: Likewise.
15055         * locales/es_ES: Likewise.
15056         * locales/es_HN: Likewise.
15057         * locales/es_MX: Likewise.
15058         * locales/es_PA: Likewise.
15059         * locales/es_PE: Likewise.
15060         * locales/es_PY: Likewise.
15061         * locales/es_SV: Likewise.
15062         * locales/es_US: Likewise.
15063         * locales/es_UY: Likewise.
15064         * locales/es_VE: Likewise.
15065         * locales/et_EE: Likewise.
15066         * locales/fa_IR: Likewise.
15067         * locales/fo_FO: Likewise.
15068         * locales/fr_CA: Likewise.
15069         * locales/fr_CH: Likewise.
15070         * locales/gv_GB: Likewise.
15071         * locales/he_IL: Likewise.
15072         * locales/hr_HR: Likewise.
15073         * locales/id_ID: Likewise.
15074         * locales/is_IS: Likewise.
15075         * locales/it_CH: Likewise.
15076         * locales/iw_IL: Likewise.
15077         * locales/kl_GL: Likewise.
15078         * locales/ko_KR: Likewise.
15079         * locales/kw_GB: Likewise.
15080         * locales/lg_UG: Likewise.
15081         * locales/lt_LT: Likewise.
15082         * locales/lv_LV: Likewise.
15083         * locales/mi_NZ: Likewise.
15084         * locales/nhn_MX: Likewise.
15085         * locales/nl_BE: Likewise.
15086         * locales/pl_PL: Likewise.
15087         * locales/sk_SK: Likewise.
15088         * locales/sl_SI: Likewise.
15089         * locales/sv_FI: Likewise.
15090         * locales/tl_PH: Likewise.
15091         * locales/tr_TR: Likewise.
15092         * locales/vi_VN: Likewise.
15094 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15096         [BZ #17475]
15097         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15098         of tu_IN and bh_IN.
15100 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15102         [BZ #18694]
15103         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15104         bits/wordsize.h.
15105         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15107 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15109         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15110         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15111         (spawn_thread): New function.
15112         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15113         (do_test): ... here.  Use IS_LOADED to test for its
15114         availability.
15116 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15118         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15120 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15122         [BZ #18696]
15123         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15124         si_addr_bnd.
15125         (si_lower): New.
15126         (si_upper): Likewise.
15128 2015-07-16  David S. Miller  <davem@davemloft.net>
15130         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15132 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15134         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15135         buffer.
15136         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15137         fail output information.
15139 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15142         and strstr-ppc64..
15143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15144         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15145         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15146         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15147         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15149 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15151         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15152         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15153         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15154         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15156 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15158         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15159         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15160         rtld_hidden_proto.
15161         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15163 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15165         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15166         the test can fail.
15168         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15170         [BZ #18676]
15171         * elf/tst-nodelete-opened.c: New test case.
15172         * elf/tst-nodelete-opened-lib.c: New test case module.
15173         * elf/Makefile (tests, modules-names): Use them.
15174         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15175         early.
15177 2015-07-15  David S. Miller  <davem@davemloft.net>
15179         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15180         futex-intenal.h
15181         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15182         * sysdeps/sparc/sparc64/Makefile: Likewise.
15183         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15184         Remove space from macro define.
15185         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15187 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15189         [BZ #17475]
15190         * locale/iso-639.def: Update Bhili and Tulu language codes as
15191         per iso639-3.
15193 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15195         * elf/tst-leaks1.c (main): Converted to ...
15196         (do_test): ... this.
15197         (TEST_FUNCTION): New macro.
15198         Include test-skeleton.c.
15199         * localedata/tst-langinfo.c (main): Converted to ...
15200         (do_test): ... this.
15201         (TEST_FUNCTION): New macro.
15202         Include test-skeleton.c.
15203         * math/test-fpucw.c (main): Converted to ...
15204         (do_test): ... this.
15205         (TEST_FUNCTION): New macro.
15206         Include test-skeleton.c.
15207         * math/test-tgmath.c (main): Converted to ...
15208         (do_test): ... this.
15209         (TEST_FUNCTION): New macro.
15210         Include test-skeleton.c.
15211         * math/test-tgmath2.c (main): Converted to ...
15212         (do_test): ... this.
15213         (TEST_FUNCTION): New macro.
15214         Include test-skeleton.c.
15215         * setjmp/tst-setjmp.c (main): Converted to ...
15216         (do_test): ... this.
15217         (TEST_FUNCTION): New macro.
15218         Include test-skeleton.c.
15219         * stdio-common/tst-sscanf.c (main): Converted to ...
15220         (do_test): ... this.
15221         (TEST_FUNCTION): New macro.
15222         Include test-skeleton.c.
15223         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15224         (do_test): ... this.
15225         (TEST_FUNCTION): New macro.
15226         Include test-skeleton.c.
15228         * elf/tst-audit9.c (main): Converted to ...
15229         (do_test): ... this.
15230         (TEST_FUNCTION): New macro.
15231         Include test-skeleton.c.
15233 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15235         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15237 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15239         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15240         New variable.
15242 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15244         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15246 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15248         * sysdeps/generic/dl-fileid.h: New file.
15249         * sysdeps/posix/dl-fileid.h: New file.
15250         * sysdeps/nacl/dl-fileid.h: New file.
15251         * include/link.h: Include <dl-fileid.h>.
15252         (struct link_map): Replace l_dev and l_ino with l_file_id.
15253         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15254         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15255         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15257 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15259         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15261 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15263         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15264         Add iff $CXX is set.
15265         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15266         Likewise.
15267         (tst-nodelete-zmodiff): Likewise.
15268         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15270 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15272         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15274 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15276         * sysdeps/aarch64/fpu/math_private.h
15277         (define math_opt_barrier): Add AArch64 version.
15278         (math_force_eval): Likewise.
15280 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15282         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15284 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15286         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15287         %ld with %jd and cast to intmax_t.
15288         (do_test_length_zero): Likewise.
15290 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15292         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15294 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15296         * sysdeps/tile/libm-test-ulps: Regenerated.
15298         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15299         Comment out the whole function, not just its body.
15301 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15304         locks.
15306         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15308 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15310         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15311         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15313 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15315         * sysdeps/nptl/futex-internal.h: New file.
15316         * sysdeps/nacl/futex-internal.h: New file.
15317         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15318         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15319         error checking.
15320         (setxid_unmark_thread): Likewise.
15321         (__nptl_setxid): Likewise.
15322         (__wait_lookup_done): Likewise.
15323         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15324         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15325         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15326         * nptl/pthread_once.c (clear_once_control): Likewise.
15327         (__pthread_once_slow): Likewise.
15328         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15329         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15330         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15331         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15332         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15333         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15334         Likewise.
15335         (__pthread_rwlock_rdlock): Likewise.
15336         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15337         Likewise.
15338         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15339         Likewise.
15340         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15341         Likewise.
15342         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15343         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15344         Likewise.
15345         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15346         __ASSUME_PRIVATE_FUTEX check.
15347         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15348         Check that shared futexes are supported.
15349         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15350         wrappers with error checking.
15351         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15352         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15353         * nptl/pthread_barrierattr_setpshared.c
15354         (pthread_barrierattr_setpshared): Check that shared futexes are
15355         supported.
15356         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15357         Likewise.
15358         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15359         Likewise.
15360         * nptl/sem_init.c (futex_private_if_supported): Remove.
15361         (__new_sem_init): Adapt and check that shared futexes are supported.
15362         * nptl/sem_open.c (sem_open): Likewise.
15363         * nptl/sem_post.c (futex_wake): Remove.
15364         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15365         (do_futex_wait): Use futex wrappers with error checking.
15366         * nptl/sem_wait.c: Include lowlevellock.h.
15367         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15368         Use futex_supports_pshared.
15369         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15370         Use futex wrappers with error checking.
15371         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15372         Likewise.
15373         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15374         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15375         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15376         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15377         (futex_wake): Likewise.
15378         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15379         (do_futex_wait): Use futex wrappers with error checking.
15380         (__new_sem_wait_slow): Update EINTR handling.
15381         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15383 2015-07-09  Martin Sebor  <msebor@redhat.com>
15385         [BZ #18435]
15386         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15387         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15388         * nptl/Makefile (test-xfail-tst-once5): Define.
15390 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15392         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15393         * elf/dl-minimal.c: For readability, reorder some definitions and
15394         introduce more page breaks.  Include <stdio.h>.
15395         (__libc_fatal): New function.
15397         * include/unistd.h: Add rtld_hidden_proto for _exit.
15398         * posix/_exit.c: Add rtld_hidden_def.
15399         * sysdeps/mach/hurd/_exit.c: Likewise.
15400         * sysdeps/nacl/_exit.c: Likewise.
15401         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15402         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15404 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15407         bndmov encoding with zero displacement.
15409 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15410             H.J. Lu  <hongjiu.lu@intel.com>
15412         [BZ #18134]
15413         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15414         * sysdeps/i386/configure: Regenerated.
15415         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15416         (_dl_runtime_profile): Save and restore Intel MPX return bound
15417         registers when calling _dl_call_pltexit.  Add
15418         PRESERVE_BND_REGS_PREFIX before return.
15419         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15420         (LRV_BND1_OFFSET): Likewise.
15421         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15422         lrv_bnd1.
15423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15424         typo in bndmov encoding.
15425         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15426         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15427         branch instructions to preserve bounds.
15429 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15432         [GLIBC_2.22]: Add fmemopen.
15434 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15436         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15437         returns an error, also try to use host port from __mach_host_self for
15438         the __vm_wire call.
15439         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15441 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15443         [BZ #18400]
15444         [BZ #18648]
15445         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15446         Fix pr_uid and pr_gid members.
15447         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15448         definition to elf_greg_t.
15450 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15452         [BZ #18383]
15453         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15454         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15455         * sysdeps/arm/configure: Regenerated.
15456         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15457         (test-xfail-tst-tlsalign-static): Variable removed.
15459         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15460         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15461         rather than explicit 'ln -s'.
15463         * resolv/rpc/netdb.h: New file.
15464         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15466 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15468         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15469         length buffers.
15470         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15471         test-skeleton.c.
15473         [BZ #6544]
15474         [BZ #11216]
15475         [BZ #12836]
15476         [BZ #13151]
15477         [BZ #13152]
15478         [BZ #14292]
15479         * include/stdio.h (fmemopen): Remove hidden prototype.
15480         (__fmemopen): Add new hidden prototype.
15481         * libio/Makefile: Add oldfmemopen object.
15482         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15483         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15484         compliance.
15485         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15486         symbol compatibility.
15487         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15488         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15489         fmemopen.
15490         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15491         on append and read mode.
15492         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15493         fmemopen.
15494         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15495         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15496         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15497         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15498         Likewise.
15499         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15500         [GLIBC_2.22]: Likewise.
15501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15502         Likewise.
15503         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15504         Likewise.
15505         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15506         [GLIBC_2.22]: Likewise.
15507         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15508         [GLIBC_2.22]: Likewise.
15509         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15510         [GLIBC_2.22]: Likewise.
15511         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15512         [GLIBC_2.22]: Likewise.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15514         [GLIBC_2.22]: Likewise.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15516         [GLIBC_2.22]: Likewise.
15517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15518         [GLIBC_2.22]: Likewise.
15519         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15520         Likewise.
15521         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15522         Likewise.
15523         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15524         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15525         [GLIBC_2.22]: Likewise.
15526         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15527         [GLIBC_2.22]: Likewise.
15528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15529         [GLIBC_2.22]: Likewise.
15530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15531         [GLIBC_2.22]: Likewise.
15532         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15533         Likewise.
15534         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15535         Likewise.
15536         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15539         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15541 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15543         [BZ #18643]
15544         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15545         IPV6_PATHMTU, and IPV6_DONTFRAG.
15547 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15549         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15550         and _IO_UNBUFFERED.
15551         * libio/oldfileops.c: Likewise.
15552         * libio/wfileops.c: Likewise.
15554 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15556         * nscd/selinux.c: Delete selinux/flask.h include.
15558 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15560         [BZ #18641]
15561         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15562         (putpwent): Likewise.
15563         (getpwnam): Likewise.
15564         (getpwent_r): Likewise.
15565         (getpwuid_r): Likewise.
15566         (getpwnam_r): Likewise.
15567         (fgetpwent_r): Likewise.
15569 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15571         [BZ #18557]
15572         * inet/rcmd.c (__validuser2_sa): Check user first to
15573         short-circuit host check.
15575 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15576             Mikhail Ilin  <m.ilin@samsung.com>
15578         [BZ #17833]
15579         * elf/Makefile (tests): Add tst-nodelete.
15580         (modules-names): Add tst-nodelete-uniquemod.
15581         (tst-nodelete-uniquemod.so-no-z-defs): New.
15582         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15583         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15584         ($(objpfx)tst-nodelete): Likewise.
15585         ($(objpfx)tst-nodelete.out): Likewise.
15586         (LDFLAGS-tst-nodelete): Likewise.
15587         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15588         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15589         implement forced object deletion.
15590         (_dl_close): Pass false to _dl_close_worker.
15591         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15592         * elf/tst-nodelete.cc: New file.
15593         * elf/tst-nodeletelib.cc: Likewise.
15594         * elf/tst-znodeletelib.cc: Likewise.
15595         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15597 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15599         [BZ #18508]
15600         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15601         Depend on $(libdl).
15602         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15603         is not called infinitely times.
15604         (backtrace_helper): New function.
15605         (trace_arg): New struct.
15606         (st1): Enlarge stack size.
15607         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15608         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15609         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15610         Likewise.
15612 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15614         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15616 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15618         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15619         Include sys/types.h instead of bits/types.h.
15620         Remove inclusion of bits/wordsize.h.
15622 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15624         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15625         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15626         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15627         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15628         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15629         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15631 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15633         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15634         link-defines.sym.
15635         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15636         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15637         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15638         and LR_SIZE.
15639         * sysdeps/i386/link-defines.sym: New file.
15641 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15643         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15644         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15645         ($(objpfx)tst-audit3): New rule.
15646         ($(objpfx)tst-audit3.out): Likewise.
15647         * sysdeps/i386/tst-audit3.c: New file.
15648         * sysdeps/i386/tst-audit3.h: Likewise.
15649         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15650         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15652 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15654         [BZ #18633]
15655         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15656         pointer in C code.
15657         (__strcat_c): Likewise.
15658         (__strcat_g): Likewise.
15660 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15662         [BZ #18592]
15663         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15665 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15667         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15668         New function.  (__ieee754_sqrtf): New function.
15669         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15670         New function.
15671         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15672         New function.
15674 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15676         * sysdeps/ieee754/support.c: Remove unused file.
15678 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15680         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15681         registers instead of d ones so the layout is kernel abi compatible.
15682         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15683         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15684         Likewise.
15686 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15688         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15690 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15692         [BZ #18619]
15693         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15694         and return argument in case of subnormal argument.
15696 2015-07-01  Martin Sebor  <msebor@redhat.com>
15698         [BZ #18435]
15699         * nptl/Makefile: Add tst-once5.cc.
15700         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15701         Remove macro redefinitions.
15702         * nptl/tst-once5.cc: New test.
15704 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15706         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15708         * sysdeps/arm/libm-test-ulps: Regenerated.
15710         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15711         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15713 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15715         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15716         lll_lock_wait_private and lll_futex_wake probes.
15718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15719         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15720         Likewise.
15721         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15722         atomic_spin_nop.
15723         * sysdeps/x86_64/bits/atomic.h: Likewise.
15724         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15725         to atomic_spin_nop and move ...
15726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15727         ... here and ...
15728         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15729         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15730         atomic_spin_nop instead of BUSY_WAIT_NOP.
15731         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15732         Likewise.
15733         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15734         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15735         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15736         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15737         instead of atomic_delay.
15739 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15741         [BZ #18613]
15742         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15743         X_ADJ not X when adjusting exponent.
15744         (__ieee754_gamma_r): Do intermediate computations in
15745         round-to-nearest then adjust overflowing and underflowing results
15746         as needed.
15747         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15748         of X_ADJ not X when adjusting exponent.
15749         (__ieee754_gammaf_r): Do intermediate computations in
15750         round-to-nearest then adjust overflowing and underflowing results
15751         as needed.
15752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15753         log of X_ADJ not X when adjusting exponent.
15754         (__ieee754_gammal_r): Do intermediate computations in
15755         round-to-nearest then adjust overflowing and underflowing results
15756         as needed.  Use 1.0L not 1.0f as numerator of division.
15757         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15758         log of X_ADJ not X when adjusting exponent.
15759         (__ieee754_gammal_r): Do intermediate computations in
15760         round-to-nearest then adjust overflowing and underflowing results
15761         as needed.  Use 1.0L not 1.0f as numerator of division.
15762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15763         of X_ADJ not X when adjusting exponent.
15764         (__ieee754_gammal_r): Do intermediate computations in
15765         round-to-nearest then adjust overflowing and underflowing results
15766         as needed.  Use 1.0L not 1.0f as numerator of division.
15767         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15768         to auto-libm-test-in.
15769         (tgamma_test): Use ALL_RM_TEST.
15770         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15771         tests of tgamma with spurious-overflow.
15772         * math/auto-libm-test-out: Regenerated.
15773         * math/gen-libm-have-vector-test.sh: Do not check for START.
15774         * sysdeps/i386/fpu/libm-test-ulps: Update.
15775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777         [BZ #18612]
15778         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15779         arguments, just return 0.5 times the argument, with underflow
15780         forced as needed.
15781         * math/auto-libm-test-in: Add more tests of j1.
15782         * math/auto-libm-test-out: Regenerated.
15784         [BZ #16559]
15785         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15786         (__ieee754_j1): Force underflow exception for small results.
15787         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15788         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15789         (__ieee754_j1f): Force underflow exception for small results.
15790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15791         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15792         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15793         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15794         (__ieee754_j1l): Force underflow exception for small results.
15795         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15796         * math/auto-libm-test-in: Add more tests of j1 and jn.
15797         * math/auto-libm-test-out: Regenerated.
15799         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15800         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15801         (PF_MPLS): Likewise.
15802         (AF_IB): Likewise.
15803         (AF_MPLS): Likewise.
15804         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15805         value and macro.
15806         (MS_RMT_MASK): Include MS_LAZYTIME.
15808 2015-06-26  Mel Gorman  <mgorman@suse.de>
15810         [BZ #18502]
15811         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15812         already minimal.
15814 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15816         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15817         (DT_MIPS_NUM): Update.
15818         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15819         DT_MIPS_RLD_MAP_REL.
15821 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15823         [BZ #16559]
15824         [BZ #18602]
15825         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15826         round-to-nearest internally then recompute results that
15827         underflowed to zero in the original rounding mode.
15828         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15829         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15831         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15832         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15833         * sysdeps/i386/fpu/libm-test-ulps: Update.
15834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15836 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15838         * NEWS: Fixed description of link with vector math library.
15840 2015-06-25  Andreas Schwab  <schwab@suse.de>
15842         [BZ #18549]
15843         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15844         * libio/test-fmemopen.c (do_test): Add test for it.
15846 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15848         [BZ #17841]
15849         * Makeconfig (no-pie-ldflag): New.
15850         (+link): Set to $(+link-pie) if default to PIE.
15851         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15852         * config.make.in (build-pie-default): New.
15853         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15854         is default.  AC_SUBST.
15855         * configure: Regenerated.
15856         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15858 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15860         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15861         to 'unsigned int'.
15863         * resolv/gai_misc.h (struct waitlist): Change type of field
15864         counterp to 'volatile unsigned int *'.
15865         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15866         FUTEXADDR and OLDVAL.
15867         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15868         Give local variable TOTAL type 'volatile unsigned int'.
15869         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15870         * resolv/gai_suspend.c (gai_suspend):
15871         Give local variable CNTR type 'unsigned int'.
15873         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15874         counterp to 'volatile unsigned int *'.
15875         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15876         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15877         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15878         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15879         Give local variable TOTAL type 'volatile unsigned int'.
15880         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15882 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15884         [BZ #18383]
15885         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15886         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15887         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15888         comment for i386/x86-64.
15889         (test-xfail-tst-tlsalign-extern-static): Removed.
15891 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15893         * math/test-double.h: New file.
15894         * math/test-float.h: Likewise.
15895         * math/test-ldouble.h: Likewise.
15896         * math/test-math-inline.h: Likewise.
15897         * math/test-math-no-inline.h: Likewise.
15898         * math/test-math-scalar.h: Likewise.
15899         * math/test-math-vector.h: Likewise.
15900         * math/test-vec-loop.h: Remove file.  Contents moved into
15901         test-math-vector.h.
15902         * math/libm-test.inc (MATHCONST): Do not document macro.
15903         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15904         and test-math-scalar.h.
15905         (FUNC): Remove macro.
15906         (FUNC_TEST): Likewise.
15907         (FLOAT): Likewise.
15908         (MATHCONST): Likewise.
15909         (PRINTF_EXPR): Likewise.
15910         (PRINTF_XEXPR): Likewise.
15911         (PRINTF_NEXPR): Likewise.
15912         (TEST_DOUBLE): Likewise.
15913         (TEST_MATHVEC): Likewise.
15914         (__NO_MATH_INLINES): Likewise.
15915         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15916         and test-math-scalar.h.
15917         (FUNC): Remove macro.
15918         (FUNC_TEST): Likewise.
15919         (FLOAT): Likewise.
15920         (MATHCONST): Likewise.
15921         (PRINTF_EXPR): Likewise.
15922         (PRINTF_XEXPR): Likewise.
15923         (PRINTF_NEXPR): Likewise.
15924         (TEST_FLOAT): Likewise.
15925         (TEST_MATHVEC): Likewise.
15926         (__NO_MATH_INLINES): Likewise.
15927         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15928         and test-math-scalar.h.
15929         (FUNC): Remove macro.
15930         (FUNC_TEST): Likewise.
15931         (FLOAT): Likewise.
15932         (MATHCONST): Likewise.
15933         (PRINTF_EXPR): Likewise.
15934         (PRINTF_XEXPR): Likewise.
15935         (PRINTF_NEXPR): Likewise.
15936         (TEST_DOUBLE): Likewise.
15937         (TEST_MATHVEC): Likewise.
15938         (TEST_INLINE): Likewise.
15939         (__NO_MATH_INLINES): Likewise.
15940         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15941         test-math-scalar.h.
15942         (FUNC): Remove macro.
15943         (FUNC_TEST): Likewise.
15944         (FLOAT): Likewise.
15945         (MATHCONST): Likewise.
15946         (PRINTF_EXPR): Likewise.
15947         (PRINTF_XEXPR): Likewise.
15948         (PRINTF_NEXPR): Likewise.
15949         (TEST_FLOAT): Likewise.
15950         (TEST_MATHVEC): Likewise.
15951         (TEST_INLINE): Likewise.
15952         (__NO_MATH_INLINES): Likewise.
15953         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15954         and test-math-scalar.h.
15955         (FUNC): Remove macro.
15956         (FUNC_TEST): Likewise.
15957         (FLOAT): Likewise.
15958         (MATHCONST): Likewise.
15959         (PRINTF_EXPR): Likewise.
15960         (PRINTF_XEXPR): Likewise.
15961         (PRINTF_NEXPR): Likewise.
15962         (TEST_LDOUBLE): Likewise.
15963         (TEST_MATHVEC): Likewise.
15964         (TEST_INLINE): Likewise.
15965         (__NO_MATH_INLINES): Likewise.
15966         * math/test-ldouble.c: Include test-ldouble.h,
15967         test-math-no-inline.h and test-math-scalar.h.
15968         (FUNC): Remove macro.
15969         (FUNC_TEST): Likewise.
15970         (FLOAT): Likewise.
15971         (MATHCONST): Likewise.
15972         (PRINTF_EXPR): Likewise.
15973         (PRINTF_XEXPR): Likewise.
15974         (PRINTF_NEXPR): Likewise.
15975         (TEST_LDOUBLE): Likewise.
15976         (TEST_MATHVEC): Likewise.
15977         (__NO_MATH_INLINES): Likewise.
15978         * math/test-double-vlen2.h: Include test-double.h,
15979         test-math-no-inline.h and test-math-vector.h.
15980         (FLOAT): Remove macro.
15981         (FUNC): Likewise.
15982         (MATHCONST): Likewise.
15983         (PRINTF_EXPR): Likewise.
15984         (PRINTF_XEXPR): Likewise.
15985         (PRINTF_NEXPR): Likewise.
15986         (TEST_DOUBLE): Likewise.
15987         (TEST_MATHVEC): Likewise.
15988         (__NO_MATH_INLINES): Likewise.
15989         (CNCT): Likewise.
15990         (CONCAT): Likewise.
15991         (WRAPPER_NAME): Likewise.
15992         (WRAPPER_DECL): Likewise.
15993         (WRAPPER_DECL_ff): Likewise.
15994         (WRAPPER_DECL_fFF): Likewise.
15995         (VECTOR_WRAPPER): Likewise.
15996         (VECTOR_WRAPPER_ff): Likewise.
15997         (VECTOR_WRAPPER_fFF): Likewise.
15998         (VEC_LEN): New macro.
15999         * math/test-double-vlen4.h: Include test-double.h,
16000         test-math-no-inline.h and test-math-vector.h.
16001         (FLOAT): Remove macro.
16002         (FUNC): Likewise.
16003         (MATHCONST): Likewise.
16004         (PRINTF_EXPR): Likewise.
16005         (PRINTF_XEXPR): Likewise.
16006         (PRINTF_NEXPR): Likewise.
16007         (TEST_DOUBLE): Likewise.
16008         (TEST_MATHVEC): Likewise.
16009         (__NO_MATH_INLINES): Likewise.
16010         (CNCT): Likewise.
16011         (CONCAT): Likewise.
16012         (WRAPPER_NAME): Likewise.
16013         (WRAPPER_DECL): Likewise.
16014         (WRAPPER_DECL_ff): Likewise.
16015         (WRAPPER_DECL_fFF): Likewise.
16016         (VECTOR_WRAPPER): Likewise.
16017         (VECTOR_WRAPPER_ff): Likewise.
16018         (VECTOR_WRAPPER_fFF): Likewise.
16019         (VEC_LEN): New macro.
16020         * math/test-double-vlen8.h: Include test-double.h,
16021         test-math-no-inline.h and test-math-vector.h.
16022         (FLOAT): Remove macro.
16023         (FUNC): Likewise.
16024         (MATHCONST): Likewise.
16025         (PRINTF_EXPR): Likewise.
16026         (PRINTF_XEXPR): Likewise.
16027         (PRINTF_NEXPR): Likewise.
16028         (TEST_DOUBLE): Likewise.
16029         (TEST_MATHVEC): Likewise.
16030         (__NO_MATH_INLINES): Likewise.
16031         (CNCT): Likewise.
16032         (CONCAT): Likewise.
16033         (WRAPPER_NAME): Likewise.
16034         (WRAPPER_DECL): Likewise.
16035         (WRAPPER_DECL_ff): Likewise.
16036         (WRAPPER_DECL_fFF): Likewise.
16037         (VECTOR_WRAPPER): Likewise.
16038         (VECTOR_WRAPPER_ff): Likewise.
16039         (VECTOR_WRAPPER_fFF): Likewise.
16040         (VEC_LEN): New macro.
16041         * math/test-float-vlen4.h: Include test-float.h,
16042         test-math-no-inline.h and test-math-vector.h.
16043         (FLOAT): Remove macro.
16044         (FUNC): Likewise.
16045         (MATHCONST): Likewise.
16046         (PRINTF_EXPR): Likewise.
16047         (PRINTF_XEXPR): Likewise.
16048         (PRINTF_NEXPR): Likewise.
16049         (TEST_FLOAT): Likewise.
16050         (TEST_MATHVEC): Likewise.
16051         (__NO_MATH_INLINES): Likewise.
16052         (CNCT): Likewise.
16053         (CONCAT): Likewise.
16054         (WRAPPER_NAME): Likewise.
16055         (WRAPPER_DECL): Likewise.
16056         (WRAPPER_DECL_ff): Likewise.
16057         (WRAPPER_DECL_fFF): Likewise.
16058         (VECTOR_WRAPPER): Likewise.
16059         (VECTOR_WRAPPER_ff): Likewise.
16060         (VECTOR_WRAPPER_fFF): Likewise.
16061         (VEC_LEN): New macro.
16062         * math/test-float-vlen8.h: Include test-float.h,
16063         test-math-no-inline.h and test-math-vector.h.
16064         (FLOAT): Remove macro.
16065         (FUNC): Likewise.
16066         (MATHCONST): Likewise.
16067         (PRINTF_EXPR): Likewise.
16068         (PRINTF_XEXPR): Likewise.
16069         (PRINTF_NEXPR): Likewise.
16070         (TEST_FLOAT): Likewise.
16071         (TEST_MATHVEC): Likewise.
16072         (__NO_MATH_INLINES): Likewise.
16073         (CNCT): Likewise.
16074         (CONCAT): Likewise.
16075         (WRAPPER_NAME): Likewise.
16076         (WRAPPER_DECL): Likewise.
16077         (WRAPPER_DECL_ff): Likewise.
16078         (WRAPPER_DECL_fFF): Likewise.
16079         (VECTOR_WRAPPER): Likewise.
16080         (VECTOR_WRAPPER_ff): Likewise.
16081         (VECTOR_WRAPPER_fFF): Likewise.
16082         (VEC_LEN): New macro.
16083         * math/test-float-vlen16.h: Include test-float.h,
16084         test-math-no-inline.h and test-math-vector.h.
16085         (FLOAT): Remove macro.
16086         (FUNC): Likewise.
16087         (MATHCONST): Likewise.
16088         (PRINTF_EXPR): Likewise.
16089         (PRINTF_XEXPR): Likewise.
16090         (PRINTF_NEXPR): Likewise.
16091         (TEST_FLOAT): Likewise.
16092         (TEST_MATHVEC): Likewise.
16093         (__NO_MATH_INLINES): Likewise.
16094         (CNCT): Likewise.
16095         (CONCAT): Likewise.
16096         (WRAPPER_NAME): Likewise.
16097         (WRAPPER_DECL): Likewise.
16098         (WRAPPER_DECL_ff): Likewise.
16099         (WRAPPER_DECL_fFF): Likewise.
16100         (VECTOR_WRAPPER): Likewise.
16101         (VECTOR_WRAPPER_ff): Likewise.
16102         (VECTOR_WRAPPER_fFF): Likewise.
16103         (VEC_LEN): New macro.
16104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16105         test-vec-loop.h.
16106         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16108         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16109         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16110         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16114 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16116         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16117         (__getlogin_r): ... this.
16119 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16121         [BZ #18594]
16122         * math/s_ccosh.c (__ccosh): Compare with least normal value
16123         instead of comparing class with FP_SUBNORMAL.
16124         * math/s_ccoshf.c (__ccoshf): Likewise.
16125         * math/s_ccoshl.c (__ccoshl): Likewise.
16126         * math/s_cexp.c (__cexp): Likewise.
16127         * math/s_cexpf.c (__cexpf): Likewise.
16128         * math/s_cexpl.c (__cexpl): Likewise.
16129         * math/s_csin.c (__csin): Likewise.
16130         * math/s_csinf.c (__csinf): Likewise.
16131         * math/s_csinh.c (__csinh): Likewise.
16132         * math/s_csinhf.c (__csinhf): Likewise.
16133         * math/s_csinhl.c (__csinhl): Likewise.
16134         * math/s_csinl.c (__csinl): Likewise.
16135         * math/s_ctan.c (__ctan): Likewise.
16136         * math/s_ctanf.c (__ctanf): Likewise.
16137         * math/s_ctanh.c (__ctanh): Likewise.
16138         * math/s_ctanhf.c (__ctanhf): Likewise.
16139         * math/s_ctanhl.c (__ctanhl): Likewise.
16140         * math/s_ctanl.c (__ctanl): Likewise.
16141         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16142         csin, csinh, ctan and ctanh.
16143         * math/auto-libm-test-out: Regenerated.
16144         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16145         * sysdeps/i386/fpu/libm-test-ulps: Update.
16146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16148 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16150         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16151         return value is wrong, print the expected value too.
16153 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16155         [BZ #18585]
16156         * elf/readlib.c (is_gdb_python_file): New.
16157         (process_file): Don't issue errors on filenames with -gdb.py
16158         suffix.
16160 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16162         * math/auto-libm-test-in: Add more tests of csin and csinh.
16163         * math/auto-libm-test-out: Regenerated.
16164         * math/libm-test.inc (csin_test_data): Remove tests moved to
16165         auto-libm-test-in.
16166         (csinh_test_data): Likewise.
16168         [BZ #18593]
16169         * math/s_csin.c (__csin): Negate before rather than after possibly
16170         overflowing multiplication.
16171         * math/s_csinf.c (__csinf): Likewise.
16172         * math/s_csinh.c (__csinh): Likewise.
16173         * math/s_csinhf.c (__csinhf): Likewise.
16174         * math/s_csinhl.c (__csinhl): Likewise.
16175         * math/s_csinl.c (__csinl): Likewise.
16176         * math/auto-libm-test-in: Add some tests of csin and csinh.
16177         * math/auto-libm-test-out: Regenerated.
16178         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16179         (csinh_test_data): Likewise.
16180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16182         [BZ #18586]
16183         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16184         underflow exception for small results.
16186 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16189         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16190         variable and included header.
16191         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16196         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16197         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16198         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16199         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16200         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16201         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16202         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16203         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16204         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16205         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16206         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16208 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #16526]
16211         [BZ #16538]
16212         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16213         (__sin): Force underflow exception for arguments with small
16214         absolute value.
16215         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16216         (__kernel_sinf): Force underflow exception for arguments with
16217         small absolute value.
16218         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16219         (__kernel_sincosl): Force underflow exception for arguments with
16220         small absolute value.
16221         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16222         (__kernel_sinl): Force underflow exception for arguments with
16223         small absolute value.
16224         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16225         (__kernel_sincosl): Force underflow exception for arguments with
16226         small absolute value.
16227         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16228         (__kernel_sinl): Force underflow exception for arguments with
16229         small absolute value.
16230         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16231         (__kernel_sinl): Force underflow exception for arguments with
16232         small absolute value.
16233         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16234         (__kernel_sinf): Force underflow exception for arguments with
16235         small absolute value.
16236         * math/auto-libm-test-in: Add more tests of sin and sincos.
16237         * math/auto-libm-test-out: Regenerated.
16239         [BZ #18245]
16240         [BZ #18583]
16241         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16242         (__kernel_standard_l): Use feholdexcept and fesetenv around
16243         conversion to double instead of special-casing overflow and
16244         underflow.
16245         * math/libm-test.inc (fmod_test_data): Add more tests.
16246         (remainder_test_data): Likewise.
16247         (sqrt_test_data): Likewise.
16249 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16251         [BZ #17403]
16252         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16253         atomic_read_barrier, atomic_write_barrier): Define.
16254         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16255         atomic_read_barrier, atomic_write_barrier): Define.
16257 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16259         * math/Makefile [$(PERL) != no]
16260         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16261         dependency on libm-test.stmp below the inclusion of Rules.
16263 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16265         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16267         and included header.
16268         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16269         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16271         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16276         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16277         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16278         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16279         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16280         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16281         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16282         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16283         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16284         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16285         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16286         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16288 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16290         [BZ #18371]
16291         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16292         intermediate but not final result might underflow.
16293         * math/s_csqrtf.c (__csqrtf): Likewise.
16294         * math/s_csqrtl.c (__csqrtl): Likewise.
16295         * math/auto-libm-test-in: Add more tests of csqrt.
16296         * math/auto-libm-test-out: Regenerated.
16297         * sysdeps/i386/fpu/libm-test-ulps: Update.
16299         [BZ #18219]
16300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16301         threshold on absolute value of exponent for which scaling is used.
16302         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16303         * math/auto-libm-test-in: Add more tests of exp2.
16304         * math/auto-libm-test-out: Regenerated.
16306 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16308         [BZ #17977]
16309         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16310         when initializing interface list, based on the bug analysis
16311         and the patch proposed by Eric Newton.
16312         * resolv/tst-res_hconf_reorder.c: New test.
16313         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16314         tst-res_hconf_reorder.
16315         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16316         and $(shared-thread-library).
16317         (tst-res_hconf_reorder-ENV): New variable.
16319         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16320         in comment.
16322 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #16353]
16325         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16326         (__expm1): Force underflow exception for arguments with small
16327         absolute value.
16328         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16329         (__expm1f): Force underflow exception for arguments with small
16330         absolute value.
16331         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16332         (__expm1): Force underflow exception for arguments with small
16333         absolute value.
16334         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16335         (__expm1f): Force underflow exception for arguments with small
16336         absolute value.
16337         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16338         Check for small arguments before calling __expm1.
16339         * math/auto-libm-test-in: Do not mark underflow exceptions as
16340         possibly missing for bug 16353.
16341         * math/auto-libm-test-out: Regenerated.
16343 2015-06-22  Andreas Schwab  <schwab@suse.de>
16345         [BZ #18513]
16346         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16347         PTR queries.
16349 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16351         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16353         * string/strcoll_l.c: Remove unused struct element idxnow.
16355 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16357         [BZ #18569]
16358         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16359         underflow and return argument in case of subnormal argument.
16360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16361         Likewise.
16362         * math/auto-libm-test-in: Add more tests of expm1.
16363         * math/auto-libm-test-out: Regenerated.
16365         [BZ #16361]
16366         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16367         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16368         tiny results.
16369         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16370         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16371         tiny results.
16372         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16373         mark underflow exceptions as possibly missing for bug 16361.
16374         * math/auto-libm-test-out: Regenerated.
16376 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16378         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16379         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16380         Remove variable.
16381         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16382         (test-xfail-XOPEN2K8/utmpx.h/conform).
16384         * conform/conformtest.pl ($xerrors): New variable.
16385         (note_error): New function.
16386         (compiletest): New argument $xfail.  Use not_error.
16387         (runtest): Likewise.
16388         (top level): Handle xfail- lines.  Update calls to compiletest and
16389         runtest.  Handle xfail- and optional- in headers listed with
16390         allow-header.
16391         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16392         (O_EXEC): Likewise.
16393         (O_SEARCH): Likewise.
16394         * conform/data/stropts.h-data (ioctl): Likewise.
16395         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16396         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16397         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16398         (msghdr.msg_controllen): Likewise.
16399         (cmsghdr.cmsg_len): Likewise.
16400         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16401         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16402         variable.
16403         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16404         (test-xfail-XPG4/stropts.h/conform): Likewise.
16405         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16406         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16407         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16408         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16409         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16410         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16411         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16412         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16413         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16414         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16415         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16416         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16417         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16418         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16419         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16420         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16421         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16422         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16423         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16425 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16427         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16428         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16429         definitions for proper unfolding of __MATHDECL_VEC.
16431 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16433         * benchtests/bench-strcoll.c:
16434         Include string.h.
16435         (main): Remove unused variable res.
16437 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16439         * timezone/Makefile (%/UTC %/Universal):
16440         Generate test-result files for UTC and Universal.
16442 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16444         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16446 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #16350]
16449         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16450         for arguments with small absolute value.
16451         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16452         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16453         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16454         (__asinh): Force underflow exception for arguments with small
16455         absolute value.
16456         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16457         (__asinhf): Force underflow exception for arguments with small
16458         absolute value.
16459         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16460         (__asinhl): Force underflow exception for arguments with small
16461         absolute value.
16462         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16463         (__asinhl): Force underflow exception for arguments with small
16464         absolute value.
16465         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16466         (__asinhl): Force underflow exception for arguments with small
16467         absolute value.
16468         * math/auto-libm-test-in: Do not mark underflow exceptions as
16469         possibly missing for bug 16350.
16470         * math/auto-libm-test-out: Regenerated.
16472         * include/bits/ipc.h: Remove file.
16473         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16474         variable.
16475         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16476         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16477         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16478         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16479         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16480         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16481         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16482         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16483         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16485         * math/auto-libm-test-in: Remove spurious underflow allowance for
16486         tests of cexp.
16487         * math/auto-libm-test-out: Regenerated.
16489         [BZ #18558]
16490         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16491         unconditional definition.
16492         (MCAST_BLOCK_SOURCE): Likewise.
16493         (MCAST_UNBLOCK_SOURCE): Likewise.
16494         (MCAST_LEAVE_GROUP): Likewise.
16495         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16496         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16497         (MCAST_MSFILTER): Likewise.
16498         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16499         Remove variable.
16500         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16501         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16502         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16503         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16504         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16506 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16508         * NEWS: Mention addition of x86_64 vector sincosf.
16509         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16510         * math/test-float-vlen4.h: Likewise.
16511         * math/test-float-vlen8.h: Likewise.
16512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16513         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16515         * sysdeps/x86_64/fpu/Versions: New versions added.
16516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16518         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16520         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16521         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16522         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16523         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16525         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16526         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16527         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16528         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16529         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16530         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16531         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16532         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16533         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16534         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16535         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16538         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16539         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16541         * NEWS: Mention addition of x86_64 vector sincos.
16542         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16543         * math/math.h (__MATHDECL_VEC): New macro.
16544         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16545         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16546         declaration under condition.
16547         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16548         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16549         TEST_VEC_LOOP change.
16550         * math/test-double-vlen4.h: Likewise.
16551         * math/test-double-vlen8.h: Likewise.
16552         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16553         * math/test-float-vlen4.h: Likewise.
16554         * math/test-float-vlen8.h: Likewise.
16555         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16556         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16557         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16558         * sysdeps/x86_64/fpu/Versions: New versions added.
16559         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16560         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16561         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16563         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16564         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16565         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16567         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16568         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16569         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16570         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16571         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16572         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16573         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16574         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16575         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16576         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16579         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16580         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16581         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16582         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16584         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16585         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16586         redirections for powf.
16587         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16588         * sysdeps/x86_64/fpu/Versions: New versions added.
16589         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16590         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16591         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16592         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16594         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16596         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16598         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16599         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16600         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16601         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16602         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16603         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16604         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16605         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16606         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16607         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16608         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16609         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16610         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16611         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16612         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16613         * math/test-float-vlen16.h: Fixed 2 argument macro.
16614         * math/test-float-vlen4.h: Likewise.
16615         * math/test-float-vlen8.h: Likewise.
16616         * NEWS: Mention addition of x86_64 vector powf.
16618 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16620         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16621         and redefine.
16622         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16623         and redefine.
16624         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16625         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16626         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16628         [BZ #18553]
16629         * resource/getpriority.c (getpriority): Rename to __getpriority
16630         and define as weak alias of __getpriority.
16631         * resource/setpriority.c (setpriority): Rename to __setpriority
16632         and define as weak alias of __setpriority.
16633         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16634         __getpriority and define as weak alias of __getpriority.
16635         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16636         __setpriority and define as weak alias of __setpriority.
16637         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16638         strong name.
16639         (setpriority): Use __setpriority as strong name.
16640         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16641         __getpriority and define as weak alias of __getpriority.
16642         * include/sys/resource.h (__getpriority): Declare.  Use
16643         libc_hidden_proto.
16644         (__setpriority): Likewise.
16645         (getpriority): Don't use libc_hidden_proto.
16646         (setpriority): Likewise.
16647         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16648         getpriority.  Call __setpriority instead of setpriority.
16649         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16650         Remove variable.
16652         [BZ #18547]
16653         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16654         as weak alias of __getttynam.  Use prototype function definition.
16655         Call __setttyent, __getttyent and __endttyent instead of
16656         setttyent, getttyent and endttyent.
16657         (getttyent): Rename to __getttyent and define as weak alias of
16658         __getttyent.  Call __setttyent instead of setttyent.  Call
16659         __fgets_unlocked instead of fgets_unlocked.
16660         (setttyent): Rename to __setttyent and define as weak alias of
16661         __setttyent.
16662         (endttyent): Rename to __endttyent and define as weak alias of
16663         __endttyent.
16664         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16665         (__setttyent): Likewise.
16666         (__endttyent): Likewise.
16667         (getttyent): Don't use libc_hidden_proto.
16668         (setttyent): Likewise.
16669         (endttyent): Likewise.
16670         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16671         __endttyent instead of setttyent, getttyent and endttyent.
16672         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16673         Remove variable.
16675         [BZ #18546]
16676         * socket/recv.c (__recv): Use libc_hidden_def.
16677         * socket/socket.c (__socket): Likewise.
16678         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16679         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16680         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16681         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16682         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16683         libc_hidden_def.
16684         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16685         libc_hidden_weak.
16686         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16687         Use libc_hidden_proto.
16688         (__recv): Likewise.
16689         * socket/Versions (libc): Export __recv and __socket at version
16690         GLIBC_PRIVATE.
16691         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16692         instead of recv.
16693         (init_mq_netlink): Call __socket instead of socket.
16694         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16695         Remove variable.
16697         [BZ #18545]
16698         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16699         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16700         hidden_weak.
16701         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16702         define as alias of __mq_timedsend.  Use hidden_weak.
16703         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16704         __mq_timedsend as strong name.
16705         (mq_timedreceive): Use __mq_timedreceive as strong name.
16706         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16707         (__mq_timedreceive): Likewise.
16708         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16709         __mq_timedreceive instead of mq_timedreceive.
16710         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16711         instead of mq_timedsend.
16712         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16713         Remove variable.
16715         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16716         hidden_def and hidden_weak instead of libc_hidden_def and
16717         libc_hidden_weak.
16718         (top level): Refer to hidden_def in comment.
16719         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16720         macro.  Use it instead of libc_hidden_def.
16721         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16722         specify __GI_* name explicitly.
16723         (mq_timedreceive): Likewise.
16724         (mq_setattr): Likewise.
16726         [BZ #18544]
16727         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16728         __pthread_barrier_init and define as weak alias of
16729         __pthread_barrier_init.
16730         * sysdeps/sparc/nptl/pthread_barrier_init.c
16731         (pthread_barrier_init): Likewise.
16732         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16733         __pthread_barrier_wait and define as weak alias of
16734         __pthread_barrier_wait.
16735         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16736         (pthread_barrier_wait): Likewise.
16737         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16738         (pthread_barrier_wait): Likewise.
16739         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16740         (pthread_barrier_wait): Likewise.
16741         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16742         (pthread_barrier_wait): Likewise.
16743         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16744         __pthread_barrier_wait at version GLIBC_PRIVATE.
16745         * include/pthread.h (__pthread_barrier_init): Declare.
16746         (__pthread_barrier_wait): Likewise.
16747         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16748         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16749         (helper_thread): Likewise.
16750         (init_mq_netlink): Call __pthread_barrier_init instead of
16751         pthread_barrier_init.
16753         [BZ #18542]
16754         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16755         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16756         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16757         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16758         vswscanf.
16759         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16760         Remove variable.
16762         [BZ #18540]
16763         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16764         strong alias of _IO_fflush.  Use libc_hidden_def.
16765         * libio/iofflush_u.c (fflush_unlocked): Rename to
16766         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16767         Use libc_hidden_weak.
16768         * include/stdio.h (__fflush_unlocked): Declare.  Use
16769         libc_hidden_proto.
16770         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16771         fflush_unlocked.
16772         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16773         Remove variable.
16775         [BZ #18539]
16776         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16777         define as weak alias of __addseverity.
16778         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16779         Remove variable.
16780         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16781         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16782         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16784         [BZ #18536]
16785         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16786         (__tfind): Likewise.
16787         (__tdelete): Likewise.
16788         (__twalk): Likewise.
16789         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16790         __twalk to GLIBC_PRIVATE.
16791         * include/search.h (__tsearch): Use libc_hidden_proto.
16792         (__tfind): Likewise.
16793         (__tdelete): Likewise.
16794         (__twalk): Likewise.
16795         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16796         Call __tdelete instead of tdelete.
16797         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16798         tfind.  Call __tsearch instead of tsearch.
16799         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16800         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16801         Remove variable.
16802         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16804         [BZ #18534]
16805         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16806         (dprintf): Define as a weak alias of __dprintf, not a strong
16807         alias.
16808         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16809         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16810         dprintf.
16811         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16812         Remove variable.
16813         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16814         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16816         [BZ #18533]
16817         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16818         not a strong alias.
16819         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16820         Remove variable.
16822         [BZ #18532]
16823         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16824         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16825         (in6addr_loopback): Rename to __in6addr_loopback and define as
16826         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16827         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16828         libc_hidden_proto.
16829         (__in6addr_any): Likewise.
16830         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16831         in6addr_any.
16832         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16833         variable.
16834         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16836 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16838         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16839         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16840         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16841         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16842         redirections for pow.
16843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16844         * sysdeps/x86_64/fpu/Versions: New versions added.
16845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16847         build of SSE, AVX2 and AVX512 IFUNC versions.
16848         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16850         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16851         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16852         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16854         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16855         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16856         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16857         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16858         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16859         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16860         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16861         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16862         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16863         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16865         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16866         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16867         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16868         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16869         * NEWS: Mention addition of x86_64 vector pow.
16871         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16872         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16873         redirections for expf.
16874         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16875         * sysdeps/x86_64/fpu/Versions: New versions added.
16876         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16877         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16878         build of SSE, AVX2 and AVX512 IFUNC versions.
16879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16881         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16882         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16883         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16884         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16885         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16886         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16887         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16888         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16889         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16890         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16891         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16892         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16893         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16894         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16895         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16896         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16897         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16898         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16899         * NEWS: Mention addition of x86_64 vector expf.
16901         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16902         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16905         redirections for exp.
16906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16907         * sysdeps/x86_64/fpu/Versions: New versions added.
16908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16910         build of SSE, AVX2 and AVX512 IFUNC versions.
16911         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16913         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16915         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16916         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16917         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16918         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16919         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16920         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16921         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16922         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16923         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16924         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16927         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16928         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16929         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16930         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16931         * NEWS: Mention addition of x86_64 vector exp.
16933         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16934         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16935         redirections for logf.
16936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16937         * sysdeps/x86_64/fpu/Versions: New versions added.
16938         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16939         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16940         build of SSE, AVX2 and AVX512 IFUNC versions.
16941         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16942         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16943         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16944         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16945         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16946         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16947         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16948         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16949         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16950         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16951         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16952         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16953         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16954         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16955         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16956         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16959         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16960         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16961         * NEWS: Mention addition of x86_64 vector logf.
16963         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16964         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16965         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16966         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16967         redirections for log.
16968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16969         * sysdeps/x86_64/fpu/Versions: New versions added.
16970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16971         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16972         build of SSE, AVX2 and AVX512 IFUNC versions.
16973         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16974         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16975         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16976         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16977         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16978         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16979         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16980         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16981         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16982         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16983         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16984         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16985         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16986         test.
16987         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16990         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16991         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16992         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16993         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16994         * NEWS: Mention addition of x86_64 vector log.
16996 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16998         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16999         cfi_adjust_cfa_offset argument.
17000         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17001         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17003         [BZ #18034]
17004         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17005         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17006         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17007         ordering using ldar.
17008         (_dl_tlsdesc_dynamic): Likewise.
17009         (_dl_tlsdesc_return_lazy): Likewise.
17010         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17011         relaxed atomics instead of volatile and synchronize with release store.
17012         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17013         volatile.
17014         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17016 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17018         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17019         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17021         * sysdeps/x86_64/fpu/Versions: New versions added.
17022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17023         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17024         build of SSE, AVX2 and AVX512 IFUNC versions.
17025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17026         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17028         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17029         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17031         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17032         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17033         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17034         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17035         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17036         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17037         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17038         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17039         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17040         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17041         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17042         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17043         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17044         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17045         * NEWS: Mention addition of x86_64 vector sinf.
17047 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17049         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17050         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17051         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17052         Remove variable.
17053         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17054         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17056 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17058         [BZ #18530]
17059         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17060         strong alias of _IO_fputs.  Use libc_hidden_def.
17061         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17062         and define as weak alias of __fputs_unlocked.  Use
17063         libc_hidden_weak.
17064         * include/stdio.h (__fputs_unlocked): Declare.  Use
17065         libc_hidden_proto.
17066         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17067         fputs_unlocked.
17069         [BZ #18529]
17070         * resolv/netdb.h [__USE_POSIX]: Change condition to
17071         [__USE_XOPEN2K].
17072         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17073         not expect.
17074         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17075         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17076         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17077         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17078         [XPG4 || UNIX98] (AI_ALL): Likewise.
17079         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17080         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17081         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17082         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17083         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17084         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17085         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17086         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17087         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17088         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17089         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17090         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17091         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17092         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17093         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17094         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17095         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17096         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17097         [XPG4 || UNIX98] (gai_strerror): Likewise.
17098         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17099         [XPG4 || UNIX98] (getnameinfo): Likewise.
17101         [BZ #18528]
17102         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17103         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17104         __USE_XOPEN2K8].
17105         (getgrent): Likewise.
17106         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17107         expect.
17108         [XPG3 || POSIX2008] (endgrent): Likewise.
17109         [XPG3] (setgrent): Likewise.
17110         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17111         variable.
17112         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17114         [BZ #18527]
17115         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17116         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17117         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17118         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17119         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17120         * include/unistd.h (__getlogin_r): Declare.  Use
17121         libc_hidden_proto.
17122         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17123         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17124         variable.
17125         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17126         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17127         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17129 2015-06-12  Martin Sebor  <msebor@redhat.com>
17131         [BZ #18512]
17132         * Makerules (check-install-supported): New target.
17133         (install): Add check-install-supported as a dependency.
17134         * manual/install.texi (Installing the C Library): Document
17135         that overriding prefix and exec_prefix is not supported.
17136         Mention DESTDIR.
17137         * INSTALL: Regenerate from the above.
17139 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17141         [BZ #18519]
17142         * posix/Versions (libc): Export __libc_pread at version
17143         GLIBC_PRIVATE.
17144         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17145         instead of pread.
17146         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17147         variable.
17149         [BZ #18522]
17150         * misc/efgcvt_r.c
17151         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17152         (cvt_symbol): Use weak_alias instead of strong_alias.
17153         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17154         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17155         Remove variable.
17156         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17157         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17159         [BZ #18520]
17160         * inet/herrno.c (h_errno): Rename to __h_errno.
17161         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17162         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17163         to __h_errno instead of h_errno.
17164         * nptl/herrno.c (h_errno): Rename to __h_errno.
17165         (__h_errno_location): Refer to __h_errno not h_errno.
17166         * resolv/Versions (h_errno): Rename to __h_errno.
17167         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17168         Remove variable.
17169         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17171 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17173         * configure.ac: More strict check for AVX512 assembler support.
17174         * configure: Regenerated.
17176         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17177         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17178         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17179         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17181         * sysdeps/x86_64/fpu/Versions: New versions added.
17182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17184         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17186         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17187         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17188         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17189         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17190         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17191         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17192         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17193         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17194         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17195         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17196         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17197         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17198         test.
17199         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17200         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17201         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17202         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17203         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17204         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17205         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17206         * NEWS: Mention addition of x86_64 vector sin.
17208 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17210         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17211         comment.
17213 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17215         [BZ #18479]
17216         * nptl/pt-interp.c: New file.
17217         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17218         Add pt-interp.
17219         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17220         $(common-objpfx)runtime-linker.h.
17222 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17224         * Makeconfig (+interp): Remove unused variable.
17225         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17226         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17227         $(elf-objpfx)runtime-linker.h.
17228         ($(elf-objpfx)runtime-linker.h): Rename to
17229         $(common-objpfx)runtime-linker.h and move ...
17230         * Makerules [$(build-shared) = yes]: ... here.
17231         * elf/interp.c: Include <runtime-linker.h> instead of
17232         <elf/runtime-linker.h>.
17234 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17236         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17237         (__gettimeofday_syscall): Remove vsyscall fallback.
17238         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17239         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17240         Add syscall fallback function.
17241         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17242         if vDSO is not present.
17243         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17244         fallback function.
17245         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17246         present.
17247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17248         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17250 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17252         [BZ #18497]
17253         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17254         of wcscmp.
17255         (wcscmp): Define as weak alias of WCSCMP.
17256         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17257         wcscoll.
17258         (USE_HIDDEN_DEF): Define.
17259         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17260         __wcscoll.  Don't use libc_hidden_weak.
17261         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17262         wcscmp.
17263         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17264         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17265         __GI_wcscmp.
17266         (weak_alias): Undefine and redefine.
17267         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17268         __wcscmp and define as weak alias of __wcscmp.
17269         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17270         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17271         (__wcscoll): Likewise.
17272         (wcscmp): Don't use libc_hidden_proto.
17273         (wcscoll): Likewise.
17274         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17275         wcscoll.
17276         * posix/regexec.c (check_node_accept_bytes): Likewise.
17277         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17278         variable.
17279         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17280         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17282         [BZ #18507]
17283         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17284         __fstatvfs and define as weak alias of __fstatvfs.  Use
17285         libc_hidden_weak.
17286         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17287         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17288         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17289         Define as alias of __fstatvfs, not fstatvfs.
17290         (fstatvfs64): Likewise.
17291         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17292         Define as alias of __statvfs, not statvfs.
17293         (statvfs64): Likewise.
17294         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17295         Remove variable.
17297 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17300         (HAVE_GETCPU_VSYSCALL): Define.
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17302         (HAVE_GETCPU_VSYSCALL): Likewise.
17303         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17304         * sysdeps/unix/sysv/linux/sched_getcpu.c
17305         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17306         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17307         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17308         prototype.
17309         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17310         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17313         Define.
17314         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17315         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17316         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17319 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17321         * sysdeps/x86_64/fpu/Makefile: New file.
17322         * sysdeps/x86_64/fpu/Versions: New file.
17323         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17324         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17325         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17326         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17327         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17328         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17329         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17330         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17337         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17338         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17339         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17340         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17341         * sysdeps/x86_64/configure: Regenerated.
17342         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17343         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17344         * manual/install.texi (Configuring and compiling): Document
17345         --disable-mathvec.
17346         * INSTALL: Regenerated.
17347         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17349         * math/Makefile: Added rules for vector tests.
17350         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17351         declaration under condition.
17352         * math/test-double-vlen2.h: New file.
17353         * math/test-double-vlen4.h: New file.
17354         * math/test-double-vlen8.h: New file.
17355         * math/test-vec-loop.h: Added initialization macro.
17356         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17357         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17358         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17359         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17360         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17361         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17362         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17363         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17364         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17365         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17366         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17368         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17369         * sysdeps/x86_64/fpu/Versions: New versions added.
17370         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17372         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17373         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17374         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17375         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17376         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17377         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17378         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17380         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17381         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17382         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17383         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17384         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17385         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17386         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17387         * NEWS: Mention addition of x86_64 vector cosf.
17389         * math/Makefile: Added CFLAGS for new tests.
17390         * math/test-float-vlen16.h: New file.
17391         * math/test-float-vlen4.h: New file.
17392         * math/test-float-vlen8.h: New file.
17393         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17394         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17396         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17397         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17398         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17399         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17400         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17401         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17402         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17403         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17405 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17407         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17408         * locale/programs/ld-ctype.c: Likewise.
17410 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17412         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17413         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17414         bit_ZMM16_31_state): New macro.
17415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17416         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17418 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17420         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17422 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17424         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17426 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17428         [BZ #18498]
17429         * libio/memstream.c (open_memstream): Rename to __open_memstream
17430         and define as weak alias of __open_memstream.
17431         * include/stdio.h (__open_memstream): Declare.  Use
17432         libc_hidden_proto.
17433         (open_memstream): Don't use libc_hidden_proto.
17434         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17435         open_memstream.
17436         * posix/getopt.c (_getopt_internal_r): Likewise.
17437         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17438         variable.
17439         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17440         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17441         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17443         [BZ #18496]
17444         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17445         instead of wcrtomb.
17447         [BZ #18483]
17448         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17449         [__USE_XOPEN2K8].  Remove redundant #endif.
17450         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17451         Remove redundant #if.
17452         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17453         Remove variable.
17454         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17455         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17457         [BZ #18495]
17458         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17459         (__iswlower): Likewise.
17460         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17461         (__iswlower): Likewise.
17462         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17463         instead of towlower.
17464         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17465         instead of iswlower.  Call __towupper instead of towupper.
17466         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17467         instead of iswalnum.
17469 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17471         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17472         errors to stderr.
17474 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17476         [BZ #15661]
17477         [BZ #17322]
17478         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17479         Check for overflow properly.  Check for O_APPEND.  Ignore large
17480         file system block sizes.  Add comments about problems.
17481         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17482         * manual/filesys.texi (Storage Allocation): New node.
17484 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17486         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17487         cancellable syscalls.
17488         (SYS_ify): Add guard to no redefine it.
17489         (INLINE_SYSCALL): Likewise.
17490         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17491         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17492         SYSCALL_CANCEL instead.
17493         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17494         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17495         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17496         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17497         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17498         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17499         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17500         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17501         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17502         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17503         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17504         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17505         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17506         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17507         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17509         Likewise.
17510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17511         (__libc_pread64): Likewise.
17512         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17513         (__libc_preadv): Likewise.
17514         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17515         (__libc_readv64): Likewise.
17516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17517         (__libc_pwrite): Likewise.
17518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17519         (__libc_pwrite64): Likewise.
17520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17521         (__libc_pwritev): Likewise.
17522         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17523         (__libc_pwritev64): Likewise.
17524         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17525         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17526         (sync_file_range): Likewise.
17527         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17528         Likewise.
17529         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17530         Likewise.
17531         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17532         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17533         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17534         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17535         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17536         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17537         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17538         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17540         Likewise.
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17542         (__libc_read64): Likewise.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17544         Likewise.
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17546         Likewise.
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17548         Likewise.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17550         Likewise.
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17552         (__libc_pread64): Likewise.
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17554         Likewise.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17556         (__libc_pwrite64): Likewise.
17557         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17558         (sync_file_range): Likewise.
17559         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17560         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17561         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17562         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17563         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17564         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17565         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17566         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17567         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17568         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17569         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17570         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17571         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17572         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17573         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17574         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17575         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17576         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17577         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17578         Likewise.
17579         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17580         Likewise.
17581         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17582         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17583         Likewise.
17584         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17585         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17586         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17587         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17588         Likewise.
17589         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17590         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17591         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17592         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17593         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17595 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17597         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17598         Include dl-vdso.
17599         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17600         Use VDSO routines for gettimeofday, clock_gettime if
17601         available.
17602         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17603         Declare VDSO symbols.
17604         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17605         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17606         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17607         * sysdeps/unix/sysv/linux/arm/Versions: Add
17608         __vdso_clock_gettime.
17610 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17612         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17613         be an inline implementation regardless of library is built within.
17614         (open_not_cancel_2): Likewise.
17615         (__read_nocancel): Likewise.
17616         (__write_nocancel): Likewise.
17617         (openat_not_cancel): Likewise.
17618         (openat_not_cancel_3): Likewise.
17619         (openat64_not_cancel): Likewise.
17620         (openat64_not_cancel_3): Likewise.
17621         (__close_nocancel): Likewise.
17622         (pause_not_cancel): Likewise.
17623         (nanosleep_not_cancel): Likewise.
17624         (sigsuspend_not_cancel): Likewise.
17626 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17628         [BZ #14958]
17629         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17630         wake-up.
17631         (__pthread_rwlock_rdlock_slow): Likewise.
17632         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17633         Likewise.
17634         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17635         Likewise.
17636         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17637         * nptl/tst-rwlock16.c: New file.
17638         * nptl/Makefile (tests): Add new test.
17640 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17642         [BZ #18324]
17643         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17644         missing wake-up of readers.
17645         * nptl/tst-rwlock15.c: New file.
17646         * nptl/Makefile (tests): Add new test.
17648 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17650         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17651         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17652         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17653         and __nacl_supply_interface_rtld.
17654         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17655         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17656         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17657         Add __nacl_supply_interface_rtld.
17658         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17660 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17662         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17663         isfinite.
17664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17665         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17667 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17669         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17670         __signbit* with standard C99 macros.
17671         * math/e_exp10l.c: Likewise.
17672         * math/e_exp2l.c: Likewise.
17673         * math/e_scalb.c: Likewise.
17674         * math/e_scalbf.c: Likewise.
17675         * math/e_scalbl.c: Likewise.
17676         * math/s_ldexp.c: Likewise.
17677         * math/s_ldexpf.c: Likewise.
17678         * math/s_ldexpl.c: Likewise.
17679         * math/w_atan2.c: Likewise.
17680         * math/w_atan2f.c: Likewise.
17681         * math/w_atan2l.c: Likewise.
17682         * math/w_cosh.c: Likewise.
17683         * math/w_coshf.c: Likewise.
17684         * math/w_coshl.c: Likewise.
17685         * math/w_exp10.c: Likewise.
17686         * math/w_exp10f.c: Likewise.
17687         * math/w_exp10l.c: Likewise.
17688         * math/w_exp2.c: Likewise.
17689         * math/w_exp2f.c: Likewise.
17690         * math/w_exp2l.c: Likewise.
17691         * math/w_fmod.c: Likewise.
17692         * math/w_fmodf.c: Likewise.
17693         * math/w_fmodl.c: Likewise.
17694         * math/w_hypot.c: Likewise.
17695         * math/w_hypotf.c: Likewise.
17696         * math/w_hypotl.c: Likewise.
17697         * math/w_jnl.c: Likewise.
17698         * math/w_lgamma.c: Likewise.
17699         * math/w_lgamma_r.c: Likewise.
17700         * math/w_lgammaf.c: Likewise.
17701         * math/w_lgammaf_r.c: Likewise.
17702         * math/w_lgammal.c: Likewise.
17703         * math/w_lgammal_r.c: Likewise.
17704         * math/w_pow.c: Likewise.
17705         * math/w_powf.c: Likewise.
17706         * math/w_powl.c: Likewise.
17707         * math/w_remainder.c: Likewise.
17708         * math/w_remainderf.c: Likewise.
17709         * math/w_remainderl.c: Likewise.
17710         * math/w_scalb.c: Likewise.
17711         * math/w_scalbf.c: Likewise.
17712         * math/w_scalbl.c: Likewise.
17713         * math/w_scalbln.c: Likewise.
17714         * math/w_scalblnf.c: Likewise.
17715         * math/w_scalblnl.c: Likewise.
17716         * math/w_sinh.c: Likewise.
17717         * math/w_sinhf.c: Likewise.
17718         * math/w_sinhl.c: Likewise.
17719         * math/w_tgamma.c: Likewise.
17720         * math/w_tgammaf.c: Likewise.
17721         * math/w_tgammal.c: Likewise.
17722         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17723         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17724         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17725         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17726         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17728         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17729         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17730         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17731         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17732         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17739         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17753         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17754         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17755         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17756         * stdio-common/printf_fp.c: Likewise.
17757         * stdio-common/printf_fphex.c: Likewise.
17758         * stdio-common/printf_size.c: Likewise.
17760 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17762         [BZ #18470]
17763         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17764         strnlen.
17765         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17766         Remove variable.
17767         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17768         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17769         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17770         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17771         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17772         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17773         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17774         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17775         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17776         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17778         [BZ #18468]
17779         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17780         weak alias of __wmemchr.  Use libc_hidden_weak.
17781         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17782         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17783         instead of wmemchr.
17785 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17787         [BZ #18383]
17788         * elf/tst-tlsalign-extern.c: New file.
17789         * elf/tst-tlsalign-extern-static.c: New file.
17790         * elf/tst-tlsalign-vars.c: New file.
17791         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17792         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17793         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17794         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17795         (test-xfail-tst-tlsalign-extern-static): New variable.
17797 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17799         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17800         Use variable name _sc_err instead of err.
17801         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17802         instead of ret.
17803         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17804         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17805         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17806         (INLINE_SYSCALL): Likewise.
17808         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17809         * include/string.h (__strnlen): Use libc_hidden_proto.
17810         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17811         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17812         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17813         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17814         (libc_hidden_def): Undefine and redefine.
17815         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17816         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17817         __GI_strnlen.
17818         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17819         libc_hidden_def.
17820         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17822         [BZ #18469]
17823         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17824         weak alias of __towlower.  Use libc_hidden_weak.
17825         (towupper): Rename to __towupper and define as weak alias of
17826         __towupper.  Use libc_hidden_weak.
17827         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17828         (__towupper): Likewise.
17829         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17830         __towlower instead of towlower.
17832 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17834         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17835         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17837 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17839         * sysdeps/aarch64/libm-test-ulps: Update.
17841 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17843         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17844         Define.
17845         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17847         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17848         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17849         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17850         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17851         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17853 2015-06-01  Martin Sebor  <msebor@redhat.com>
17855         [BZ #18116]
17856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17857         (__setcontext): Use extended four-operand version of mtsf whenever
17858         possible.
17859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17860         (__novec_swapcontext): Likewise.
17862 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17864         * benchtests/scripts/compare_bench.py: New file.
17865         * benchtests/scripts/import_bench.py (mean): New function.
17866         (split_list): Likewise.
17867         (do_for_all_timings): Likewise.
17868         (compress_timings): Likewise.
17870         * benchtests/scripts/import_bench.py: New file.
17871         * benchtests/scripts/validate_benchout.py: Import import_bench
17872         instead of jsonschema.
17873         (validate_bench): Remove function.
17874         (main): Use import_bench.
17876 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17878         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17879         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17881 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17885 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17887         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17888         set THREAD_SELF->tid to a magic value and futex-wake it.
17889         Pass its address to the thread_exit system call.
17890         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17891         bit is clear.
17892         * sysdeps/nacl/lowlevellock.h: New file.
17893         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17895         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17896         Add TIMEOUT to current time, don't subtract it.
17898 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17900         [BZ #2981]
17901         [BZ #18422]
17902         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17903         ($(objpfx)tst-audit2.out): Also depend on
17904         $(objpfx)tst-auditmod9b.so.
17905         * elf/tst-audit2.c: Include <dlfcn.h>.
17906         (calloc_called): New.
17907         (calloc): Allow to be called more than once.
17908         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17910 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17912         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17913         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17915 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17917         * stdlib/monetary.h: Fix comment.
17919 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17921         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17922         Avoid using variables in #defines that might cause shadowing.
17923         (INTERNAL_VSYSCALL_CALL): Likewise.
17925 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17927         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17929         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17930         * nptl/lll_timedlock_wait.c: ... to this new file.
17931         * nptl/Makefile (libpthread-routines): Add it.
17932         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17933         * nptl/lll_timedwait_tid.c: ... to this new file.
17934         * nptl/Makefile (libpthread-routines): Add it.
17935         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17936         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17937         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17938         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17939         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17940         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17941         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17942         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17943         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17944         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17946 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17948         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17949         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17950         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17952         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17954         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17956         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17957         * sysdeps/unix/sysv/linux/tile/sysdep.h
17958         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17959         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17960         using vDSO syscall macro.
17962 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17964         [BZ #17293]
17965         * uk_UA: Fix sorting order for Ukrainian locale
17967 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17969         * stdlib/monetary.h: Fix comment.
17971 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17973         [BZ #18234]
17974         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17975         st_mtim and st_ctim members.
17976         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17977         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17978         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17979         (struct stat64): Likewise.
17980         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17981         (struct stat64): Likewise.
17982         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17983         (struct stat64): Likewise.
17985 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17987         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17988         Define and include sysdep-vdso.h.
17989         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17990         Likewise.
17991         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17992         Likewise.
17993         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17994         Define with VDSO_SYMBOL and use PTR_MANGLE.
17995         (__vdso_clock_gettime): Likewise.
17996         (__vdso_clock_getres): Likewise.
17997         (_libc_vdso_platform_setup): Likewise.
17998         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17999         Likewise.
18000         (_libc_vdso_platform_setup): Likewise.
18001         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18002         Likewise.
18003         (__vdso_clock_gettime): Likewise.
18004         (__vdso_clock_getres): Likewise.
18005         (__vdso_get_tbfreq): Likewise.
18006         (__vdso_getcpu): Likewise.
18007         (__vdso_time): Likewise.
18008         (__vdso_sigtramp_rt64): Likewise.
18009         (__vdso_signtramp32): Likewise.
18010         (__vdso_sigtramp_rt32): Likewise.
18011         (_libc_vdso_platform_setup): Likewise.
18012         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18013         Likewise.
18014         (__vdso_clock_gettime): Likewise.
18015         (__vdso_clock_getres): Likewise.
18016         (_libc_vdso_platform_setup): Likewise.
18017         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18018         Likewise.
18019         (__vdso_clock_gettime): Likewise.
18020         (_libc_vdso_platform_setup): Likewise.
18021         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18022         Likewise.
18023         (__vdso_getcpu): Likewise.
18024         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18025         Use VDSO_SYMBOL macro to define.
18026         (__vdso_clock_gettime): Likewise.
18027         (__vdso_clock_getres): Likewise.
18028         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18029         Likewise.
18030         (__vdso_clock_gettime): Likewise.
18031         (__vdso_clock_getres): Likewise.
18032         (__vdso_get_tbfreq): Likewise.
18033         (__vdso_getcpu): Likewise.
18034         (__vdso_time): Likewise.
18035         (__vdso_sigtramp_rt64): Likewise.
18036         (__vdso_signtramp32): Likewise.
18037         (__vdso_sigtramp_rt32): Likewise.
18038         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18039         Likewise.
18040         (__vdso_clock_gettime): Likewise.
18041         (__vdso_clock_getres): Likewise.
18042         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18043         Likewise.
18044         (__vdso_clock_gettime): Likewise.
18045         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18046         Likewise.
18047         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18048         macro.
18049         (INTERNAL_VSYSCALL): Likewise.
18050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18051         Remove macro.
18052         (INTERNAL_VSYSCALL): Likewise.
18053         (INTERNAL_VSYSCALL_NCS): Likewise.
18054         (INTERNAL_VSYSCALL_CALL): New macro.
18055         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18057         Likewise.
18058         (INTERNAL_VSYSCALL): Likewise.
18059         (INTERNAL_VSYSCALL_NCS): Likewise.
18060         (INTERNAL_VSYSCALL_CALL): New macro.
18061         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18063         (INLINE_VSYSCALL): Remove macro.
18064         (INTERNAL_VSYSCALL): Remove macro.
18065         (INTERNAL_VSYSCALL_NCS): Remove macro.
18066         (INTERNAL_VSYSCALL_CALL): New macro.
18067         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18068         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18069         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18070         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18071         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18073         (INLINE_VSYSCALL): Remove macro.
18074         (INTERNAL_VSYSCALL): Likewise.
18075         (INTERNAL_VSYSCALL_NCS): Likewise.
18076         (INTERNAL_VSYSCALL_CALL): New macro.
18077         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18078         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18079         PTR_DEMANGLE on vDSO pointer.
18080         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18081         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18082         macro.
18083         (INTERNAL_SYSCALL): Likewise.
18084         (INTERNAL_VSYSCALL_NCS): Remove macro.
18085         (INTERNAL_VSYSCALL_CALL): New macro.
18086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18087         Remove macro.
18088         (INTERNAL_VSYSCALL): Likewise.
18089         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18090         sysdep-vdso.h instead of libc-vdso.h.
18091         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18092         definition.
18093         (INLINE_VSYSCALL): Likewise.
18094         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18095         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18096         definition.
18097         (INLINE_VSYSCALL): Likewise.
18098         (INTERNAL_VSYSCALL): Likewise.
18099         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18100         * sysdeps/unix/sysv/linux/timespec_get.c
18101         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18102         (timespec_get): Use ANSI prototype.
18103         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18104         and definition for Linux.
18106 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18108         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18109         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18111 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18113         [BZ #2981]
18114         [BZ #18410]
18115         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18116         for missing DT_PLTRELSZ.
18118 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18120         Remove obsolete aliases that broke 'locale -a'
18121         [BZ #18412]
18122         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18123         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18124         breaking some applications that use 'locale -a' output.
18125         Change the encoding of this file from Latin-1 to ASCII to avoid
18126         other potential problems with people grepping this file.
18128 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18130         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18131         -fasynchronous-unwind-tables.
18132         (CFLAGS-sendto.c): Likewise.
18133         (CFLAGS-sendmsg.c): Likewise.
18134         (CFLAGS-connect.c): Likewise.
18135         (CFLAGS-recvmsg.c): Likewise.
18136         (CFLAGS-recvfrom.c): Likewise.
18137         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18138         (SOCKETCALL): New macro: non-cancellable socketcall.
18139         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18140         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18141         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18142         * sysdeps/unix/sysv/linux/accept.c: New file.
18143         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18144         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18145         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18146         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18147         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18148         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18149         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18150         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18151         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18152         * sysdeps/unix/sysv/linux/send.c: Likewise.
18153         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18154         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18155         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18156         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18157         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18158         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18159         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18160         prototype.
18161         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18162         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18163         instead of __internal_xxx function.
18164         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18165         prototype.
18166         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18167         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18168         instead of __internal_xxx function.
18169         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18170         prototype.
18171         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18172         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18173         instead of __internal_xxx function.
18174         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18175         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18176         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18177         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18178         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18179         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18180         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18181         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18182         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18183         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18184         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18185         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18186         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18187         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18188         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18189         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18190         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18191         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18192         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18193         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18196         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18197         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18198         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18199         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18200         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18201         * sysdeps/unix/sysv/linux/send.S: Likewise.
18202         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18203         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18204         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18205         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18206         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18207         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18208         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18209         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18210         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18211         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18212         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18213         socketcall is implemented in GLIBC.
18215 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18217         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18218         (__fma): Ignore uninitialized warnings around packing.
18219         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18220         (__fmaf): Ignore uninitialized warnings around packing.
18221         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18222         (__fmal): Ignore uninitialized warnings around packing.
18224         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18225         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18227         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18229         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18230         switch statement into default case.
18231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18233         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18234         a conditional in forcing "inexact".
18235         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18236         Likewise.
18238 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18240         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18241         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18242         for each INTERNAL_SYSCALL use.
18244 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #438]
18247         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18248         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18249         variable.
18251         [BZ #18444]
18252         * string/basename.c (basename): Rename to __basename and define as
18253         weak alias of __basename.  Use libc_hidden_weak.
18254         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18255         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18256         __basename instead of basename.
18257         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18258         Remove variable.
18259         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18261 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18263         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18264         (_IO_JUMPS_FILE_plus): New.
18265         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18266         _IO_CAST_FIELD_ACCESS.
18267         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18268         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18269         * libio/freopen.c (freopen): Likewise.
18270         * libio/freopen64.c (freopen64): Likewise.
18271         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18272         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18273         * libio/iofwide.c (_IO_fwide): Likewise.
18274         * libio/memstream.c (open_memstream): Likewise.
18275         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18276         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18277         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18279 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18281         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18282         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18283         NADJ.
18284         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18285         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18286         NADJ.
18287         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18288         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18289         NADJ.
18291         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18292         (p == 4) case.
18294         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18295         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18296         Remove variable.
18297         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18298         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18299         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18301 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18303         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18304         Adjust jump table label generation macros.
18306 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18308         * stdio-common/vfprintf.c (vfprintf): Move local variables
18309         args_malloced, specs, specs_malloced, and the code after
18310         do_positional to the printf_positional function.
18311         (printf_positional): New function.
18313 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18315         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18316         function.
18317         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18318         STEP4_TABLE, process_arg): Move macro definitions
18319         out of the vfprintf function.  (Cosmetic change only.)
18321 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18323         * benchtests/Makefile (stdio-common-bench): Define.
18324         (benchset): Add stdio-common-bench.
18325         * sprintf-inputs: New file.
18326         * sprintf-source.c: New file.
18328 2015-05-21  Andreas Schwab  <schwab@suse.de>
18330         [BZ #13028]
18331         [BZ #17053]
18332         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18333         of struct __res_state.
18334         * resolv/res_send.c (__libc_res_nsend): Likewise.
18335         (get_nsaddr): New function.
18336         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18337         statp directly.
18339 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18341         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18342         -D_POSIX_C_SOURCE=199506L.
18344         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18346         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18347         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18348         Do not mention otherwise.
18349         [POSIX] (_XOPEN_VERSION): Do not expect.
18350         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18351         [POSIX] (_POSIX2_C_BIND): Likewise.
18352         [POSIX] (_POSIX2_VERSION): Likewise.
18353         [POSIX] (_XOPEN_XPG2): Likewise.
18354         [POSIX] (_XOPEN_XPG3): Likewise.
18355         [POSIX] (_XOPEN_XPG4): Likewise.
18356         [POSIX] (_XOPEN_UNIX): Likewise.
18357         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18358         [POSIX] (_POSIX_BARRIERS): Likewise.
18359         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18360         [POSIX] (_POSIX_CPUTIME): Likewise.
18361         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18362         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18363         [POSIX] (_POSIX_SHELL): Likewise.
18364         [POSIX] (_POSIX_SPAWN): Likewise.
18365         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18366         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18367         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18368         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18369         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18370         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18371         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18372         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18373         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18374         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18375         [POSIX] (_POSIX2_PBS): Likewise.
18376         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18377         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18378         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18379         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18380         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18381         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18382         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18383         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18384         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18385         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18386         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18387         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18388         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18389         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18390         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18391         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18392         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18393         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18394         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18395         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18396         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18397         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18398         [POSIX] (_SC_2_C_BIND): Likewise.
18399         [POSIX] (_SC_2_C_VERSION): Likewise.
18400         [POSIX] (_SC_2_PBS): Likewise.
18401         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18402         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18403         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18404         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18405         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18406         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18407         [POSIX] (_SC_BARRIERS): Likewise.
18408         [POSIX] (_SC_BASE): Likewise.
18409         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18410         [POSIX] (_SC_DEVICE_IO): Likewise.
18411         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18412         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18413         [POSIX] (_SC_FD_MGMT): Likewise.
18414         [POSIX] (_SC_FIFO): Likewise.
18415         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18416         [POSIX] (_SC_FILE_LOCKING): Likewise.
18417         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18418         [POSIX] (_SC_IOV_MAX): Likewise.
18419         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18420         [POSIX] (_SC_NETWORKING): Likewise.
18421         [POSIX] (_SC_PAGE_SIZE): Likewise.
18422         [POSIX] (_SC_PASS_MAX): Likewise.
18423         [POSIX] (_SC_PIPE): Likewise.
18424         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18425         [POSIX] (_SC_REGEXP): Likewise.
18426         [POSIX] (_SC_SHELL): Likewise.
18427         [POSIX] (_SC_SIGNALS): Likewise.
18428         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18429         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18430         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18431         [POSIX] (_SC_USER_GROUPS): Likewise.
18432         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18433         [POSIX] (_SC_STREAMS): Likewise.
18434         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18435         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18436         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18437         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18438         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18439         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18440         [POSIX] (_PC_FILESIZEBITS): Likewise.
18441         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18442         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18443         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18444         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18445         [POSIX] (uid_t): Likewise.
18446         [POSIX] (gid_t): Likewise.
18447         [POSIX] (off_t): Likewise.
18448         [POSIX] (pid_t): Likewise.
18449         [POSIX] (cuserid): Allow.
18450         (_SC_2_CHAR_TERM): Require constant.
18451         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18452         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18453         variable.
18455 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18457         * sysdeps/nacl/pthread-pids.h: New file.
18458         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18459         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18461         * nptl/pthread-pids.h: New file.
18462         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18463         * nptl/nptl-init.c: Include <pthread-pids.h>.
18464         (__pthread_initialize_minimal_internal):
18465         Call __pthread_initialize_pids instead of set_tid_address syscall.
18467         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18468         * sysdeps/posix/usleep.c: ... here.
18470 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18472         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18473         call_pselect6 object.
18474         [$(subdir) = io]: Remove call_sync_file_range object.
18475         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18476         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18477         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18478         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18480 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18482         * math/s_cproj.c: Add include "math_private.h".
18483         * math/s_cprojf.c: Likewise.
18484         * math/s_cprojl.c: Likewise.
18486 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18488         [BZ #18244]
18489         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18490         high mantissa bit when testing whether P is a NaN.
18491         * math/libm-test.inc (remainder_test_data): Add more tests.
18492         (remquo_test_data): Likewise.
18494         [BZ #18049]
18495         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18496         below -32, return the argument, with underflow if subnormal.
18497         * math/auto-libm-test-in: Add more tests of atanh.
18498         * math/auto-libm-test-out: Regenerated.
18500 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18502         [BZ #18434]
18503         * nptl/tst-sem15.c: New file.
18504         * nptl/Makefile (tests): Add it.
18505         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18506         s/<</>>/ to fix typo in EOVERFLOW check.
18507         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18509 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18511         * manual/strings.texi (envz_remove): Fix typo in safety
18512         annotations.
18514 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18515             Steve Ellcey  <sellcey@imgtec.com>
18517         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18518         in order to avoid strict alias warnings.
18519         (iruserok_af): Ditto for ra.
18521 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18523         [BZ #17581]
18524         * malloc/hooks.c
18525         (magicbyte): Convert to a function and avoid returning 0x01.
18526         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18527         (mem2chunk_check): Fix unsigned comparisons to zero.
18528         Hoist defs of sz and magic.
18530 2015-05-19  Richard Henderson  <rth@redhat.com>
18532         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18534         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18536 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18538         [BZ #16159]
18539         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18540         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18541         (reused_arena): Find a non-corrupt arena.
18542         (heap_trim): Pass arena to unlink.
18543         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18544         malloc_printerr.
18545         (top_check): Likewise.
18546         (free_check): Likewise.
18547         (realloc_check): Likewise.
18548         * malloc/malloc.c (malloc_printerr): Add arena argument.
18549         (unlink): Likewise.
18550         (munmap_chunk): Adjust.
18551         (ARENA_CORRUPTION_BIT): New macro.
18552         (arena_is_corrupt): Likewise.
18553         (set_arena_corrupt): Likewise.
18554         (sysmalloc): Use mmap if there are no usable arenas.
18555         (_int_malloc): Likewise.
18556         (__libc_malloc): Don't fail if arena_get returns NULL.
18557         (_mid_memalign): Likewise.
18558         (__libc_calloc): Likewise.
18559         (__libc_realloc): Adjust for additional argument to
18560         malloc_printerr.
18561         (_int_free): Likewise.
18562         (malloc_consolidate): Likewise.
18563         (_int_realloc): Likewise.
18564         (_int_memalign): Don't touch corrupt arenas.
18565         * malloc/tst-malloc-backtrace.c: New test case.
18567         * Makefile (summarize-tests): Fix return value on success.
18569         * manual/string.texi (Envz Functions): Add envz_remove.
18571 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18573         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18574         (invalid_name): New function, broken out of ...
18575         (__opendirat): ... here.  Call it.
18576         (need_isdir_precheck): New function, broken out of ...
18577         (__opendirat): ... here.  Call it.
18578         Use __fxstatat64, not __xstatat64.
18579         (opendir_oflags): New function, broken out of ...
18580         (__opendirat): ... here.  Call it.
18581         (opendir_tail): New function, broken out of ...
18582         (__opendirat): ... here.  Call it.
18583         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18584         opendir_tail, rather than punting to __opendirat.
18585         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18587 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18589         * .gitignore: Ignore generated *.pyc.
18591 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18593         * include/stdio.h: Define __need_wint_t.
18594         * test-skeleton.c: Avoid `for' loop initial declaration.
18595         * nptl/tst-initializers1.c: Use test-skeleton.c.
18597 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18599         [BZ #18418]
18600         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18602 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18604         [BZ #16352]
18605         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18606         (__ieee754_atanh): Force underflow exception for results with
18607         small absolute value.
18608         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18609         (__ieee754_atanhf): Force underflow exception for results with
18610         small absolute value.
18611         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18612         (__ieee754_atanh): Force underflow exception for results with
18613         small absolute value.
18614         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18615         (__ieee754_atanhf): Force underflow exception for results with
18616         small absolute value.
18617         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18618         (__ieee754_atanhl): Force underflow exception for results with
18619         small absolute value.
18620         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18621         (__ieee754_atanhl): Force underflow exception for results with
18622         small absolute value.
18623         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18624         (__ieee754_atanhl): Force underflow exception for results with
18625         small absolute value.
18626         * math/auto-libm-test-in: Do not allow missing underflow
18627         exceptions from atanh.
18628         * math/auto-libm-test-out: Regenerated.
18630         [BZ #18221]
18631         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18632         2**-28 as threshold for returning x or +/- 1/x.
18633         * math/auto-libm-test-in: Add more tests of tan.
18634         * math/auto-libm-test-out: Regenerated.
18636         [BZ #18220]
18637         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18638         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18639         * math/auto-libm-test-in: Add another test of lgamma.
18640         * math/auto-libm-test-out: Regenerated.
18642 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18644         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18645         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18646         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18647         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18648         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18649         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18650         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18653         (log1): Use fabs.  (my_log2): Use fabs.
18654         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18655         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18656         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18657         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18658         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18659         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18660         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18661         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18662         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18663         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18664         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18666 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18668         [BZ #18217]
18669         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18670         as threshold for returning 1 - x.
18671         * math/auto-libm-test-in: Add more tests of erfc.
18672         * math/auto-libm-test-out: Regenerated.
18674 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18676         [BZ #18196]
18677         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18678         threshold for large arguments.
18679         * math/auto-libm-test-in: Add another test of atan.
18680         * math/auto-libm-test-out: Regenerated.
18682         [BZ #16339]
18683         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18684         (__log1p): Force underflow exception for results with small
18685         absolute value.
18686         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18687         (__log1pf): Force underflow exception for results with small
18688         absolute value.
18689         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18690         (__log1p): Force underflow exception for results with small
18691         absolute value.
18692         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18693         (__log1pf): Force underflow exception for results with small
18694         absolute value.
18695         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18696         (__log1pl): Force underflow exception for results with small
18697         absolute value.
18698         * math/auto-libm-test-in: Do not allow missing underflow
18699         exceptions from log1p.
18700         * math/auto-libm-test-out: Regenerated.
18702 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18703             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18705         [BZ #16704]
18706         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18708 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18710         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18711         (libmvec): New variable.
18712         * configure.ac: Added option for mathvec build.
18713         * configure: Regenerated.
18714         * mathvec/Depend: New file.
18715         * mathvec/Makefile: New file.
18716         * shlib-versions: Added libmvec.
18717         * math/Makefile: Added rule for libm.so installation.
18719         * bits/math-vector.h: New file.
18720         * bits/libm-simd-decl-stubs.h: New header.
18721         * math/Makefile (headers): Added new header
18722         libm-simd-decl-stubs.h.
18723         * math/math.h (__MATHCALL_VEC): New macro.
18725         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18726         for conditions in testing functions.
18727         * math/Makefile: Added call of libm-have-vector-test.sh.
18728         * math/libm-test.inc (HAVE_VECTOR): New macros.
18730         * math/libm-test.inc: START refactored.
18731         * math/test-double.c (TEST_MATHVEC): Add define.
18732         * math/test-float.c: Likewise.
18733         * math/test-idouble.c: Likewise.
18734         * math/test-ifloat.c: Likewise.
18735         * math/test-ildoubl.c: Likewise.
18736         * math/test-ldouble.c: Likewise.
18737         * sysdeps/generic/math-tests-arch.h
18738         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18739         architecture check.
18741         * math/test-double.c (FUNC_TEST): New macro.
18742         * math/test-float.c: Likewise.
18743         * math/test-idouble.c: Likewise.
18744         * math/test-ifloat.c: Likewise.
18745         * math/test-ildoubl.c: Likewise.
18746         * math/test-ldouble.c: Likewise.
18747         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18749 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18751         * sysdeps/nacl/fdopendir.c: New file.
18753         * dirent/scandir-tail.c: New file.
18754         * dirent/scandir64-tail.c: New file.
18755         * dirent/Makefile (routines): Add them.
18756         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18757         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18758         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18759         [!SCANDIR] (SCANDIR_TAIL): New macro.
18760         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18761         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18762         (SCANDIRAT): Macro removed.
18763         (SCANDIR_TAIL): New macro.
18764         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18765         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18766         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18767         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18768         (READDIR): Macro removed.
18769         (SCANDIR_TAIL): New macro.
18770         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18771         (SCANDIR_TAIL): New macro.
18773         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18774         * dirent/scandir-cancel.c: ... to this new file.
18775         * dirent/Makefile (routines): Add it.
18776         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18777         * sysdeps/unix/sysv/linux/i386/scandir64.c
18778         (SKIP_SCANDIR_CANCEL): Macro removed.
18779         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18781         * dirent/tst-scandir.c: New file.
18782         * dirent/tst-scandir64.c: New file.
18783         * dirent/Makefile (tests): Add them.
18785 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18787         [BZ #18409]
18788         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18790 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18792         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18793         list.
18795 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18797         * benchtests/bench-strcoll.c: New benchmark.
18798         * benchtests/Makefile: Generate locales and run benchmark.
18799         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18800         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18801         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18802         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18803         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18804         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18805         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18806         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18807         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18808         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18809         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18810         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18811         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18812         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18813         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18814         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18815         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18816         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18817         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18818         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18819         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18820         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18821         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18822         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18824 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18826         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18827         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18829 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18831         * posix/uname-values.h: New file.
18832         * posix/uname.c: Include that instead of <config-name.h>.
18833         * sysdeps/nacl/uname-values.h: New file.
18834         * sysdeps/arm/nacl/uname-values.h: New file.
18836 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18838         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18839         splitting into fields.
18841 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18843         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18844         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18845         * locale/localeinfo.h: Add enum collation_encoding_type.
18846         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18847         * programs/ld-collate.c (collate_output): Add encoding type info.
18848         * string/strcoll_l.c (STRDIFF): New function.
18849         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18850         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18852 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18854         [BZ #18397]
18855         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18856         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18857         <fpu_control.h> instead of <math/fpu_control.c>.
18858         * sysdeps/mips/mips32/fpu/Makefile: New file.
18860 2015-05-11  Andreas Schwab  <schwab@suse.de>
18862         [BZ #18007]
18863         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18864         nss_endgrent.
18865         (_nss_compat_endgrent): Call nss_endgrent.
18866         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18867         nss_endpwent.
18868         (_nss_compat_endpwent): Call nss_endpwent.
18869         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18870         needent, call nss_setspent only if non-zero.
18871         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18872         (internal_endspent): Don't call nss_endspent.
18873         (_nss_compat_endspent): Call nss_endspent.
18874         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18875         Remove.  All uses removed.
18876         (internal_setent): Remove parameter stayopen, add parameter
18877         stream.  Use it instead of global variable.
18878         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18879         (internal_endent, internal_getent): Add parameter stream.  Use it
18880         instead of global variable.
18881         (CONCAT(_nss_files_end,ENTNAME))
18882         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18883         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18884         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18885         uses removed.
18886         (internal_setent, internal_endent): Add parameter stream.  Use it
18887         instead of global variable.
18888         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18889         stream.
18890         (get_next_alias): Add parameter stream.
18891         (_nss_files_getaliasent_r): Pass global stream.
18892         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18893         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18894         (_nss_files_gethostbyname4_r): Pass local stream to
18895         internal_setent, internal_getent and internal_endent.  Remove
18896         locking.
18898 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18900         * tst-strfmon1.c (tests): Update expected currency symbol.
18902 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18904         * sysdeps/nacl/gethostname.c: New file.
18906 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18908         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18909         and sinh.
18910         * math/auto-libm-test-out: Regenerated.
18911         * sysdeps/i386/fpu/libm-test-ulps: Update.
18912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18914 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18916         [BZ #18125]
18917         * stdlib/tst-setcontext3.c: New file.
18918         * stdlib/tst-setcontext3.sh: New file.
18919         * stdlib/Makefile (tests): Add tst-setcontext3.
18920         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18921         to verify test program created output file.
18922         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18923         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18924         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18925         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18927 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18929         [BZ #18383]
18930         * elf/tst-tlsalign.c: New file.
18931         * elf/tst-tlsalign-static.c: New file.
18932         * elf/tst-tlsalign-lib.c: New file.
18933         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18934         (tests-static): Add tst-tlsalign-static.
18935         (modules-names): Add tst-tlsalign-lib.
18936         (test-xfail-tst-tlsalign): New variable.
18937         (test-xfail-tst-tlsalign-static): New variable.
18939         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18940         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18942 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18944         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18945         csqrt, erfc, sin and sincos.
18946         * math/auto-libm-test-out: Regenerated.
18947         * sysdeps/i386/fpu/libm-test-ulps: Update.
18948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18952         * sysdeps/aarch64/libm-test-ulps: Update.
18954 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18956         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18957         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18958         * math/auto-libm-test-out: Regenerated.
18959         * sysdeps/i386/fpu/libm-test-ulps: Update.
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18964         [BZ #18265]
18965         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18966         (wcsncpy): Likewise.
18968 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18970         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18971         Assume __ASSUME_FALLOCATE is always true.
18972         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18973         (__posix_fallocate64_l64): Likweise.
18974         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18975         (posix_fallocate): Likewise.
18976         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18977         (__posix_fallocate64_l64): Likewise.
18978         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18979         [!__ASSUME_FALLOCATE]: Add comment.
18981 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18983         * sysdeps/unix/sysv/linux/i386/Makefile
18984         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18985         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18986         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18987         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18988         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18989         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18990         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18992 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18994         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18995         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18996         tgamma.
18997         * math/auto-libm-test-out: Regenerated.
18998         * sysdeps/i386/fpu/libm-test-ulps: Update.
18999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19001 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19003         * math/auto-libm-test-in: Add more tests of tgamma.
19004         * math/auto-libm-test-out: Regenerated.
19005         * sysdeps/i386/fpu/libm-test-ulps: Update.
19006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19008         * math/auto-libm-test-in: Add more tests of tanh.
19009         * math/auto-libm-test-out: Regenerated.
19010         * sysdeps/i386/fpu/libm-test-ulps: Update.
19011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19013         * math/auto-libm-test-in: Add more tests of tan.
19014         * math/auto-libm-test-out: Regenerated.
19015         * sysdeps/i386/fpu/libm-test-ulps: Update.
19016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19018         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19019         * math/auto-libm-test-out: Regenerated.
19020         * sysdeps/i386/fpu/libm-test-ulps: Update.
19021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19023         * math/auto-libm-test-in: Add another test of pow.
19024         * math/auto-libm-test-out: Regenerated.
19025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19027         * math/auto-libm-test-in: Add more tests of lgamma.
19028         * math/auto-libm-test-out: Regenerated.
19029         * sysdeps/i386/fpu/libm-test-ulps: Update.
19030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19032         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19033         log1p.
19034         * math/auto-libm-test-out: Regenerated.
19035         * sysdeps/i386/fpu/libm-test-ulps: Update.
19036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19038 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19040         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19041         Elf64_Chdr structs and ELFCOMPRESS constants.
19043 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19045         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19046         expm1.
19047         * math/auto-libm-test-out: Regenerated.
19048         * sysdeps/i386/fpu/libm-test-ulps: Update.
19049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19051         * math/auto-libm-test-in: Add more tests of erf and erfc.
19052         * math/auto-libm-test-out: Regenerated.
19053         * sysdeps/i386/fpu/libm-test-ulps: Update.
19054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19056 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19058         * config.h.in (HAVE_AARCH64_BE): Add.
19060 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19062         * math/auto-libm-test-in: Add more tests of csqrt.
19063         * math/auto-libm-test-out: Regenerated.
19064         * sysdeps/i386/fpu/libm-test-ulps: Update.
19065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19068         * math/auto-libm-test-out: Regenerated.
19069         * sysdeps/i386/fpu/libm-test-ulps: Update.
19070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19072         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19074 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19076         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19077         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19079         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19080         (euidaccess, eaccess): Define as weak aliases.
19082         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19083         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19084         but __suseconds_t is often 'long int' so some sources assume that
19085         type is being used (e.g. they use %ld to print tv_usec).
19087 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19089         [BZ #18007]
19090         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19091         (CVE-2014-8121)
19092         * nss/tst-nss-getpwent.c: New file.
19093         * nss/Makefile (tests): Add new test.
19095 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19097         [BZ #18346]
19098         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19099         exponents less than 48 as cases where high part of mantissa needs
19100         examining to determine whether argument is integral.
19101         * math/libm-test.inc (round_test_data): Add more tests.
19103 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19105         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19107 2015-04-27  David S. Miller  <davem@davemloft.net>
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19110         __tls_get_addr.
19111         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19113 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19115         [BZ#18333]
19116         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19118 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19120         [BZ#18333]
19121         * time/tzset.c (parse_tzname): Return error on memory allocation
19122         failure.
19123         * test-skeleton.c (struct temp_name_list): Change type of name
19124         member to non-const.
19125         (add_temp_file): Create a copy of the file name.
19126         (delete_temp_files): Deallocate memory.
19127         (create_temp_file): Add comment.
19129 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19131         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19132         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19134 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19136         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19137         * sysdeps/arm/configure: Regenerated.
19139 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19141         [BZ #17715]
19142         * time/tzfile.c (__tzfile_read): Check for large values of
19143         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19144         * time/tzset.c (__tzstring_len): New function, based on the old
19145         __tzstring function.
19146         (__tzstring): Call __tzstring_len.
19147         (parse_tzname): New helper function extracted from
19148         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19149         the input string.
19150         (parse_offset): New helper function extracted from
19151         __tzset_parse_tz.  Replace switch with fallthrough with
19152         initialization before sscanf.
19153         (parse_rule): Likewise.
19154         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19155         new-style function definition.
19156         * timezone/Makefile (tests): Add tst-tzset.
19157         (tst-tzset.out): Dependencies on time zone files.
19158         (tst-tzset-ENV): Set TZDIR.
19159         (testdata/XT%): Copy crafted time zone files.
19160         * timezone/README: Mention crafted time zone files.
19161         * timezone/testdata/XT1, timezone/testdata/XT2,
19162         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19163         files.
19164         * timezone/tst-tzset.c: New test.
19166 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19168         * Makeconfig (+gccwarn): Remove -Winline.
19170 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19172         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19174 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19176         * NEWS: Mention sysconf() cache information support for s390.
19177         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19179 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19181         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19182         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19183         (__nearbyint): Likewise.
19184         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19185         (copysignl): Likewise.
19187 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19189         [BZ #18287]
19190         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19191         based on padding.  (CVE-2015-1781)
19193 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19195         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19196         libc-vdso.h.
19197         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19198         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19199         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19200         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19201         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19202         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19203         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19204         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19205         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19206         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19207         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19208         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19209         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19210         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19211         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19212         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19213         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19215         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19216         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19217         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19218         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19219         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19221 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19223         * stdlib/setenv.c (__add_to_environ):
19224         Dump core quickly if setenv (..., NULL, ...) is called.
19225         This time, do it the right way, and pacify GCC with a pragma.
19227 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19229         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19230         IMAP->l_prev cannot be null, and #if out the code for the contrary
19231         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19232         believe that NS (&_dl_ns[NSID]) could point outside the array.
19234         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19235         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19236         before using NSID as an index.
19238 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19240         [BZ #17825]
19241         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19242         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19243         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19245 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19247         Add preliminary port to Google Native Client on ARM.
19248         * abi-tags (.*-.*-nacl.*): New entry.
19249         * sysdeps/arm/nacl: New directory.
19250         * sysdeps/nacl: New directory.
19252 2015-04-16  David S. Miller  <davem@davemloft.net>
19254         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19255         lowlevellock-futex.h
19257 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19259         * sysdeps/tile/configure.ac: New file.
19260         * sysdeps/tile/configure: Regenerated.
19262 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19264         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19265         conditionals for weak_alias and libc_hidden_weak.
19266         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19267         libc_hidden_weak and weak_alias.
19268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19269         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19270         and weak_alias for static one.
19272 2015-04-15  David S. Miller  <davem@davemloft.net>
19274         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19276 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19278         [BZ #18206]
19279         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19280           Use signed comparision instead of substraction to avoid
19281           overflow bug.
19282         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19283           Take the sign of ret.
19284         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19285           Do not expect precise return values. Only the sign matters.
19286         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19287         * wcsmbs/test-wcsncmp.c: New File.
19288         * string/test-strncmp.c: Add wcsncmp support.
19290 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19292         [BZ #6792]
19293         * math/w_log1p.c: New file.
19294         * math/w_log1pf.c: Likewise.
19295         * math/w_log1pl.c: Likewise.
19296         * math/Makefile (libm-calls): Add w_log1p.
19297         * math/s_log1pl.c (log1pl): Remove weak_alias.
19298         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19299         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19300         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19301         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19302         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19303         [NO_LONG_DOUBLE] (log1pl): Likewise.
19304         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19306         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19307         (log1p): Remove long_double_symbol.
19308         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19309         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19310         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19311         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19312         remove weak_alias for corresponding log1p function.
19313         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19314         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19315         * sysdeps/ia64/fpu/w_log1p.c: New file.
19316         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19317         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19318         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19320 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #18247]
19323         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19324         decimal exponent by 1.
19325         * stdlib/tst-strtod-round-data: Add more tests.
19326         * stdlib/tst-strtod-round.c (tests): Regenerated.
19328 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19330         * math/auto-libm-test-in: Add more tests of clog and clog10.
19331         * math/auto-libm-test-out: Regenerated.
19332         * sysdeps/i386/fpu/libm-test-ulps: Update.
19333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19335 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19337         * Makeconfig (module-cppflags): Exclude all .v.i files.
19338         (skip-module-cppflags): Variable removed.
19340         * configure.ac (libc_config_ok): Initialize before reading
19341         preconfigure scripts, not after.
19342         * configure: Regenerated.
19344         * test-skeleton.c (TIMEOUT): Move #define to top level.
19345         (main): Grok environment variable TEST_DIRECT.  If set, print
19346         test expectation details into that file and then behave as if
19347         given --direct.
19349 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19351         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19352         warning on 32-bit.
19354 2015-04-08  David S. Miller  <davem@davemloft.net>
19356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19358 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19360         * math/auto-libm-test-in: Add more tests of atanh.
19361         * math/auto-libm-test-out: Regenerated.
19362         * sysdeps/i386/fpu/libm-test-ulps: Update.
19363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19365         * math/auto-libm-test-in: Add more tests of atan.
19366         * math/auto-libm-test-out: Regenerated.
19367         * sysdeps/i386/fpu/libm-test-ulps: Update.
19368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19372         * elf/pldd.c (main): Rewrite to use struct
19373         scratch_buffer instead of extend_alloca.
19374         * elf/pldd-xx.c (find_maps): Likewise.
19375         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19376         <alloca.h>.
19377         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19378         scratch_buffer instead of extend_alloca.
19379         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19380         grp/compat-initgroups.c.
19381         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19382         Rewrite to use struct scratch_buffer instead of extend_alloca.
19383         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19384         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19386 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19388         * math/auto-libm-test-in: Add more tests of cbrt.
19389         * math/auto-libm-test-out: Regenerated.
19390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19392         * math/auto-libm-test-in: Add more tests of cabs.
19393         * math/auto-libm-test-out: Regenerated.
19394         * sysdeps/i386/fpu/libm-test-ulps: Update.
19395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19397         [BZ #18210]
19398         [BZ #18211]
19399         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19400         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19401         computations.
19402         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19403         clog10.
19404         * math/auto-libm-test-out: Regenerated.
19405         * sysdeps/i386/fpu/libm-test-ulps: Update.
19406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19408         [BZ #18197]
19409         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19410         (atan): Set FE_TONEAREST mode for internal computations.
19411         * math/auto-libm-test-in: Add more tests of atan.
19412         * math/auto-libm-test-out: Regenerated.
19414 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19416         [BZ #17930]
19417         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19419 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19421         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19423 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19425         * include/scratch_buffer.h: New file.
19426         * malloc/scratch_buffer_grow.c: Likewise.
19427         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19428         * malloc/scratch_buffer_set_array_size.c: Likewise.
19429         * malloc/tst-scratch_buffer.c: Likewise.
19430         * malloc/Makefile (routines): Add scratch_buffer_grow.
19431         (tests): Add test case.
19432         * malloc/Versions (GLIBC_PRIVATE): Export
19433         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19434         __libc_scratch_buffer_set_array_size.
19436 2015-04-06  Richard Henderson  <rth@redhat.com>
19438         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19439         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19441         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19442         unsigned int before printing.
19444 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19446         [BZ #17596]
19447         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19448         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19450 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19452         * include/libc-internal.h (libc_max_align_t): Define.
19454 2015-04-02  Andreas Schwab  <schwab@suse.de>
19456         [BZ #16850]
19457         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19459 2015-04-02  Mel Gorman  <mgorman@suse.de>
19461         [BZ #17195]
19462         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19463         as well as the main arena.
19465 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19467         [BZ #18185]
19468         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19469         sharing L2 cache to 2 for Silvermont/Knights Landing.
19471 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19473         [BZ #17711]
19474         * config.make.in (have-protected-data): New.
19475         * configure.ac: Check linker support for protected data symbol.
19476         * configure: Regenerated.
19477         * elf/Makefile (modules-names): Add tst-protected1moda and
19478         tst-protected1modb if $(have-protected-data) is yes.
19479         (tests): Add tst-protected1a and tst-protected1b if
19480         $(have-protected-data) is yes.
19481         ($(objpfx)tst-protected1a): New.
19482         ($(objpfx)tst-protected1b): Likewise.
19483         (tst-protected1modb.so-no-z-defs): Likewise.
19484         * elf/tst-protected1a.c: New file.
19485         * elf/tst-protected1b.c: Likewise.
19486         * elf/tst-protected1mod.h: Likewise.
19487         * elf/tst-protected1moda.c: Likewise.
19488         * elf/tst-protected1modb.c: Likewise.
19490 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19492         [BZ #17711]
19493         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19494         indicates it is called from do_lookup_x on relocation against
19495         protected data, skip the data definion in the executable from
19496         copy reloc.
19497         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19498         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19499         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19500         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19501         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19502         otherwise to 0.
19503         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19504         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19505         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19506         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19507         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19508         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19510 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19512         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19513         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19515 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19517         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19518         THREAD_SETMEM_NC.
19519         * sysdeps/x86_64/nptl/tls.h: Ditto.
19521 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19523         * dlfcn/tststatic.c (main): Converted to ...
19524         (do_test): ... this.
19525         (TEST_FUNCTION): New macro.
19526         Include test-skeleton.c.
19528 2015-03-26  Alan Modra  <amodra@gmail.com>
19530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19531         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19532         zero for undefined weak.
19533         (elf_machine_plt_conflict): Similarly.
19535 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19537         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19538         atanh.
19539         * math/auto-libm-test-out: Regenerated.
19540         * sysdeps/i386/fpu/libm-test-ulps: Update.
19541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19543         * math/auto-libm-test-in: Add another test of asin.
19544         * math/auto-libm-test-out: Regenerated.
19545         * sysdeps/i386/fpu/libm-test-ulps: Update.
19546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19549         Remove macro.
19550         (LLL_EBX_REG): Likewise.
19551         (LLL_ENTER_KERNEL): Likewise.
19553         * math/auto-libm-test-in: Add more tests of asin.
19554         * math/auto-libm-test-out: Regenerated.
19555         * sysdeps/i386/fpu/libm-test-ulps: Update.
19556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558         [BZ #18138]
19559         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19560         libc_do_syscall_args): New structure.
19561         (INTERNAL_SYSCALL_MAIN_0): New macro.
19562         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19563         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19564         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19565         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19566         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19567         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19568         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19569         Replace conditional definitions by conditional definitions of ....
19570         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19571         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19572         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19573         (libpthread-sysdep_routines): Add libc-do-syscall.
19574         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19575         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19576         to __NR_futex not 240.
19578 2015-03-25  Alan Modra  <amodra@gmail.com>
19580         * NEWS: Advertise TLS optimization.
19581         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19582         (DT_PPC_NUM): Increment.
19583         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19584         (CHECK_STATIC_TLS): Use here.
19585         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19586         TLS descriptors.
19587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19588         * sysdeps/powerpc/dl-tls.c: New file.
19589         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19590         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19591         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19592         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19597 2015-03-25  Alan Modra  <amodra@gmail.com>
19599         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19600         for overlapping .opd entries" to "support...".
19601         * sysdeps/powerpc/powerpc64/configure: Regenerate
19603 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19605         * math/auto-libm-test-in: Add more tests of acos.
19606         * math/auto-libm-test-out: Regenerated.
19607         * sysdeps/i386/fpu/libm-test-ulps: Update.
19608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19610         * math/auto-libm-test-in: Add more tests of expm1.
19611         * math/auto-libm-test-out: Regenerated.
19612         * sysdeps/i386/fpu/libm-test-ulps: Update.
19613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19615 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19617         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19618         * math/auto-libm-test-out: Regenerated.
19619         * sysdeps/i386/fpu/libm-test-ulps: Update.
19620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19622         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19625         * math/auto-libm-test-in: Add more tests of log2.
19626         * math/auto-libm-test-out: Regenerated.
19627         * sysdeps/i386/fpu/libm-test-ulps: Update.
19628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19630 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19632         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19633         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19634         _IO_IS_APPENDING bit in READ_WRITE instead.
19636 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19638         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19639         (__determine_cpumask_size): Replace extend_alloca with a
19640         variable-length array.  Do not treat res == 0 as an error.
19642 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19644         [BZ #18100]
19645         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19646         and integer overflow.
19647         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19648         (main): Add integer overflow tests.
19649         * manual/pattern.texi (Calling Wordexp): Document additional use
19650         for WRDE_SYNTAX.
19652 2015-03-23  Alan Modra  <amodra@gmail.com>
19654         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19655         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19656         and false branch of conditional.
19657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19658         Likewise.
19660 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19662         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19663         libc-modules.h
19664         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19665         unused declaration of _hurd_intr_rpc_msg_in_trap.
19666         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19667         defined instead of whether it is non-zero.
19668         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19669         input constraint instead of both input and output constraint.  Use ecx
19670         clobber instead of %ecx.
19671         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19672         mutex_unlock): Use a statement expression instead of an expression list.
19673         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19674         type to vm_size_t instead of vm_address_t.
19675         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19676         defined instead of whether it is non-zero.
19677         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19678         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19679         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19680         comparisons with mapaddr.
19681         * nscd/nscd-client.h: Include <time.h>.
19682         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19683         9th parameter to __vm_region instead of int.
19684         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19685         * scripts/check-local-headers.sh (exclude): Add device/,
19686         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19687         cthreads.h.
19689 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19691         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19692         to account for alignment padding.
19693         * sysdeps/arm/memmove.S: Likewise.
19695 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19697         * sysdeps/unix/sysv/linux/generic/README: New file.
19699 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19701         [BZ #18138]
19702         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19703         (futex_abstimed_wait)
19704         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19705         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19706         of lll_futex_timed_wait.
19708 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19710         [BZ #17542]
19711         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19713 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19715         [BZ #17090]
19716         [BZ #17620]
19717         [BZ #17621]
19718         [BZ #17628]
19719         * NEWS: Update.
19720         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19721         entries with Static TLS too.  Skip entries past the end of the
19722         allocated DTV, from Alan Modra.
19723         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19724         Static TLS DTV entry set up from...
19725         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19726         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19727         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19728         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19729         for Static TLS.
19730         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19731         that the slot we find is associated with the given map before
19732         using its generation count.
19733         * nptl_db/db_info.c: Include ldsodefs.h.
19734         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19735         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19736         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19737         (link_map::l_tls_offset): New struct field.
19738         (dtv_t::counter): Likewise.
19739         (rtld_global): New struct.
19740         (_rtld_global): New rtld variable.
19741         (dl_tls_dtv_slotinfo_list): New rtld global field.
19742         (dtv_slotinfo_list): New struct.
19743         (dtv_slotinfo): Likewise.
19744         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19745         (td_lookup): Rename to...
19746         (td_mod_lookup): ... this.  Use new mod parameter instead of
19747         LIBPTHREAD_SO.
19748         * nptl_db/td_thr_tlsbase.c: Include link.h.
19749         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19750         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19751         addresses even if the DTV is out of date or missing them.
19752         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19753         index zero-length arrays.
19754         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19755         (td_lookup): Make it a macro implemented in terms of...
19756         (td_mod_lookup): ... this declaration.
19757         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19758         (DB_MAIN_VARIABLE): Likewise.
19760 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19762         [BZ #18134]
19763         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19765 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19767         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19769 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19771         [BZ #18128]
19772         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19773         (atomic_add, atomic_increment_and_test)
19774         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19776 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19778         * stdlib/setenv.c (__add_to_environ):
19779         Dump core quickly if setenv (..., NULL, ...) is called.
19781 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19783         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19784         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19785         all the necessary asm magic in one place.
19786         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19787         using those.
19789 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19791         [BZ #14906]
19792         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19793         traced file mtime. Use consistent log message.
19794         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19795         (register_traced_file): Call install_watches. Always set mtime.
19796         (invalidate_cache): Iterate over all trace files. Call install_watches.
19797         (inotify_check_files): Don't inline. Handle watching parent
19798         directories and configuration file movement in and out.
19799         (handle_inotify_events): New function.
19800         (main_loop_poll): Call handle_inotify_events.
19801         (main_loop_epoll): Likewise.
19802         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19803         (struct traced_file): Use array of inotify fds. Add parent directory,
19804         and basename.
19805         (struct database_dyn): Remove unused file_mtime.
19806         (init_traced_file): New inline function.
19807         (define_traced_file): New macro.
19808         * nss/nss_db/db-init.c: Use define_traced_file.
19809         (_nss_db_init): Use init_traced_file.
19810         * nss/nss_files/files-init.c: Use define_traced_file.
19811         (_nss_files_init): Use init_traced_file.
19813 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19815         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19816         [_LIBC]: Do not include <stdlib.h>.
19817         [!_LIBC] (abort): Remove declaration.
19818         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19819         _FP_STATIC_ASSERT instead of conditionally calling abort.
19820         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19821         (_FP_EXTEND_CNAN): Likewise.
19822         (FP_TRUNC): Likewise.
19823         (__FP_CLZ): Likewise.
19824         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19826 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19828         * manual/string.texi (XPG basename): Fix prototype.
19830 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19832         [BZ #18080]
19833         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19834         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19835         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19836         (__setcontext): Likewise.
19837         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19838         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19839         Call rt_sigprocmask syscall one time to set new signal mask
19840         and retrieve the current signal mask instead of two calls.
19841         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19842         (__swapcontext): Likewise.
19843         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19844         * stdlib/tst-setcontext2.c: New file.
19846 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19848         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19850 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19852         [BZ #18093]
19853         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19854         the wrong size.
19856 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19858         [BZ #18043]
19859         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19861 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19863         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19864         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19865         Remove define.
19866         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19867         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19868         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19869         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19870         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19871         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19872         define.
19873         * nptl_db/td_symbol_list.c (td_lookup): Remove
19874         HAVE_ASM_GLOBAL_DOT_NAME code.
19875         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19876         HAVE_ASM_GLOBAL_DOT_NAME check.
19877         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19878         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19879         (DOT_LABEL): Remove define.
19880         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19881         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19882         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19883         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19884         (__TLS_GET_ADDR): Likewise.
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19886         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19888 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19890         [BZ #18111]
19891         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19892         (_FPU_SETCW): Initialize cw from fpsr before storing.
19893         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19894         (fesetexceptflag): Rewrite using fpu_control.h.
19895         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19897 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19899         [BZ #18110]
19900         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19901         asms.
19902         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19904 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19906         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19907         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19908         abort.
19909         (_FP_FMA): Likewise.
19910         (_FP_DIV): Likewise.
19912 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19914         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19915         with 0 in that case.
19916         * Makefile (summarize-tests): New canned sequence, factored out of
19917         commands for targets tests and xtests.  Display summary lines that
19918         don't start with PASS: or XFAIL: rather than ones that do start with
19919         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19920         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19921         do start with ERROR: or FAIL:.
19922         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19923         (except for [$(build-shared) = yes]).
19924         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19925         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19926         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19927         * nptl/Makefile: Revert 2015-03-04 changes.
19928         [$(CXX) empty] (tests-unsupported): New variable.
19929         * debug/Makefile: Likewise.
19931         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19932         gnulib file.  Replace __attribute with __attribute__ throughout.
19934 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19936         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19938 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19940         [BZ #18104]
19941         * math/auto-libm-test-in: Add another test of pow.
19942         * math/auto-libm-test-out: Regenerated.
19944 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19946         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19947         $(config-cflags-nofma).
19949 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19951         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19952         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19953         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19954         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19955         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19956         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19957         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19958         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19959         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19960         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19961         Add comment on closing #endif.
19963 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19965         * posix/wordexp.c (CHAR_IN_SET): New macro.
19966         (parse_param): Use it.
19968 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19970         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19972 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19974         [BZ #18043]
19975         * posix/wordexp.c (parse_param): Fix buffer overflow.
19976         * posix/wordexp-test.c (test_case): Add test case.
19978 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19980         [BZ #18042]
19981         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19982         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19984 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19986         [BZ #18043]
19987         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19988         (do_bz18043): Delete.
19989         (at_page_end): New.
19990         (testit): Refactor to have words at the edge of unreadable page.
19992 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19994         [BZ #16734]
19995         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19996         Cleanup read-only streams as well.
19997         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19999 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20001         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20002         <bits/libc-lockP.h>
20004 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20006         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20007         on [__KERNEL__].
20008         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20009         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20010         * soft-fp/op-common.h (_FP_DECL): Likewise.
20012 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20014         * elf/ifuncdep2.c (global): Replace
20015         __attribute__((visibility("protected"))) with
20016         asm (".protected global").
20017         * elf/ifuncmod1.c (global): Likewise.
20018         * elf/ifuncmod5.c (global): Likewise.
20020 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20022         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20023         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20025 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20027         * manual/install.texi (Configuring and compiling):
20028         Document test-wrapper-env-only.
20029         * INSTALL: Regenerated.
20031 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20033         [BZ #18043]
20034         * posix/wordexp.c (parse_param): Fix buffer overflow.
20035         * posix/wordexp-test.c (do_bz18043): Add test case.
20037 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20039         * time/tst-strptime2.c (do_test): Ensure failing tests are
20040         reported correctly.
20041         * time/tst-strptime3.c (do_test): Likewise.
20043 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20045         Fix aio_error thread-safety.
20046         * sysdeps/pthread/aio_error.c: New file
20047         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20048         synchronization.
20050 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20052         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20053         (group_number, vfprintf): Use it.
20054         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20055         (JUMP, REF): Use it.
20056         (WORK_BUFFER_SIZE): New enum constant.
20057         (process_arg, vfprintf): Use it.
20059 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20061         * manual/errno.texi (Error Messages): Complete example function
20062         by adding missing #define.
20063         (program_invocation_name): Add statement indicating GNU
20064         extension and reference which header file declares the variable.
20065         (program_invocation_short_name): Likewise.
20067 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20069         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20070         compatibility note.
20072 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20074         * Makeconfig (test-wrapper-env-only): New variable.
20075         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20076         then use that with $(test-wrapper-env-only) rather than using
20077         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20079 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20081         [BZ #18082]
20082         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20083         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20084         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20085         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20086         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20087         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20088         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20089         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20090         Likewise.
20091         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20092         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20093         Likewise.
20094         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20095         Likewise.
20096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20097         Likewise.
20098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20099         Likewise.
20100         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20101         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20102         Likewise.
20103         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20104         Likewise.
20105         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20106         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20108 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20110         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20111         (ETH_ALEN): New macro.
20112         (struct ether_addr): Use it for length of ether_addr_octet.
20114         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20115         (setdb): Don't call __nss_configure_lookup for "rpc".
20116         (do_test): Don't call test_rpc.
20117         (output_rpcent, test_rpc): Functions moved ...
20118         * sunrpc/test-rpcent.c: ... to this new file.
20119         * sunrpc/Makefile (tests): Add it.
20121         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20122         __xpg_sigpause.
20123         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20124         * nptl/tst-signal6.c: Likewise.
20125         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20126         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20128         * configure.ac (libc_cv_cxx_link_ok): New check.
20129         Reset CXX to empty if it fails to link.
20130         * configure: Regenerated.
20131         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20132         bug-atexit3-lib only if $(CXX) is nonempty.
20133         * nptl/Makefile (tests): Likewise for tst-cancel24.
20134         (tests, tests-static): Likewise for tst-cancel24-static.
20135         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20136         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20137         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20138         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20140 2015-03-04  Andreas Schwab  <schwab@suse.de>
20142         [BZ #17631]
20143         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20144         for non-GCC compilers.
20145         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20146         Likewise.
20148 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20150         [BZ #17776]
20151         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20152         integer before bitwise and assembly operations.
20153         (feclearexcept): Likewise.
20154         * math/test-fenvinline.c: New file.
20155         * math/Makefile: Add test-fenvinline test.
20157 2015-03-03  Alan Modra  <amodra@gmail.com>
20159         [BZ #16512]
20160         * scripts/localplt.awk: Strip off symbol version.
20161         * NEWS: Mention bug fix.
20163 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20165         * sysdeps/pthread/timer_routines.c
20166         (timer_free_list, thread_free_list, thread_active_list): Make static.
20168 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20170         [BZ #17779]
20171         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20172         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20173         Undefine.
20174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20175         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20176         Likewise.
20177         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20178         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20179         Likewise.
20181 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20183         [BZ #18036]
20184         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20185         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20187 2015-03-02  Andreas Schwab  <schwab@suse.de>
20189         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20190         variable name.
20192 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20194         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20195         Return error status.
20197 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20199         [BZ #15969]
20200         * locale/findlocale.c (_nl_find_locale): Introduce const
20201         version of loc_name and drop unsafe type casts.
20203 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20205         * dlfcn/tststatic2.c (main): Converted to ...
20206         (do_test): ... this.
20207         (TEST_FUNCTION): New macro.
20208         Include test-skeleton.c.
20210 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20212         [BZ #17711]
20213         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20214         (tests-pie): Add vismain.
20215         (CFLAGS-vismain.c): New.
20216         * elf/vismain.c: Add comments for PIE requirement.
20218 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20220         [BZ #18046]
20221         [BZ #18047]
20222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20223         0x1p-56L as threshold for just returning the argument.
20224         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20225         0x1p-32L as threshold for just returning the argument.
20226         * math/auto-libm-test-in: Add more tests of atanh.
20227         * math/auto-libm-test-out: Regenerated.
20228         * sysdeps/i386/fpu/libm-test-ulps: Update.
20229         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20231 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20233         * string/bcopy.c (bcopy): Call memmove for performance.
20235 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20237         * string/bzero.c (__bzero): Call memset for performance.
20239 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20241         [BZ #18068]
20242         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20243         to 00100000.
20245 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20247         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20249 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20251         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20252         (__kernel_standard): Use CSTR macro when setting exc.name.
20253         * sysdeps/ieee754/Makefile [$(subdir) = math]
20254         (CFLAGS-k_standard.c): Remove variable.
20256         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20257         setting p and q from "else if" to "else".
20258         (qzero): Likewise.
20259         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20260         (qone): Likewise.
20261         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20262         (qzerof): Likewise.
20263         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20264         (qonef): Likewise.
20265         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20266         (qzero): Likewise.
20267         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20268         (qone): Likewise.
20270         [BZ #18038]
20271         [BZ #18039]
20272         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20273         return pi/2 for arguments below 0x1p-113L.
20274         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20275         return pi/2 for arguments below 0x1p-106L.
20276         * math/auto-libm-test-in: Add more tests of acos.
20277         * math/auto-libm-test-out: Regenerated.
20279         [BZ #16351]
20280         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20281         (MO): New macro.
20282         (__ieee754_asin): Force underflow exception for results with small
20283         absolute value.
20284         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20285         (MO): New macro.
20286         (__ieee754_asinf): Force underflow exception for results with
20287         small absolute value.
20288         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20289         (__ieee754_asin): Force underflow exception for results with small
20290         absolute value.
20291         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20292         (__ieee754_asinf): Force underflow exception for results with
20293         small absolute value.
20294         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20295         (__ieee754_asinl): Force underflow exception for results with
20296         small absolute value.
20297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20298         (__ieee754_asinl): Force underflow exception for results with
20299         small absolute value.
20300         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20301         (__ieee754_asinl): Force underflow exception for results with
20302         small absolute value.
20303         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20304         Include <math.h>.
20305         * math/auto-libm-test-in: Do not mark underflow exceptions as
20306         possibly missing for bug 16351.
20307         * math/auto-libm-test-out: Regenerated.
20309         [BZ #18030]
20310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20311         of power of 2 down when low part has opposite sign.
20312         * math/libm-test.inc (logb_test_data): Add more tests.
20314 2015-02-26  Andreas Schwab  <schwab@suse.de>
20316         [BZ #18032]
20317         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20318         over collating symbol inside a bracket expression.  Minor cleanup.
20319         * posix/tst-fnmatch3.c (do_test): Add test case.
20321 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20323         [BZ #18029]
20324         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20325         Adjust exponent of power of 2 down when low part has opposite
20326         sign.
20327         * math/libm-test.inc (ilogb_test_data): Add more tests.
20329 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20331         [BZ #15969]
20332         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20333         the previous change.
20335         [BZ #15969]
20336         * locale/findlocale.c (_nl_find_locale): Retry archive search
20337         after alias expansion.
20339 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20341         * iconv/tst-iconv3.c (main): Converted to ...
20342         (do_test): ... this.
20343         (TEST_FUNCTION): New macro.
20344         Include test-skeleton.c.
20346         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20347         (convert): Make function static.
20348         (test_unalign): Likewise.  Add const to argument pointee types.
20349         (main): Replace with static function do_test.
20350         Print "Succeeded." only if RET is zero.
20351         (TEST_FUNCTION): New macro.
20352         Include test-skeleton.c.
20354         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20355         returns a null pointer.
20357 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20359         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20360         to __memcpy_ppc only for static builds.
20362 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20364         [BZ #18020]
20365         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20366         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20367         * math/auto-libm-test-in: Add more tests of asinh.
20368         * math/auto-libm-test-out: Regenerated.
20369         * sysdeps/i386/fpu/libm-test-ulps: Update.
20370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20372 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20374         [BZ #15850]
20375         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20376         and ip6_mtuinfo definitions here.
20377         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20378         in this define too.  Update comment.
20380 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20382         * elf/sprof.c (load_shobj): Tweak error message to match others.
20384 2015-02-24  Kevin Easton  <kevin@guarana.org>
20386         [BZ #16145] (partial fix)
20387         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20388         to reduce lock contention.
20390 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20392         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20393         (struct timex): Update time comment.
20394         (ADJ_SETOFFSET): Define.
20396 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20398         [BZ #18019]
20399         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20400         2**56 not 2**28 as threshold for log (2x) formula.
20401         * math/auto-libm-test-in: Add more tests of acosh.
20402         * math/auto-libm-test-out: Regenerated.
20403         * sysdeps/i386/fpu/libm-test-ulps: Update.
20404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20408         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20409         parenthesis around the buf assignment.
20410         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20412 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20414         [BZ #16783]
20415         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20416         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20417         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20418         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20419         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20420         * math/libm-test.inc (scalb_test_data): Add more tests.
20422 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20424         [BZ #17916]
20425         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20426         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20428 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20430         [BZ #17523]
20431         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20432         * io/bits/fcntl2.h (open): Use it.
20433         (openat): Likewise.
20434         * io/open.c (__libc_open): Likewise.
20435         * io/open64.c (__libc_open64): Likewise.
20436         * io/open64_2.c (__open64_2): Likewise.
20437         * io/open_2.c (__open_2): Likewise.
20438         * io/openat.c (__openat): Likewise.
20439         * io/openat64.c (__openat64): Likewise.
20440         * io/openat64_2.c (__openat64_2): Likewise.
20441         * io/openat_2.c (__openat_2): Likewise.
20442         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20443         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20444         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20445         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20446         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20447         (__open_nocancel): Likewise.
20448         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20449         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20450         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20452 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20454         [BZ #14841]
20455         * resolv/gethnamaddr.c (getanswer): Skip logging if
20456         RES_USE_DNSSEC is set.
20457         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20459 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20461         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20463 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20465         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20466         201304L, for Unicode 7.
20468 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20470         [BZ #17836]
20471         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20472         shared library.  Add gmon-start.os otherwise.
20473         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20474         $(objpfx)gmon-start.os if builing shared library.
20475         ($(objpfx)g$(static-start-installed-name)): Likewise.
20477 2015-02-23  Andreas Schwab  <schwab@suse.de>
20479         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20481 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20483         [BZ #17269]
20484         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20485         (enlarge_userbuf): Likewise.
20487 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20489         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20490         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20491         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20492         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20494 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20496         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20497         expression inside statement expression.
20499 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20501         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20502         <sysdeps/nptl/lowlevellock.h> and remove macros and
20503         functions that are now defined there.
20504         (SYS_futex): Remove.
20505         (lll_compare_and_swap): Remove.
20506         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20508 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20510         [BZ #17999]
20511         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20512         instead of scandirat.
20513         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20514         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20515         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20516         __scandirat.
20517         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20518         (__scandirat): Declare.  Use libc_hidden_proto.
20519         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20520         Remove variable.
20521         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20523 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20525         [BZ #15319]
20526         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20527         (MO): New macro.
20528         (__ieee754_atan2): For results with small absolute value, force
20529         underflow exception and remove excess range and precision from
20530         return value.
20531         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20532         (MO): New macro.
20533         (__ieee754_atan2f): For results with small absolute value, force
20534         underflow exception and remove excess range and precision from
20535         return value.
20536         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20537         (MO): New macro.
20538         (__atan): For results with small absolute value, force underflow
20539         exception and remove excess range and precision from return value.
20540         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20541         (MO): New macro.
20542         (__atanf): For results with small absolute value, force underflow
20543         exception and remove excess range and precision from return value.
20544         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20545         <math.h>.
20546         (__ieee754_atan2): Force underflow exception for results with
20547         small absolute value.
20548         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20549         <math_private.h>.
20550         (atan): Force underflow exception for results with small absolute
20551         value.
20552         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20553         (__atanf): Force underflow exception for results with small
20554         absolute value.
20555         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20556         <math.h>.
20557         (__atanl): Force underflow exception for results with small
20558         absolute value.
20559         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20560         (__atanl): Force underflow exception for results with small
20561         absolute value.
20562         * sysdeps/x86/fpu/bits/mathinline.h
20563         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20564         (__ieee754_atan2): Only define inline for long double.
20565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20566         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20567         * math/auto-libm-test-in: Do not mark underflow exceptions as
20568         possibly missing for bug 15319.  Add more tests of atan2.
20569         * math/auto-libm-test-out: Regenerated.
20570         * math/libm-test.inc (casin_test_data): Do not mark underflow
20571         exceptions as possibly missing for bug 15319.
20572         (casinh_test_data): Likewise.
20573         * sysdeps/i386/fpu/libm-test-ulps: Update.
20575 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20577         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20578         * sysdeps/mips/bits/endian.h: Fix comments.
20580 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20582         [BZ #17996]
20583         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20584         (hdestroy_r): Likewise.
20585         (hsearch_r): Likewise.
20586         (__hcreate_r): Declare and use libc_hidden_proto.
20587         (__hdestroy_r): Likewise.
20588         (__hsearch_r): Likewise.
20589         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20590         (hcreate): Call __hcreate_r instead of hcreate_r.
20591         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20592         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20593         as weak alias of __hcreate_r.
20594         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20595         __hdestroy_r.
20596         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20597         __hsearch_r.
20598         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20599         Remove variable.
20600         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20601         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20602         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20603         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20605 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20607         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20608         arena_lock into a single arena_get.
20610 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20612         * dl-reloc.c: Inlucde libc-internal.h.
20613         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20614         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20615         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20616         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20617         (grow_heap): Likewise.
20618         * malloc/malloc.c: Include libc-internal.h.
20619         (do_check_malloc): Call powerof2.
20620         (sysmalloc): Use pagesize. Call ALIGN_UP.
20621         (systrim): Use pagesize.
20622         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20623         (__libc_valloc): Use pagesize.
20624         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20626 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20628         [BZ #17991]
20629         * include/sys/resource.h (__getrlimit64): Declare.  Use
20630         libc_hidden_proto.
20631         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20632         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20633         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20634         getrlimit64.
20635         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20636         __getrlimit64.
20637         [!getrlimit64] (getrlimit64): Define as weak alias of
20638         __getrlimit64.  Use libc_hidden_weak.
20639         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20640         using __getrlimit64 not __new_getrlimit64.
20641         (__GI_getrlimit64): Likewise.
20642         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20643         Likewise.
20644         (__GI_getrlimit64): Likewise.
20645         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20647         (getrlimit): Add __getrlimit64 alias.
20648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20649         Likewise.
20650         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20651         Remove variable.
20652         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20653         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20655 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20657         * libio/fileops.c: Add missing sys/mman.h
20658         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20660 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20662         * manual/math.texi (Errors in Math Functions): Clarify goals
20663         regarding inexact and underflow exceptions.
20665 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20667         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20668         * sysdeps/mips/memset.S: Ditto.
20670 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20672         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20674 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20676         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20677         (__v1longjmp): Remove versioned symbol.
20678         (__v1siglongjmp): Remove alias and versioned symbol.
20679         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20680         (__v2siglongjmp): Likewise.
20682 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20684         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20686 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20688         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20690 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #17987]
20693         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20694         zero result does not depend on the sign resulting from
20695         subtraction.
20696         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20697         Likewise.
20698         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20699         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20700         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20701         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20702         * math/libm-test.inc (remquo_test_data): Add more tests.
20704 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20706         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20707         Problem reported by J William Piggott.
20709 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20711         [BZ #17978]
20712         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20713         products 4 * y and 2 * y where those would overflow.
20714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20715         Likewise.
20716         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20717         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20718         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20719         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20720         * math/libm-test.inc (remquo_test_data): Add more tests.
20722         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20724         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20725         [defined _COMPILING_NEWLIB].
20726         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20727         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20729         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20730         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20732 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20734         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20735         acquired.
20737 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20739         [BZ #17792]
20740         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20741         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20742         HOST_STACK_END_ADDR): Likewise.
20744 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20746         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20747         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20748         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20750 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20752         * sysdeps/generic/c++-types.data: New file.
20753         * sysdeps/generic/ld.abilist: New file.
20754         * sysdeps/generic/libBrokenLocale.abilist: New file.
20755         * sysdeps/generic/libanl.abilist: New file.
20756         * sysdeps/generic/libc.abilist: New file.
20757         * sysdeps/generic/libcrypt.abilist: New file.
20758         * sysdeps/generic/libdl.abilist: New file.
20759         * sysdeps/generic/libm.abilist: New file.
20760         * sysdeps/generic/libpthread.abilist: New file.
20761         * sysdeps/generic/libresolv.abilist: New file.
20762         * sysdeps/generic/librt.abilist: New file.
20764 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20766         [BZ #17569]
20767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20768         Compute absolute value of x as modified by fmod, not original
20769         value of x.
20770         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20771         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20772         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20773         RUN_TEST_ffI_f1_mod8.
20774         (remquo_test_data): Add more tests.
20776 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20778         * sysdeps/init_array/pt-crti.S: New file.
20780 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20782         [BZ #17967]
20783         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20784         __builtin_fmaf instead of relying on contraction of a * b + c.
20786 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20788         [BZ #17969]
20789         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20790         node.
20792 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20794         [BZ #17964]
20795         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20796         __builtin_fma instead of relying on contraction of a * b + c.
20798 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20800         * Makeconfig (ASFLAGS): Add -Werror=undef.
20801         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20802         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20803         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20805         * Makeconfig (after-link): New variable.
20806         (+link-pie, +link-pie-tests): Use it.
20807         (+link-static, +link-static-tests): Likewise.
20808         (+link, +link-tests): Likewise.
20809         * Makerules (build-module, build-module-asneeded): Likewise.
20810         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20811         Likewise.
20812         * elf/Makefile ($(objpfx)ld.so): Likewise.
20814 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20816         [BZ #17965]
20817         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20818         both struct timeval and struct timespec.
20820 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20822         [BZ #16560]
20823         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20824         and redefine.
20825         (__ieee754_exp2l): Do not multiply small fractional parts by
20826         M_LN2l.
20827         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20828         small argument.
20829         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20830         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20831         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20832         * math/auto-libm-test-in: Add more tests of exp2.
20833         * math/auto-libm-test-out: Regenerated.
20835 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20837         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20838         unaligned path.
20840 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20842         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20843         little endian.
20845 2015-02-12  Andreas Schwab  <schwab@suse.de>
20847         [BZ #15790]
20848         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20849         Filter out elision flags from value returned in kind.
20850         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20851         * nptl/tst-pthread-mutexattr.c: New file.
20853 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20855         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20856         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20857         into gnu-gnu, and update comment to refer to abi-tags.
20859 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20861         [BZ #15467]
20862         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20863         (__sincos): Set errno to EDOM for infinite argument.
20864         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20865         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20866         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20867         (__sincosl): Set errno to EDOM for infinite argument.
20868         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20869         (__sincosl): Set errno to EDOM for infinite argument.
20870         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20871         (__sincosl): Set errno to EDOM for infinite argument.
20872         * math/libm-test.inc (sincos_test_data): Test errno setting.
20874 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20876         * string/strxfrm_l.c: Remove #define STRCMP.
20877         * string/strcoll_l.c: Remove #define STRLEN.
20878         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20879         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20881 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20883         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20884         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20885         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20886         * sysdeps/mips/mips64/Makefile: ... here.
20887         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20888         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20889         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20890         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20891         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20892         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20893         * sysdeps/mips/mips64/n64/Implies: Likewise.
20895 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20897         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20898         <sys/time.h>, <string.h>, and <errno.h>.
20899         (dest_offset, dest_address, value, zero): Remove unused variables.
20900         (ldouble): Remove typedef.
20901         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20902         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20903         1).  Fix code style.
20904         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20905         (check): Function removed.
20906         (CHECK): New macro.
20907         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20908         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20909         Don't call set_sigaction_FP and remove_sigaction_FP here.
20910         (ldouble_test): Just use 'long double' as macro argument, no need for
20911         the 'ldouble' typedef.
20912         (do_test): Set up SIGFPE handler at start, using plain signal rather
20913         than sigaction.  Fix code style.
20915 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20917         [BZ #17949]
20918         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20919         jump label.
20921 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20923         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20924         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20926         * sysdeps/powerpc/configure.ac: Remove file.
20927         * sysdeps/powerpc/configure: Likewise.
20929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20930         [sysdep_routines]: Remove wordcopy-power6 object.
20931         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20932         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20933         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20934         (__memmove_ppc32): Likewise.
20935         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20936         file.
20937         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20939         Remove preprocessor.
20941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20942         [sysdep_routines]: Remove wide chars objects.
20943         [wcsmbs]: New rule for wide char objects.
20945         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20946         Remove wordcopy-power6 obejct.
20947         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20948         Use local call for wordcopy and memcpy symbols.
20949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20950         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20951         implementation for loader.
20952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20954         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20955         Remove wordcopy-power7 object.
20956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20957         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20958         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20959         (_wordcopy_fwd_dest_aligned): Likewise.
20960         (_wordcopy_bwd_aligned): Likewise.
20961         (_wordcopy_bwd_dest_aligned): Likewise.
20963         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20964         Rewrite to call __memmove_ppc instead of include default
20965         implementation.
20967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20968         Remove wide chars objects.
20969         [wcsmbs]: New rule for wide char objects.
20971 2015-02-09  Andreas Schwab  <schwab@suse.de>
20973         [BZ #17912]
20974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20975         in terms of __O_DIRECTORY.
20977 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20979         * time/getdate.c: Include <stdbool.h>.
20980         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20981         call PTR_MANGLE.
20982         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20983         PTR_DEMANGLE.
20985 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20987         Add ersatz _Static_assert on older C hosts
20988         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20989         pre-C11 C platform that is not known to support _Static_assert.
20991 2015-02-07  Richard Braun  <rbraun@sceen.net>
20993         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20994         sigstate.
20995         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20997 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20999         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21000         priority against unexistent AIO_PRIO_DELTA_MAX.
21001         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21002         instead of int.
21003         * misc/fchflags.c (fchflags): Likewise.
21004         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21005         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21006         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21007         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21008         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21009         Declare macros.
21010         [__USE_MISC] (chflags, fchflags): Declare functions.
21011         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21012         EINVAL when nfds is greater than FD_SETSIZE.
21013         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21014         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21015         45.
21016         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21017         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21018         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21019         MACH_RCV_TIMED_OUT.
21020         * hurd/hurd/signal.h (_hurd_self_sigstate,
21021         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21022         Explicit casts from void *.
21023         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21024         * abi-tags: Rename gnu-gnu os into gnu.
21026         [BZ #4719]
21027         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21028         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21029         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21030         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21031         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21032         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21034         [BZ #17944]
21035         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21036         duplicates ADDR->sun_path with sockaddr LEN limitation.
21037         * sysdeps/mach/hurd/connect.c: Include <string.h>
21038         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21039         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21040         * sysdeps/mach/hurd/sendto.c: Likewise.
21041         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21042         implementing it by hand.
21044 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21046         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21047         Use sfi_breg on ldr.
21048         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21049         Likewise.
21051         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21052         it's defined.
21053         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21054         Test SIGSETXID only if it's defined.
21056         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21058         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21059         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21061         * nptl/tst-align2.c: Moved ...
21062         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21063         * nptl/Makefile (tests): Remove tst-align2.
21064         * sysdeps/unix/sysv/linux/Makefile
21065         [$(subdir) = nptl] (tests): Add tst-align-clone.
21066         * nptl/tst-getpid1.c: Moved ...
21067         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21068         * nptl/tst-getpid2.c: Moved ...
21069         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21070         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21071         * sysdeps/unix/sysv/linux/Makefile
21072         [$(subdir) = nptl] (tests): ... here.
21073         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21074         * sysdeps/unix/sysv/linux/Makefile
21075         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21077         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21078         Drop trailing \n from perror argument.  Use return rather than exit.
21080         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21081         on [SA_SIGINFO].
21082         * nptl/tst-cancel21.c (do_test): Likewise.
21083         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21084         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21085         [!SA_SIGINFO]: Make it a stub test.
21087         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21088         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21090         * posix/tst-getlogin.c: Move to ...
21091         * login/tst-getlogin.c: ... here.
21092         * posix/Makefile (tests): Move tst-getlogin to ...
21093         * login/Makefile (tests): ... here.
21095         * libio/tst-atime.c (do_test): Move local variables SV and E
21096         inside [ST_NOATIME] conditional.
21098         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21100         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21102         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21103         (wait_code): New function replaces macro.
21104         Call nanosleep rather than syscall.
21106         * nptl/pt-system.c: Rewritten.  Put everything under
21107         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21108         Use IFUNC to redirect when possible.
21110         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21111         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21112         Use IFUNC to redirect when possible.
21114         * nptl/pt-fork.c: Rewritten.  Put everything under
21115         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21116         Use IFUNC to redirect when possible.
21117         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21119         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21120         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21121         unconditionally nowadays.  This included the only reference to
21122         __vdso_clock_gettime that appears outside libc proper.
21123         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21124         Remove version set (containing only __vdso_clock_gettime).
21125         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21126         Add attribute_hidden.
21127         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21128         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21129         libc_hidden_data_def.
21130         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21131         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21133         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21134         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21135         setrpcent, and getrpcport to ...
21136         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21137         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21138         getrpcbynumber_r, and getrpcent_r to ...
21139         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21140         * inet/getrpcbyname.c: Moved ...
21141         * sunrpc/getrpcbyname.c: ... here.
21142         * inet/getrpcbyname_r.c: Moved ...
21143         * sunrpc/getrpcbyname_r.c: ... here.
21144         * inet/getrpcbynumber.c: Moved ...
21145         * sunrpc/getrpcbynumber.c: ... here.
21146         * inet/getrpcbynumber_r.c: Moved ...
21147         * sunrpc/getrpcbynumber_r.c: ... here.
21148         * inet/getrpcent.c: Moved ...
21149         * sunrpc/getrpcent.c: ... here.
21150         * inet/getrpcent_r.c: Moved ...
21151         * sunrpc/getrpcent_r.c: ... here.
21152         * inet/Makefile (routines): Move those to ...
21153         * sunrpc/Makefile (routines): ... here.
21154         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21155         the $(subdirs) list.
21156         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21157         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21158         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21159         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21161         * elf/Makefile (routines): Include $(all-dl-routines), not just
21162         $(dl-routines).
21163         (rtld-routines): Likewise.  Use = rather than :=.
21164         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21165         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21166         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21167         * sysdeps/arm/Makefile: Likewise.
21168         * sysdeps/i386/Makefile: Likewise.
21169         * sysdeps/x86_64/Makefile: Likewise.
21170         * sysdeps/hppa/Makefile [$(subdir) = elf]
21171         (sysdep_routines, sysdep-rtld-routines): Don't add
21172         $(sysdep-dl-routines) to these.
21173         * sysdeps/ia64/Makefile: Likewise.
21174         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21175         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21176         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21177         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21178         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21179         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21180         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21181         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21182         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21183         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21184         these; sysdep-dl-routines alone is enough.
21186 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21188         [BZ #17932]
21189         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21190         where multiplication results in zero and third argument is finite
21191         and nonzero.
21192         * math/auto-libm-test-in: Add more tests of fma.
21193         * math/auto-libm-test-out: Regenerated.
21195         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21196         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21197         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21198         (_FP_CMP_EQ): Likewise.
21199         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21201         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21202         extra argument CHECK_NAN.  Redefine as wrapper around
21203         _FP_EXTEND_CNAN.
21205 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21207         * version.h (RELEASE): Set to "stable".
21208         (VERSION): Set to "2.21"
21209         * include/features.h (__GLIBC_MINOR__): Set to 21.
21211         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21213 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21214             Paul Eggert  <eggert@cs.ucla.edu>
21216         [BZ #16618]
21217         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21218         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21219         size in bytes. Store needed elements in wpmax. Use needed size
21220         in bytes for extend_alloca.
21222 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21224         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21225         binutls 2.25, and texinfo 5.2.
21226         * INSTALL: Regenerate.
21227         * sysdeps/nios2/configure: Regenerate.
21228         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21229         * manual/contrib.texi: Update.
21230         * po/be.po: Update.
21231         * po/bg.po: Update.
21232         * po/ca.po: Update.
21233         * po/cs.po: Update.
21234         * po/da.po: Update.
21235         * po/de.po: Update.
21236         * po/el.po: Update.
21237         * po/eo.po: Update.
21238         * po/es.po: Update.
21239         * po/fi.po: Update.
21240         * po/fr.po: Update.
21241         * po/gl.po: Update.
21242         * po/hr.po: Update.
21243         * po/hu.po: Update.
21244         * po/ia.po: Update.
21245         * po/id.po: Update.
21246         * po/it.po: Update.
21247         * po/ja.po: Update.
21248         * po/ko.po: Update.
21249         * po/lt.po: Update.
21250         * po/nb.po: Update.
21251         * po/nl.po: Update.
21252         * po/pl.po: Update.
21253         * po/pt_BR.po: Update.
21254         * po/ru.po: Update.
21255         * po/rw.po: Update.
21256         * po/sk.po: Update.
21257         * po/sl.po: Update.
21258         * po/sv.po: Update.
21259         * po/tr.po: Update.
21260         * po/uk.po: Update.
21261         * po/vi.po: Update.
21262         * po/zh_CN.po: Update.
21263         * po/zh_TW.po: Update.
21265         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21266         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21267         * sysdeps/hppa/dl-irel.h: Remove #warning.
21268         * sysdeps/hppa/entry.h: Provide prototype for
21269         __canonicalize_funcptr_for_compare and cast argument.
21270         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21271         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21272         * sysdeps/hppa/sotruss-lib.c: New file.
21273         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21274         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21275         (atomic_compare_and_exchange_bool_acq): Likewise.
21276         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21277         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21279         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21280         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21281         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21283 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21285         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21286         called function in non-PIC case.
21288 2015-01-31  David S. Miller  <davem@davemloft.net>
21290         * sysdeps/sparc/sparc32/bits/atomic.h
21291         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21292         unlock not after it.
21293         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21294         volatile register usage warnings from the compiler.
21296         * sysdeps/sparc/nptl/sem_init.c: Delete.
21297         * sysdeps/sparc/nptl/sem_post.c: Delete.
21298         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21299         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21300         * sysdeps/sparc/sparc32/sem_init.c: New file.
21301         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21302         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21303         padding explicitly initialized.
21304         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21305         padding for in-semaphore spinlock.
21306         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21307         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21308         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21309         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21310         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21311         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21312         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21313         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21314         version.
21315         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21316         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21318 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21320         [BZ #17801]
21321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21322         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21323         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21324         New.
21325         (index_AVX_Fast_Unaligned_Load): Likewise.
21326         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21327         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21328         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21329         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21330         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21331         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21332         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21333         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21334         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21336 2015-01-29  Andreas Schwab  <schwab@suse.de>
21338         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21340 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21342         [BZ #17892]
21343         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21345 2015-01-28  Martin Sebor  <msebor@redhat.com>
21347         * math/README.libm-test: Clarify. Add "How to read the test output."
21349 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21351         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21352         Define to 0.
21354 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21356         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21357         (__HAVE_64B_ATOMICS): Define to 0.
21359 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21361         [BZ #17885]
21362         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21363         value to set as new flag.
21365         [BZ #16576]
21366         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21367         and use _ARCH_PPCSQ instead.
21368         (__ieee754_sqrt): Likewise.
21369         (__ieee754_sqrtf): Likewise.
21370         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21371         _ARCH_PPCSQ is defined.
21372         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21373         fsqrt instruction.
21374         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21375         _ARCH_PPCSQ is defined.
21376         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21377         fsqrts instruction.
21378         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21380 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21382         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21383         bug (GCC BZ #64739).
21385 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21387         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21388         Mark _retval as used.
21389         (lll_futex_wake_unlock): Likewise.
21390         (lll_futex_timed_wait_requeue_pi): Likewise.
21392         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21393         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21394         register variables.
21396         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21397         libm_hidden_def.
21399         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21400         (__bswap_64): Mark as __always_inline.
21402 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21404         [BZ #15378]
21405         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21406         when none of the search directories exist.
21408 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21410         [BZ #17869]
21411         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21412         power8 in .machine directive.
21414         [BZ #17868]
21415         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21416         set dependency from opd value.
21418 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21421         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21422         architecture.
21424 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21426         [BZ #17870]
21427         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21428         with uint64_t.
21429         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21430         (uint64_t) 1.
21431         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21432         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21433         Replace 1UL with (uint64_t) 1.
21434         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21435         int with uint64_t.
21437 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21439         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21440         (if_freenameindex): Likewise.
21442         * resource/getrlimit64.c: Add missing libc_hidden_def.
21444 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21446         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21447         __label__.
21448         (_FP_FMA): Likewise.
21449         (_FP_TO_INT_ROUND): Likewise.
21450         (_FP_FROM_INT): Likewise.
21452 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21454         [BZ #16418]
21455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21456         Make code racy and cancel safe.
21458 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21460         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21461         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21462         attribution.
21464         * pwd/tst-getpw.c: Rewrite.
21466         [BZ #17702]
21467         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21468         (modules-names): Add moddummy1 and moddummy2.
21469         ($(objpfx)tst-rec-dlopen): Define.
21470         * dlfcn/moddummy1.c: New file.
21471         * dlfcn/moddummy2.c: New file.
21472         * dlfcn/tst-rec-dlopen.c: New file.
21473         * elf/dl-cache.c (_dl_load_cache_lookup):
21474         Return char*. Copy result with alloca/strcpy/strdup.
21475         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21476         returns char*. Free cached. If not saving realname
21477         free cached.
21478         * elf/dl-open.c (dl_open_worker): Do not assert that
21479         _r_debug->r_state is RT_CONSISTENT.
21480         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21481         returns char*.
21483 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21484             Carlos O'Donell  <carlos@redhat.com>
21486         [BZ #12674]
21487         * nptl/sem_waitcommon.c: New file.
21488         * nptl/sem_wait.c: Include sem_waitcommon.c.
21489         (__sem_wait_cleanup, do_futex_wait): Remove.
21490         (__new_sem_wait): Adapt.
21491         (__new_sem_trywait): New function.
21492         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21493         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21494         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21495         (sem_timedwait): Adapt.
21496         * nptl/sem_post.c (__new_sem_post): Adapt.
21497         (futex_wake): New function.
21498         (__old_sem_post): Add release MO fence.
21499         * nptl/sem_open.c (sem_open): Adapt.
21500         * nptl/sem_init.c (__new_sem_init): Adapt.
21501         (futex_private_if_supported): New function.
21502         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21503         (__old_sem_getvalue): Add using previous code.
21504         * sysdeps/nptl/internaltypes.h: Adapt.
21505         * nptl/tst-sem13.c (do_test): Adapt.
21506         * nptl/tst-sem11.c (main): Adapt.
21507         * nptl/sem_trywait.c: Remove.
21508         * nptl/DESIGN-sem.txt: Remove.
21509         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21510         (gen-as-const-headers): Remove structsem.sym.
21511         * nptl/structsem.sym: Remove.
21512         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21513         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21514         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21515         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21516         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21517         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21518         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21519         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21520         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21521         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21522         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21523         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21524         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21525         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21526         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21527         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21528         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21529         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21530         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21531         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21532         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21533         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21535 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21537         * INSTALL: Regenerated.
21539         * po/libc.pot: Regenerated.
21541 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21542             Sandra Loosemore  <sandra@codesourcery.com>
21543             Andrew Jenner  <andrew@codesourcery.com>
21544             Joseph Myers  <joseph@codesourcery.com>
21545             Nathan Sidwell  <nathan@codesourcery.com>
21547         * NEWS: Mention new Nios II port.
21548         * sysdeps/nios2/Implies: New file.
21549         * sysdeps/nios2/Makefile: New file.
21550         * sysdeps/nios2/Subdirs: New file.
21551         * sysdeps/nios2/Versions: New file.
21552         * sysdeps/nios2/__longjmp.S: New file.
21553         * sysdeps/nios2/abort-instr.h: New file.
21554         * sysdeps/nios2/backtrace.c: New file.
21555         * sysdeps/nios2/bits/endian.h: New file.
21556         * sysdeps/nios2/bits/fenv.h: New file.
21557         * sysdeps/nios2/bits/link.h: New file.
21558         * sysdeps/nios2/bits/setjmp.h: New file.
21559         * sysdeps/nios2/bsd-_setjmp.S: New file.
21560         * sysdeps/nios2/bsd-setjmp.S: New file.
21561         * sysdeps/nios2/configure: New generated file.
21562         * sysdeps/nios2/configure.ac: New file.
21563         * sysdeps/nios2/crti.S: New file.
21564         * sysdeps/nios2/crtn.S: New file.
21565         * sysdeps/nios2/dl-init.c: New file.
21566         * sysdeps/nios2/dl-machine.h: New file.
21567         * sysdeps/nios2/dl-sysdep.h: New file.
21568         * sysdeps/nios2/dl-tls.h: New file.
21569         * sysdeps/nios2/dl-trampoline.S: New file.
21570         * sysdeps/nios2/gccframe.h: New file.
21571         * sysdeps/nios2/gmp-mparam.h: New file.
21572         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21573         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21574         * sysdeps/nios2/ldsodefs.h: New file.
21575         * sysdeps/nios2/libc-tls.c: New file.
21576         * sysdeps/nios2/libm-test-ulps: New file.
21577         * sysdeps/nios2/machine-gmon.h: New file.
21578         * sysdeps/nios2/math-tests.h: New file.
21579         * sysdeps/nios2/math_private.h: New file.
21580         * sysdeps/nios2/memusage.h: New file.
21581         * sysdeps/nios2/nptl/Makefile: New file.
21582         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21583         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21584         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21585         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21586         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21587         * sysdeps/nios2/nptl/tls.h: New file.
21588         * sysdeps/nios2/preconfigure: New file.
21589         * sysdeps/nios2/s_fma.c: New file.
21590         * sysdeps/nios2/s_fmaf.c: New file.
21591         * sysdeps/nios2/setjmp.S: New file.
21592         * sysdeps/nios2/sfp-machine.h: New file.
21593         * sysdeps/nios2/sotruss-lib.c: New file.
21594         * sysdeps/nios2/stackguard-macros.h: New file.
21595         * sysdeps/nios2/stackinfo.h: New file.
21596         * sysdeps/nios2/start.S: New file.
21597         * sysdeps/nios2/sysdep.h: New file.
21598         * sysdeps/nios2/tls-macros.h: New file.
21599         * sysdeps/nios2/tst-audit.h: New file.
21600         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21601         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21602         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21603         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21604         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21605         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21606         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21607         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21608         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21609         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21610         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21611         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21612         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21613         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21614         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21615         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21616         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21617         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21618         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21619         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21620         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21621         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21622         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21623         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21624         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21625         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21626         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21627         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21628         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21629         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21630         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21631         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21632         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21633         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21634         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21635         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21636         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21637         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21638         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21639         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21640         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21641         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21642         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21643         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21645 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21647         [BZ #17844]
21648         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21649         (getutent): Use weak_alias in non SHARED case
21650         and default_symbol_version in SHARED case.
21651         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21652         (getutent_r, pututline): Likewise.
21653         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21654         (getutid): Likewise.
21655         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21656         (getutid_r): Likewise.
21657         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21658         (getutline): Likewise.
21659         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21660         (getutline_r): Likewise.
21661         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21662         (updwtmp): Likewise.
21664 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21666         [BZ #17848]
21667         * sysdeps/s390/s390-32/memcmp.S
21668         (memcmp_g5): Rename to __memcmp_g5.
21669         * sysdeps/s390/s390-32/memcpy.S
21670         (memcpy_g5): Rename to __memcpy_g5.
21671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21672         (memcpy_mvcle) Rename to __memcpy_mvcle.
21673         * sysdeps/s390/s390-32/memset.S
21674         (memset_g5): Rename to __memset_g5.
21675         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21676         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21677         and use prefixed functions.
21678         * sysdeps/s390/s390-32/multiarch/memcmp.S
21679         (memcmp_z196): Rename to __memcmp_z196.
21680         (memcmp_z10): Rename to __memcmp_z10.
21681         (memcmp): Set alias to __memcmp_g5.
21682         (bcmp): Set alias to __memcmp_g5.
21683         * sysdeps/s390/s390-32/multiarch/memcpy.S
21684         (memcpy_z196): Rename to __memcpy_z196.
21685         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21686         (memcpy_z10): Rename to __memcpy_z10.
21687         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21688         (memcpy): Set alias to __memcpy_g5.
21689         * sysdeps/s390/s390-32/multiarch/memset.S
21690         (memset_z196): Rename to __memset_z196.
21691         Jump to __memset_mvcle instead of memset_mvcle.
21692         (memset_z10): Rename to __memset_z10.
21693         Jump to __memset_mvcle instead of memset_mvcle.
21694         (memset_mvcle) Rename to __memset_mvcle.
21695         (memset): Set alias to __memset_g5.
21696         * sysdeps/s390/s390-64/memcmp.S
21697         (memcmp_z900): Rename to __memcmp_z900.
21698         * sysdeps/s390/s390-64/memcpy.S
21699         (memcpy_z900): Rename to __memcpy_z900.
21700         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21701         (memcpy_mvcle) Rename to __memcpy_mvcle.
21702         * sysdeps/s390/s390-64/memset.S
21703         (memset_z900): Rename to __memset_z900.
21704         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21705         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21706         and use prefixed functions.
21707         * sysdeps/s390/s390-64/multiarch/memcmp.S
21708         (memcmp_z196): Rename to __memcmp_z196.
21709         (memcmp_z10): Rename to __memcmp_z10.
21710         (memcmp): Set alias to __memcmp_z900.
21711         (bcmp): Set alias to __memcmp_z900.
21712         * sysdeps/s390/s390-64/multiarch/memcpy.S
21713         (memcpy_z196): Rename to __memcpy_z196.
21714         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21715         (memcpy_z10): Rename to __memcpy_z10.
21716         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21717         (memcpy): Set alias to __memcpy_z900.
21718         * sysdeps/s390/s390-64/multiarch/memset.S
21719         (memset_z196): Rename to __memset_z196.
21720         Jump to __memset_mvcle instead of memset_mvcle.
21721         (memset_z10): Rename to __memset_z10.
21722         Jump to __memset_mvcle instead of memset_mvcle.
21723         (memset_mvcle) Rename to __memset_mvcle.
21724         (memset): Set alias to __memset_z900.
21726 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21728         [BZ #17748]
21729         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21730         __fesetenv instead of fesetenv.
21732 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21734         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21735         macro.
21737 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21739         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21740         regression on LE.
21742         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21743         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21745         strncmp-power8 object.
21746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21747         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21748         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21749         * NEWS: Update.
21751 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21752             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21754         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21755         trailing byte check.
21757 2015-01-13  David S. Miller  <davem@davemloft.net>
21759         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21761 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21763         * login/logout.c (logout): Use memset rather than bzero.
21764         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21765         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21766         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21767         (_gethtbyaddr): Likewise.
21768         * locale/programs/simple-hash.c (bcopy): Macro removed.
21770 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21773         Add strcmp-power8 object.
21774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21775         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21776         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21777         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21778         __strcmp_power8 implementation.
21779         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21780         * NEWS: Update.
21782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21783         Add strncpy-power8 and stpncpy-power8 objects.
21784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21785         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21786         implementations.
21787         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21788         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21789         __stpncpy_power8 implementation.
21790         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21791         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21792         __strncpy_power8 implementation.
21793         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21794         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21795         * NEWS: Update.
21797         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21798         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21799         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21801         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21802         strncat-power8 object.
21803         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21804         __strcat_power8 implementation.
21805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21806         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21807         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21808         optimized strcat for power8.
21810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21811         strcpy-power8 and stpcpy-power8 objects.
21812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21813         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21814         implementations.
21815         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21816         multiarch stpcpy implementation for POWER8.
21817         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21818         multiarch strcpy implementation for POWER8.
21819         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21820         __strcpy_power8 function.
21821         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21822         stpcpy for POWER8.
21823         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21824         strcpy for POWER8.
21825         * NEWS: Update.
21827 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21829         [BZ #16009]
21830         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21831         weights and rules. Use do_xfrm_cached if data fits in cache,
21832         do_xfrm otherwise.  Moved former main loop to...
21833         * (do_xfrm_cached): New function.
21834         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21835         find_idx, find_position and stack_push.
21836         * (find_idx): New function.
21837         * (find_position): Likewise.
21838         * localedata/sort-test.sh: Added test run for do_xfrm.
21839         * localedata/xfrm-test.c (main): Added command line option
21840         -nocache to run the test with strings that are too large for
21841         the STRXFRM cache.
21843 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21845         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21846         variable to lll_futex_wake call, not the value itself.
21848 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21850         [BZ #17803]
21851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21852         twom64.  Adjust value to 0x1p-64L.
21853         (__scalblnl): Only return standard underflowing result for K <=
21854         -64 not K <= -63; adjust exponent for underflowing result by 64
21855         not 63.
21856         * math/libm-test.inc (scalbn_test_data): Add more tests.
21857         (scalbln_test_data): Likewise.
21859         [BZ #17834]
21860         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21861         0x1p63L.
21862         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21863         not HX.
21864         * math/libm-test.inc (scalbn_test_data): Add more tests.
21865         (scalbln_test_data): Likewise.
21867 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21868             Stefani Seibold  <stefani@seibold.net>
21870         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21871         (sysdep_routines): Add dl-vdso here, ...
21872         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21873         (sysdep_routines): ... not here.
21874         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21875         fallback when vDSO is not presented.
21876         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21877         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21878         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21879         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21880         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21881         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21882         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21883         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21884         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21886         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21887         fallback configurable symbol when vDSO is not available.
21888         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21889         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21890         be able to redefine fallback symbol when vDSO is not available.
21891         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21892         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21894 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21896         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21897         (TLS_INIT_TP): Add tm_capable initialization.
21898         (TLS_DEFINE_INIT_TP): Likewise.
21899         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21900         TCB.
21901         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21902         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21903         calculation.
21904         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21905         transactoion is lock elision is built and TCB tm_capable is set.
21906         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21908         (INTERNAL_SYSCALL_NCS): Likewise.
21909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21910         (INTERNAL_SYSCALL_NCS): Likewise.
21911         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21913         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21914         for powerpc.
21915         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21916         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21917         and remove it for 32 bits case.
21918         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21920         initialization.
21921         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21922         Disable lock elision with rdlocks if elision is not available.
21924         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21925         (sysdep_routines): Add lock elision objects.
21926         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21927         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21928         [pthread_mutex_t] (__elision): Add field.
21929         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21930         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21931         elision definitions for powerpc.
21932         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21933         implementation of lock elision for powerpc.
21934         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21935         implementation of timed lock elision for powerpc.
21936         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21937         implementation of trylock with lock elision for powerpc.
21938         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21939         implementaion of unlock for lock elision for powerpc.
21940         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21941         automatic enable lock elision for mutexes.
21942         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21943         transaction execution definitions for powerpc.
21944         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21945         definitions.
21946         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21947         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21948         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21949         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21950         * NEWS: Update.
21952 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21954         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21955         for #include of <shm-directory.h>.
21957 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21959         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21960         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21962 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21964         [BZ #17791]
21965         * NEWS: Mention bug fix.
21966         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21967         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21968         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21970 2015-01-09  Torvald Riegel <triegel@redhat.com>
21972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21974 2015-01-09  Torvald Riegel <triegel@redhat.com>
21976         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21978 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21980         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21981         pointer and cast to uintptr_t.
21983 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21985         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21986         removed.
21987         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21989 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21991         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21992         of 0.
21994 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21996         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21997         <nptl/pthreadP.h> instead.
21998         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22000         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22001         already defined.
22002         [__SIGRTMIN] (init): Function removed.
22003         [__SIGRTMIN] (initialized): Variable removed.
22004         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22005         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22006         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22007         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22008         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22009         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22010         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22011         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22012         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22013         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22014         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22015         * sysdeps/nptl/allocrtsig.c: New file.
22016         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22017         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22018         * sysdeps/generic/testrtsig.h: File removed.
22020         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22021         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22023         * nptl/nptl-init.c (pthread_functions): Conditionalize
22024         .ptr__nptl_setxid initialization on [SIGSETXID].
22026         * sysdeps/nptl/sys/procfs.h: New file.
22027         * nptl_db/Makefile (headers): Add it.
22028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22030         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22031         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22032         * nptl/pthread_attr_setaffinity.c: Include it.
22033         * nptl/pthread_setattr_default_np.c: Likewise.
22034         * nptl/check-cpuset.h: New file.
22036 2015-01-08  Richard Henderson  <rth@redhat.com>
22038         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22039         (CFLAGS-tst-execstack-prog.c): Likewise.
22040         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22042 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22043             Sandra Loosemore  <sandra@codesourcery.com>
22044             Andrew Jenner  <andrew@codesourcery.com>
22045             Joseph Myers  <joseph@codesourcery.com>
22046             Nathan Sidwell  <nathan@codesourcery.com>
22048         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22049         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22050         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22051         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22052         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22053         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22054         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22055         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22056         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22057         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22058         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22059         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22060         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22061         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22062         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22063         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22064         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22066 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22068         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22069         timespec struct member in syscall macro.
22070         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22071         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22072         first timeval struct member in syscall macro.
22073         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22075 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22077         [BZ #17748]
22078         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22079         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22080         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22081         __feupdateenv and define as weak alias of __feupdateenv.  Use
22082         libm_hidden_weak.
22083         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22084         libm_hidden_def.
22085         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22086         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22087         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22088         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22089         libm_hidden_def.
22090         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22091         __feupdateenv and define as weak alias of __feupdateenv.  Use
22092         libm_hidden_weak.
22093         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22094         libm_hidden_def.
22095         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22096         __feupdateenv and define as weak alias of __feupdateenv.  Use
22097         libm_hidden_weak.
22098         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22099         libm_hidden_def.
22100         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22101         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22102         (__feupdateenv): Likewise.
22103         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22104         __feupdateenv and define as weak alias of __feupdateenv.  Use
22105         libm_hidden_weak.
22106         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22107         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22108         libm_hidden_def.
22109         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22110         function.
22111         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22112         libm_hidden_def.
22113         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22114         __feupdateenv instead of feupdateenv.
22115         (default_libc_feupdateenv_test): Likewise.
22116         (libc_feresetround_ctx): Likewise.
22118 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22120         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22121         prototype.
22123 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22125         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22126         COLL_SYM in a couple of places to avoid uninitialized variable
22127         wanings on tilegx gcc 4.8.2.
22129 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22131         * sysdeps/aarch64/strcpy.S: New file.
22132         * sysdeps/aarch64/stpcpy.S: New file.
22133         * NEWS: Updated.
22135 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22137         * sysdeps/aarch64/strrchr.S: New file.
22138         * NEWS: Updated.
22140 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22142         [BZ #17658]
22143         * stdlib/setenv.c: Fix memory leak when setting large,
22144         duplicate string.
22146 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22148         [BZ #17273]
22149         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22150         and tabs from buffer before parsing fstab entry.
22151         * misc/tst-mntent.c (main): Add test for mount entry with
22152         trailing spaces and tabs.
22154 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #17748]
22157         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22158         * math/fesetround.c (fesetround): Rename to __fesetround and
22159         define as weak alias of __fesetround.  Use libm_hidden_weak.
22160         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22161         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22162         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22163         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22164         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22165         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22166         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22167         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22168         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22169         __fesetround_inline.
22170         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22171         __fesetround_inline instead of __fesetround.
22172         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22173         __fesetround and define as weak alias of __fesetround.  Use
22174         libm_hidden_weak.  Call __fesetround_inline instead of
22175         __fesetround.
22176         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22177         __fesetround and define as weak alias of __fesetround.  Use
22178         libm_hidden_weak.
22179         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22180         Likewise.
22181         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22182         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22183         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22184         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22185         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22186         __fesetround and define as weak alias of __fesetround.  Use
22187         libm_hidden_weak.
22188         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22189         __fesetround instead of fesetround.
22190         (default_libc_feholdexcept_setround): Likewise.
22191         (libc_feholdsetround_ctx): Likewise.
22192         (libc_feholdsetround_noex_ctx): Likewise.
22194         [BZ #17748]
22195         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22196         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22197         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22198         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22199         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22200         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22201         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22202         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22203         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22204         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22205         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22206         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22207         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22208         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22209         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22210         libm_hidden_def.
22211         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22212         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22213         Likewise.
22214         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22215         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22216         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22217         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22218         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22219         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22220         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22221         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22222         __fesetenv instead of fesetenv.
22223         (libc_feresetround_noex_ctx): Likewise.
22224         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22225         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22226         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22227         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22228         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22229         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22230         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22231         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22232         (__feupdateenv): Likewise.
22233         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22234         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22235         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22236         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22238 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22240         [BZ #17806]
22241         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22242         addresses have been freed.
22244 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22246         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22247         and nservall.
22249 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22251         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22252         Clean up check_pf allocation pattern. addresses
22254 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22256         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22257         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22258         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22259         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22260         * nptl/pthread_join.c (pthread_join): Likewise.
22261         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22262         * sysdeps/posix/waitid.c (__waitid): Likewise.
22263         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22264         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22265         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22266         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22268         Likewise.
22269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22270         (__libc_pread64): Likewise.
22271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22272         (__libc_pwrite): Likewise.
22273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22274         (__libc_pwrite64): Likewsie.
22275         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22276         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22277         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22278         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22279         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22280         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22281         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22283         Likewise.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22285         (__libc_pread64): Likewise.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22287         Likewise.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22289         (__libc_pwrite64): Likewise.
22290         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22291         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22292         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22293         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22294         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22295         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22296         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22297         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22298         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22299         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22300         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22301         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22302         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22303         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22304         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22305         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22306         Likewise.
22308 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22310         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22311         (CFLAGS-test-double.c): Likewise.
22312         (CFLAGS-test-ldouble.c): Likewise.
22313         (CPPFLAGS-test-ifloat.c): Likewise.
22314         (CPPFLAGS-test-idouble.c): Likewise.
22315         (CPPFLAGS-test-ildoubl.c): Likewise.
22316         (CFLAGS-test-test-fenv.c): Remove variable.
22317         (CFLAGS-test-misc.c): Likewise.
22319 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22321         [BZ #17797]
22322         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22323         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22324         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22325         CLOCKS_PER_SEC == 1000000.
22326         * time/clocktest.c (main): Replace %ld with %jd and cast to
22327         intmax_t.
22329 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22331         * sysdeps/generic/unwind-resume.h: New file.
22332         * sysdeps/gnu/unwind-resume.c: Include it.
22333         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22334         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22335         argument list.
22336         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22337         global rather than static.
22338         (_Unwind_Resume): Update user.
22339         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22340         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22341         rather than static.  Add __attribute__ ((cold)).
22342         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22343         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22344         * sysdeps/arm/arm-unwind-resume.S: New file.
22345         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22346         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22347         * sysdeps/arm/Makefile [$(subdir) = csu]
22348         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22349         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22350         Add rt-arm-unwind-resume.
22351         [$(subdir) = nptl]
22352         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22353         Add pt-arm-unwind-resume.
22354         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22355         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22357 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #17748]
22360         * include/fenv.h (__feholdexcept): Declare.  Use
22361         libm_hidden_proto.
22362         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22363         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22364         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22365         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22366         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22367         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22368         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22369         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22370         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22371         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22372         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22373         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22374         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22375         (feholdexcept): Likewise.
22376         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22377         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22378         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22379         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22380         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22381         __feholdexcept instead of feholdexcept.
22382         (default_libc_feholdexcept_setround): Likewise.
22384 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22386         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22387         to avoid using stl/str to align destination.
22389 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22391         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22393 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22395         [BZ #17796]
22396         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22397         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22398         Define as weak alias not strong alias.
22400 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22402         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22403         bltzal with addiupc.
22404         (RTLD_START): Ditto.
22406 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22408         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22409         for __vdso_* functions in declarations.
22410         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22411         definitions.
22412         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22413         INTERNAL_VSYSCALL): Use struct return types to check for error.
22415         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22416         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22417         function with cast from llround().
22418         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22419         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22420         Define.
22422 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22424         [BZ #17793]
22425         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22426         Define as weak alias not strong alias.
22428         [BZ #17635]
22429         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22430         ...
22431         * ctype/ctype-extn.c: ... here.
22432         (__isblank_l): Move to ...
22433         * ctype/ctype-c99_l.c: ... here.  New file.
22434         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22435         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22436         Remove variable.
22437         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22438         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22439         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22440         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22441         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22443         [BZ #17777]
22444         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22445         (posix_fadvise64): Define as weak alias not strong alias.
22446         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22447         (posix_fallocate64): Likewise.
22448         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22449         Remove variable.
22450         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22451         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22452         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22453         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22454         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22456 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22458         [BZ #16191]
22459         * NEWS: Mention bug fix.
22460         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22461         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22462         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22463         (HOST_STACK_END_ADDR): Likewise.
22465 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22467         [BZ #17748]
22468         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22469         * math/fegetround.c (fegetround): Rename to __fegetround and
22470         define as weak alias of __fegetround.  Use libm_hidden_weak.
22471         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22472         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22473         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22474         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22475         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22476         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22477         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22478         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22479         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22480         Undefine after rather than before function definition; use
22481         parentheses around function name in definition.
22482         (__fegetround): Also undefine macro after function definition.
22483         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22484         __fegetround and define as weak alias of __fegetround.  Use
22485         libm_hidden_weak.  Do not undefine as macro.
22486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22487         Likewise.
22488         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22489         __fegetround and define as weak alias of __fegetround.  Use
22490         libm_hidden_weak.
22491         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22492         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22493         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22494         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22495         __fegetround and define as weak alias of __fegetround.  Use
22496         libm_hidden_weak.
22497         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22498         __fegetround instead of fegetround.
22500         [BZ #17782]
22501         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22502         Condition macro definition on [__USE_MISC].
22504         [BZ #17781]
22505         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22506         (struct sigaction): Change type of sa_flags field to int.
22508         [BZ #17780]
22509         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22510         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22511         __glibc_reserved0.
22513         * nptl/version.c (banner): Use single year in copyright notice.
22515         * NEWS: Update copyright dates.
22516         * catgets/gencat.c (print_version): Likewise.
22517         * csu/version.c (banner): Likewise.
22518         * debug/catchsegv.sh: Likewise.
22519         * debug/pcprofiledump.c (print_version): Likewise.
22520         * debug/xtrace.sh (do_version): Likewise.
22521         * elf/ldconfig.c (print_version): Likewise.
22522         * elf/ldd.bash.in: Likewise.
22523         * elf/pldd.c (print_version): Likewise.
22524         * elf/sotruss.sh: Likewise.
22525         * elf/sprof.c (print_version): Likewise.
22526         * iconv/iconv_prog.c (print_version): Likewise.
22527         * iconv/iconvconfig.c (print_version): Likewise.
22528         * locale/programs/locale.c (print_version): Likewise.
22529         * locale/programs/localedef.c (print_version): Likewise.
22530         * login/programs/pt_chown.c (print_version): Likewise.
22531         * malloc/memusage.sh (do_version): Likewise.
22532         * malloc/memusagestat.c (print_version): Likewise.
22533         * malloc/mtrace.pl: Likewise.
22534         * manual/libc.texinfo: Likewise.
22535         * nptl/version.c (banner): Likewise.
22536         * nscd/nscd.c (print_version): Likewise.
22537         * nss/getent.c (print_version): Likewise.
22538         * nss/makedb.c (print_version): Likewise.
22539         * posix/getconf.c (main): Likewise.
22540         * scripts/test-installation.pl: Likewise.
22541         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22543 2015-01-02  Will Newton  <will.newton@linaro.org>
22545         * sysdeps/arm/armv7/configure: Removed.
22546         * sysdeps/arm/armv7/configure.ac: Likewise.
22548 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22550         * All files with FSF copyright notices: Update copyright dates
22551         using scripts/update-copyrights.
22552         * intl/plural.c: Regenerated.
22553         * locale/programs/charmap-kw.h: Likewise.
22554         * locale/programs/locfile-kw.h: Likewise.
22556 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22560 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22562         [BZ #17748]
22563         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22564         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22565         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22566         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22567         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22568         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22569         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22570         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22571         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22572         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22573         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22574         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22575         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22576         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22577         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22578         libm_hidden_def.
22579         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22580         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22581         Likewise.
22582         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22583         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22584         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22585         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22586         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22587         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22588         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22589         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22590         __fegetenv instead of fegetenv.
22591         (libc_feholdsetround_noex_ctx): Likewise.
22593 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22595         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22596         (Elf_MIPS_ABIFlags_v0): New structure.
22597         (EF_MIPS_FP64): Define.
22598         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22599         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22600         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22601         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22602         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22603         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22604         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22605         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22606         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22607         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22608         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22609         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22610         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22611         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22612         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22613         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22614         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22615         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22616         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22617         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22618         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22619         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22620         field.
22621         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22622         EF_MIPS_FP64.
22623         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22624         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22625         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22626         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22627         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22628         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22629         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22630         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22631         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22632         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22633         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22634         record the current FP ABI extension.
22635         (mips-mode-switch): Define to show if kernel headers support mode
22636         switching.
22637         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22638         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22639         supported SYSV ABI version to 3.
22640         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22641         feature.
22643 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22644             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22646         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22647         path.
22648         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22650 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22652         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22653         __fegetround and redefine to call __fegetround.  Remove condition
22654         on [!__NO_MATH_INLINES].
22655         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22656         function.
22657         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22659         Remove macro.
22660         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22661         instead of <fenv_libc.h>.
22662         (__llrintl): Call fegetround instead of __fegetround.
22663         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22664         instead of <fenv_libc.h>.
22665         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22666         (__lrintl): Call fegetround instead of __fegetround.
22667         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22668         instead of <fenv_libc.h>.
22669         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22670         (__rintl): Call fegetround instead of __fegetround.
22672 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22674         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22675         arrays.
22677 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22679         [BZ #17775]
22680         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22681         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22682         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22684 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22686         * sysdeps/i386/tls-macros.h: Include <features.h>.
22687         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22688         (TLS_IE): Likewise.
22689         (TLS_LD): Likewise.
22690         (TLS_GD): Likewise.
22691         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22692         define for GCC >= 5.0.
22694 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22696         * math/test-fenv.c (test_single_exception, set_single_exc,
22697         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22698         feexcp_mask_test, feenable_test, fe_single_test): Add
22699         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22700         case where they are not used.
22701         * math/libm-test.inc: Likewise.
22702         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22703         unused in the absence of FP rounding/exception support.
22704         * stdio-common/tst-printf-round.c: Likewise.
22705         * stdlib/tst-strtod-round.c: Likewise.
22706         * stdlib/tst-strtod-underflow.c: Likewise.
22708 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22710         [BZ #17723]
22711         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22712         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22713         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22714         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22715         libm_hidden_weak.
22716         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22717         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22718         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22719         libm_hidden_def.
22720         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22721         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22722         libm_hidden_weak.
22723         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22724         Likewise.
22725         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22726         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22727         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22728         libm_hidden_weak.
22729         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22730         libm_hidden_def.
22731         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22732         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22733         (__feraiseexcept): Likewise.
22734         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22735         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22736         libm_hidden_weak.
22737         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22738         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22739         libm_hidden_def.
22740         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22741         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22742         Use libm_hidden_def.
22743         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22744         libm_hidden_def.
22745         (feraiseexcept): Define as weak not strong alias.  Use
22746         libm_hidden_weak.
22747         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22748         New inline function.  Factored out of ...
22749         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22750         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22751         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22752         feraiseexcept.
22753         * math/w_acos.c (__acos): Likewise.
22754         * math/w_asin.c (__asin): Likewise.
22755         * math/w_ilogb.c (__ilogb): Likewise.
22756         * math/w_j0.c (y0): Likewise.
22757         * math/w_j1.c (y1): Likewise.
22758         * math/w_jn.c (yn): Likewise.
22759         * math/w_log.c (__log): Likewise.
22760         * math/w_log10.c (__log10): Likewise.
22761         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22762         * sysdeps/aarch64/fpu/math_private.h
22763         (libc_feupdateenv_test_aarch64): Likewise.
22764         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22765         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22766         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22767         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22768         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22769         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22770         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22771         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22772         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22773         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22775 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22777         [BZ #17732]
22778         * io/test-utime.c (main): Replace %ld with %jd and cast to
22779         intmax_t.
22780         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22781         * nptl/tst-mutex5.c: Include <stdint.h>.
22782         (do_test): Replace %ld with %jd and cast to intmax_t.
22783         * posix/tst-regex.c (run_test): Likewise.
22784         (run_test_backwards): Likewise.
22785         * rt/tst-clock.c: Include <stdint.h>.
22786         (clock_test): Replace %ld with %jd and cast to intmax_t.
22787         * rt/tst-cpuclock1.c: Include <stdint.h>.
22788         (do_test): Replace %lu with %ju and cast to uintmax_t.
22789         * rt/tst-cpuclock2.c: Include <stdint.h>.
22790         (do_test): Replace %lu with %ju and cast to uintmax_t.
22791         * rt/tst-mqueue1.c: Include <stdint.h>.
22792         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22793         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22794         intmax_t.
22795         * rt/tst-mqueue4.c (do_test): Likewise.
22796         * rt/tst-timer4.c: Include <stdint.h>.
22797         (check_ts): Replace %ld with %jd and cast to intmax_t.
22798         (do_test): Likewise.
22799         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22800         and cast to intmax_t.
22801         * sysdeps/pthread/tst-timer.c (main): Likewise.
22802         * time/clocktest.c (main): Likewise.
22803         * time/tst-posixtz.c (do_test): Likewise.
22804         * timezone/tst-timezone.c (main): Likewise.
22806 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22807             H.J. Lu  <hongjiu.lu@intel.com>
22809         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22810         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22811         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22812         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22813         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22814         version if bit_Fast_Unaligned_Load is set.
22815         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22816         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22817         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22818         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22819         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22820         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22821         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22822         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22823         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22824         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22825         to 4.
22826         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22827         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22828         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22829         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22831 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22833         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22834         instead of #if to avoid a Wundef warning.
22835         * stdlib/tst-limits.c (do_test): Likewise.
22837         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22838         parallel other exception macros.
22839         (fegetenv): Convert from macro to extern inline so that it applies
22840         retroactively to inline functions already seen by the compiler.
22841         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22843         * posix/Makefile (before-compile): Use $(objpfx) for
22844         posix-conf-vars-def.h.
22846 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22848         * posix/getconf.c (main): Use size_t for type of I.
22849         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22850         NSPEC.
22852         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22853         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22854         * posix/posix-envs.def: Likewise.
22855         * sysdeps/posix/sysconf.c: Likewise.
22856         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22857         (specs): Remove array.
22858         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22859         array.
22861         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22862         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22863         (__sysconf): Use CONF_IS_* macros.
22865         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22866         ($(objpfx)posix-conf-vars-def.h): New target.
22867         * posix/posix-conf-vars.list: New file.
22868         * posix/posix-conf-vars.h: New file.
22869         * posix/confstr.c: Include posix-conf-vars.h.
22870         (confstr): Use CONF_IS_* macros.
22871         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22872         CONF_IS_* macros.
22873         * scripts/gen-posix-conf-vars.awk: New file.
22875 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22877         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22878         fegetround): Add no-op macros to avoid linknamespace issues.
22880         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22881         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22883         * sysdeps/unix/sysv/linux/tile/sysdep.h
22884         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22885         assembly-specific section to avoid a redefinition warning.
22887         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22888         long before casting to pointer to avoid a cast warning.
22890 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22892         * sysdeps/tile/tilegx/Implies: New file.
22894 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22896         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22898 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22900         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22902 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22905         not define.
22906         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22907         <kernel-features.h>.
22908         (__utimes) [__NR_utimes]: Make code unconditional.
22909         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22910         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22911         (__ASSUME_UTIMES): Do not undefine.
22912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22913         (__ASSUME_UTIMES): Likewise.
22914         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22915         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22916         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22917         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22919 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22921         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22923 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22925         [BZ #17747]
22926         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22927         alias to weak alias for j0l, y0l.
22928         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22929         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22931         [BZ #17746]
22932         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22933         conversion.
22935 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22937         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22938         to zero if not already defined.
22940 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22942         [BZ #17724]
22943         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22944         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22945         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22946         (char *) casts added.
22947         * sysdeps/ieee754/k_standardf.c: New file.
22948         * sysdeps/ieee754/k_standardl.c: Likewise.
22949         * math/Makefile (libm-support): Remove k_standard.
22950         (libm-calls): Add k_standard.
22952 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22954         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22955         Optimize to avoid an unnecessary FPCR read.
22957 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22959         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22960         Optimize to reduce FPCR/FPSR accesses.
22962 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22964         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22965         Call libc_fetestexcept_aarch64.
22967 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22969         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22970         Call libc_fesetround_aarch64.
22972 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22974         [BZ #17733]
22975         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22976         (__bind): Do not define as weak alias.
22977         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22978         define.
22979         (__getsockname): Do not define as weak alias.
22981 2014-12-22  Will Newton  <will.newton@linaro.org>
22983         * manual/install.texi: Document that we require bison 2.7
22984         or above.
22985         * INSTALL: Regenerate.
22986         * configure.ac: Use AC_CHECK_PROG_VER instead of
22987         AC_PATH_PROG when checking for bison and check for
22988         version 2.7 or above.
22989         * configure: Regenerate.
22991 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22993         [BZ #17745]
22994         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22995         * sysdeps/tile/ffsll.c (ffsll): To here.
22997         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22999 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23001         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23002         if not defined.
23003         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23004         definition.
23005         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23006         hidden ___tls_get_addr.
23007         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23008         hidden __tls_get_addr.
23009         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23010         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23011         Likewise.
23013 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23015         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23016         _dl_init call.
23018 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23020         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23021         from "call _dl_init@PLT".
23022         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23024 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23026         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23027         guarantees.
23029 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23031         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23033 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23035         [BZ #17744]
23036         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23037         strnlen.
23039 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23041         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23042         of multu on MIPSr6.
23043         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23044         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23045         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23046         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23047         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23049 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23051         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23052         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23053         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23054         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23055         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23056         mips32r6/mips64r6.
23057         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23059 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23061         * string/strncat.c (STRNCAT): Simplify implementation.
23063 2014-12-19  David S. Miller  <davem@davemloft.net>
23065         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23066         access the quad as both a long double and as a series of 4 words.
23068         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23069         link_map->l_info array access.
23071 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23073         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23075         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23076         * math/atest-exp2.c (TIMEOUT): Likewise.
23077         * math/atest-sincos.c (TIMEOUT): Likewise.
23079 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23081         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23082         -Wno-error with -fno-builtin-lround.
23084 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23086         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23087         Contains futex constants and functions moved over from ...
23088         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23089         <lowlevellock-futex.h>.
23090         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23091         (lll_timedwait_tid): Add comments and parentheses around macro
23092         arguments.
23094 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23096         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23097         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23098         (__lll_private_flag): Remove.
23099         (lll_futex_wait): Likewise.
23100         (lll_futex_timed_wait): Likewise.
23101         (lll_futex_wake): Likewise.
23102         (lll_futex_requeue): Likewise.
23103         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23104         (__lll_timedwait_tid): Spell out argument names.
23105         (lll_timedwait_tid): Add comments and parentheses around macro
23106         arguments.
23107         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23108         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23110 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23112         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23113         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23114         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23115         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23116         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23117         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23118         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23119         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23120         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23121         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23122         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23123         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23124         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23125         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23126         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23127         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23128         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23129         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23130         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23132 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23134         * sysdeps/x86_64/x32/Makefile: New file.
23136 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23138         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23139         1L with (mp_limb_t) 1.
23141 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23143         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23144         * nptl/libc_pthread_init.c: ... here.
23145         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23146         * nptl/register-atfork.c: ... here.
23148         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23149         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23150         Use assert_perror to check its return value.
23151         (__gai_create_helper_thread): Likewise.
23153         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23155         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23157 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23159         [BZ #17725]
23160         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23161         __profil_counter.
23162         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23163         Likewise.
23164         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23165         Likewise.
23166         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23167         Likewise.
23168         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23169         (profil_counter): Likewise.
23170         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23171         (profil_counter): Likewise.
23172         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23173         Likewise.
23174         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23175         Likewise.
23176         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23177         (profil_counter): Likewise.
23178         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23179         Likewise.
23180         [!__profil_counter] (profil_counter): Define as weak alias of
23181         __profil_counter.
23182         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23183         (profil_counter): Rename to __profil_counter.
23184         [!__profil_counter] (profil_counter): Define as weak alias of
23185         __profil_counter.
23186         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23187         (profil_counter): Rename to __profil_counter.
23188         [!__profil_counter] (profil_counter): Define as weak alias of
23189         __profil_counter.
23190         * sysdeps/posix/profil.c: Update comment referring to
23191         profil_counter.
23192         (__profil): Use __profil_counter instead of profil_counter.
23193         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23194         __profil_counter.  Use __profil_counter_ushort and
23195         __profil_counter_uint in definitions.
23196         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23197         instead of profil_counter_uint and profil_counter_ushort.
23199         [BZ #17722]
23200         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23201         define as weak alias of __inet_makeaddr.
23202         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23203         as weak alias of __inet_addr.
23204         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23205         as weak alias of __inet_pton.  Use libc_hidden_weak.
23206         * include/arpa/inet.h (__inet_pton): Declare.  Use
23207         libc_hidden_proto.
23208         (inet_makeaddr): Don't use libc_hidden_proto.
23209         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23210         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23211         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23212         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23213         Remove variable.
23214         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23215         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23217 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23219         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23221 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23223         * stdio-common/bug-vfprintf-nargs.c (do_test):
23224         Cast value to intptr_t to avoid format warning
23225         for usage with PRIdPTR printing macro.
23227 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23229         * libio/tst-widetext.c (do_test):
23230         Use format type %td instead of %Zd for ptrdiff_t
23231         in order to avoid format warning.
23233 2014-12-17  Andreas Schwab  <schwab@suse.de>
23235         * nscd/mem.c (gc): Add size_t cast to match printf format.
23237 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23239         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23240         (init): Apply PTR_MANGLE to pointers before storing them.
23241         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23242         before using them.
23244 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23246         [BZ #17719]
23247         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23248         define as weak alias of __memrchr.
23249         (__memrchr): Do not define as strong alias of memrchr.
23250         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23251         Remove variable.
23252         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23253         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23254         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23256         [BZ #17717]
23257         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23258         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23259         (if_indextoname): Rename to __if_indextoname and define as weak
23260         alias of __if_indextoname.  Use libc_hidden_weak.
23261         (if_freenameindex): Rename to __if_freenameindex and define as
23262         weak alias of __if_freenameindex.
23263         (if_nameindex): Rename to __if_nameindex and define as weak alias
23264         of __if_nameindex.
23265         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23266         __if_nametoindex and define as weak alias of __if_nametoindex.
23267         Use libc_hidden_weak.
23268         (if_freenameindex): Rename to __if_freenameindex and define as
23269         weak alias of __if_freenameindex.
23270         (if_nameindex): Rename to __if_nameindex and define as weak alias
23271         of __if_nameindex.
23272         (if_indextoname): Rename to __if_indextoname and define as weak
23273         alias of __if_indextoname.  Use libc_hidden_weak.
23274         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23275         __if_nametoindex and define as weak alias of __if_nametoindex.
23276         Use libc_hidden_weak.
23277         (if_freenameindex): Rename to __if_freenameindex and define as
23278         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23279         (if_nameindex_netlink): Use __if_freenameindex instead of
23280         if_freenameindex.
23281         (if_nameindex): Rename to __if_nameindex and define as weak alias
23282         of __if_nameindex.  Use libc_hidden_weak.
23283         (if_indextoname): Rename to __if_indextoname and define as weak
23284         alias of __if_indextoname.  Use libc_hidden_weak.
23285         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23286         libc_hidden_proto.
23287         [!_ISOMAC] (__if_freenameindex): Likewise.
23288         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23289         if_nametoindex.
23290         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23291         variable.
23292         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23293         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23294         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23295         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23296         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23297         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23298         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23300         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23301         Remove variable.
23302         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23303         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23305 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23307         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23308         subscript above bounds'
23310         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23311         bounds.
23313 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23315         * libio/tst-fopenloc.c: Use test-skeleton.c.
23317         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23318         (entry): Rename to ITEM.
23319         (do_test, comp): Adjust.
23321         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23323 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23325         * string/tester.c: Include <libc-internal.h>.
23326         (test_memset): Ignore -Wmemset-transposed-args.
23328 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23330         * misc/tst-mntent2.c (do_test): Fix warning.
23332 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23334         * elf/tst-unique4lib.cc(a): Mark as used.
23336 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23338         [BZ #17630]
23339         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23340         names.
23342 2014-12-16  Allan McRae  <allan@archlinux.org>
23344         * stdio-common/Makefile (tests): Re-add bug26.
23346 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23348         [BZ #17657]
23349         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23350         static array.
23352 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23354         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23355         (__lll_lock_wait): Likewise.
23356         (__lll_timedlock_wait): Likewise.
23357         (__lll_timedwait_tid): Likewise.
23358         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23359         (__lll_robust_timedlock_wait): Likewise.
23360         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23361         (lll_cond_trylock): Likewise.
23362         (__lll_lock): Likewise.
23363         (__lll_robust_lock): Likewise.
23364         (__lll_cond_lock): Likewise.
23365         (lll_robust_cond_lock): Likewise.
23366         (__lll_timedlock): Likewise.
23367         (__lll_robust_timedlock): Likewise.
23368         (__lll_unlock): Likewise.
23369         (__lll_robust_unlock): Likewise.
23370         (lll_wait_tid): Likewise.
23371         (lll_timedwait_tid): Likewise.
23373 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23375         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23377 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23379         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23381 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23383         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23384         * stdio-common/tst-sprintf.c: Likewise.
23386 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23388         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23390 2014-12-15  Jeff Law  <law@redhat.com>
23392         [BZ #16617]
23393         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23394         on the heap.  (CVE-2012-3406)
23395         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23396         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23397         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23399 2014-12-15  Will Newton  <will.newton@linaro.org>
23401         * manual/install.texi: Bump required version of texinfo
23402         to 4.7 from 4.5.
23403         * INSTALL: Regenerated.
23404         * configure.ac: Check for makeinfo version 4.7 and above.
23405         * configure: Regenerated.
23407 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23409         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23410         PREFIX, string constant to insert between directory and name.
23411         * sysdeps/posix/shm_open.c: Update caller.
23412         * sysdeps/posix/shm_unlink.c: Likewise.
23413         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23414         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23415         (SEM_SHM_PREFIX): New macro.
23416         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23417         [$(have-thread-library) = no].
23418         * nptl/Makefile (libpthread-routines): Add shm-directory.
23419         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23420         * sysdeps/nptl/shm-directory.h: New file.
23421         * sysdeps/posix/shm-directory.c
23422         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23423         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23424         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23425         INTERNAL_SYSCALL.
23426         (__where_is_shmfs): Function removed.
23427         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23428         Variables removed.
23429         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23430         Use SHM_GET_NAME.
23431         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23433         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23434         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23435         unconditional for use inside libpthread.
23436         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23438 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23440         * nptl/pthread_getaffinity.c: New file.
23441         * nptl/pthread_setaffinity.c: New file.
23442         * nptl/pthread_getname.c: New file.
23443         * nptl/pthread_setname.c: New file.
23445         * nptl/pthread_create.c (START_THREAD_DEFN)
23446         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23448 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23449             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23451         * resolv/res_send.c (send_vc): Disable warning resplen may
23452         be used uninitialized.
23454 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23456         * nptl/tst-mutex6.c
23457         (ATTR_NULL): New define checks ATTR against NULL.
23458         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23459         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23461 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23463         [BZ #17581]
23464         * malloc/hooks.c
23465         (mem2mem_check): Revert my previous change.
23466         (malloc_check_get_size): Revert my previous change.
23467         (mem2chunk_check): Revert my previous change.
23469 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23471         * sysdeps/posix/shm-directory.c: New file.
23472         * sysdeps/posix/shm-directory.h: New file.
23473         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23474         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23475         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23476         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23477         Transmute EPERM to EACCES.
23478         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23479         from ...
23480         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23481         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23483 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23485         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23486         pointer and cast to uintptr_t.
23487         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23488         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23489         Add cast to avoid warning.
23490         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23492 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23494         * nptl/semaphore.h: Move to ...
23495         * sysdeps/pthread/semaphore.h: ... here.
23496         * Makefile (installed-headers): Change nptl/semaphore.h to
23497         sysdeps/pthread/semaphore.h.
23499 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23501         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23502         generated error format strings.
23504         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23505         -Wformat-extra-args warnings for scanf formats.
23506         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23507         test of zero-length format (duh).
23508         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23509         corner-case scanf format test.
23510         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23511         generated fprintf format string.
23512         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23513         corner-case sprintf format tests.
23514         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23515         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23516         -Wformat-extra-args warnings throughout.
23517         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23518         (CFLAGS-scanf4.c): Likewise.
23519         (CFLAGS-scanf7.c): Likewise.
23520         (CFLAGS-tst-sprintf.c): Likewise.
23521         (CFLAGS-tst-printf.c): Likewise.
23522         (CFLAGS-tst-printfsz.c): Likewise.
23524 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23526         * include/cpio.h: New file.
23527         * include/fmtmsg.h: Likewise.
23529         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23530         corresponding format argument to size_t.
23531         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23532         arguments.
23533         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23534         corresponding format argument to size_t.
23535         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23536         arguments.
23537         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23538         corresponding format argument to size_t.
23539         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23540         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23541         (CFLAGS-tst-mbswcs2.c): Likewise.
23542         (CFLAGS-tst-mbswcs3.c): Likewise.
23543         (CFLAGS-tst-mbswcs4.c): Likewise.
23544         (CFLAGS-tst-mbswcs5.c): Likewise.
23545         (CFLAGS-tst-trans.c): Likewise.
23547 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23549         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23550         rather than assuming they won't contain any '%'s.
23552 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23554         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23555         inhibit_loop_to_libcall to avoid recursive calls.
23556         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23557         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23559 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23561         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23562         prototype.
23564 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23566         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23567         integer value instead of boolean.
23569 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23571         * malloc/malloc.c: Fix powerof2 check.
23573 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23575         * locale/programs/locfile.h (maybe_swap_uint32):
23576         Remove inline and add unused attribute.
23578 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23580         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23581         Truncating assembler expression to a .long expression.
23583 2014-12-11  Andreas Schwab  <schwab@suse.de>
23585         * elf/rtld.c (struct map_args): Constify str member.
23586         (do_preload): Constify fname argument.
23588 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23591         constants definition.
23593 2014-12-11  Andreas Schwab  <schwab@suse.de>
23595         [BZ #16657]
23596         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23597         FORCE_ELISION instead of DO_ELISION.
23598         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23599         Remove.
23600         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23601         Likewise.
23603         * iconvdata/gconv-modules: Remove duplicate entry.
23605 2014-12-11  Will Newton  <will.newton@linaro.org>
23607         Merge gettext 0.19.3 into intl/.
23609         This involves a number of cosmetic changes to comments
23610         and ANSI function definitions and prototypes throughout
23611         all the files. The gettext copyright header is used but
23612         with the date ranges taken from the glibc copy.
23614         * NEWS: Add gettext merge to 2.21.
23615         * intl/bindtextdom.c: Switch to gettext copyright.
23616         Use ANSI definitions and prototypes.
23617         Use gl_* locking primitives rather than __libc_* ones.
23618         Use __builtin_expect rather than __glibc_likely/unlikely.
23619         * intl/dcgettext.c: Switch to gettext copyright.
23620         Use ANSI definitions and prototypes.
23621         * intl/dcigettext.c: Switch to gettext copyright.
23622         Use ANSI definitions and prototypes.
23623         (INTDIV0_RAISES_SIGFPE): New define.
23624         Use gl_* locking primitives rather than __libc_* ones.
23625         Include eval-plural.h instead of plural-eval.c.
23626         Use __builtin_expect rather than __glibc_likely/unlikely.
23627         * intl/dcngettext.c: Switch to gettext copyright.
23628         Use ANSI definitions and prototypes.
23629         * intl/dgettext.c: Likewise.
23630         * intl/dngettext.c: Likewise.
23631         * intl/plural-eval.c: Renamed to...
23632         * intl/eval-plural.h: ...this.
23633         * intl/explodename.c: Switch to gettext copyright.
23634         Use ANSI definitions and prototypes.
23635         (_nl_explode_name): Use strchr instead of __rawmemchr.
23636         * intl/finddomain.c: Switch to gettext copyright.
23637         Use ANSI definitions and prototypes.
23638         Use gl_* locking primitives rather than __libc_* ones.
23639         (_nl_find_domain): Use malloc rather than alloca for
23640         allocation of temporary locale name.
23641         * intl/gettext.c: Switch to gettext copyright.
23642         Use ANSI definitions and prototypes.
23643         * intl/gettextP.h: Switch to gettext copyright.
23644         Use ANSI definitions and prototypes.
23645         Use gl_* locking primitives rather than __libc_* ones.
23646         * intl/gmo.h: Switch to gettext copyright.
23647         (struct sysdep_string): Move struct segment_pair outside of
23648         struct definition.
23649         * intl/hash-string.c: Use ANSI definitions and prototypes.
23650         * intl/hash-string.h: Switch to gettext copyright.
23651         Use ANSI definitions and prototypes.
23652         * intl/l10nflist.c: Switch to gettext copyright.
23653         Use ANSI definitions and prototypes.
23654         (_nl_normalize_codeset): Avoid integer overflow.
23655         * intl/loadinfo.h: Switch to gettext copyright.
23656         Use ANSI definitions and prototypes.
23657         (LIBINTL_DLL_EXPORTED): New define.
23658         (PATH_SEPARATOR): New define.
23659         * intl/loadmsgcat.c: Switch to gettext copyright.
23660         * intl/localealias.c: Switch to gettext copyright.
23661         Use ANSI definitions and prototypes.
23662         (_nl_expand_alias): Use PATH_SEPARATOR.
23663         * intl/ngettext.c: Switch to gettext copyright.
23664         Use ANSI definitions and prototypes.
23665         * intl/plural-exp.c: Likewise.
23666         * intl/plural-exp.h: Switch to gettext copyright.
23667         Use ANSI definitions and prototypes.
23668         (struct expression): Move definition of enum operator outside
23669         of struct definition.
23670         * intl/plural.c: Regenerate.
23671         * intl/plural.y: Switch to gettext copyright.
23672         Use ANSI definitions and prototypes.
23673         Port to bison 3.0.
23674         * intl/textdomain.c: Switch to gettext copyright.
23675         Use ANSI definitions and prototypes.
23676         Use gl_* locking primitives rather than __libc_* ones.
23678 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23680         * debug/warning-nop.c: Add used atrribute.
23682 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23684         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23686         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23687         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23688         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23690 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23691             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23693         [BZ #17634]
23694         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23695         Undefine after defining function.  Define as weak alias of
23696         __wcschr.  Use libc_hidden_weak.
23697         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23698         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23699         (libc_hidden_def): Also define __GI___wcschr alias.
23700         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23701         __wcschr and define as weak alias of __wcschr.
23702         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23703         __wcschr.
23704         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23705         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23706         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23707         libc_hidden_weak.  Do not use libc_hidden_def.
23708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23709         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23710         __GI___wcschr alias.
23711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23712         [IS_IN (libc)] (wcschr): Define as macro expanding to
23713         __redirect_wcschr.
23714         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23715         [IS_IN (libc)] (__wcschr_power6): Likewise.
23716         [IS_IN (libc)] (__wcschr_power7): Likewise.
23717         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23718         instead of wcschr.
23719         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23720         __libc_wcschr.
23721         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23722         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23723         __wcschr and define as weak alias of __wcschr.  Use
23724         libc_hidden_builtin_def.
23725         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23726         as weak alias of __wcschr.  Use libc_hidden_weak.
23727         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23728         wcschr.
23729         * time/era.c (_nl_init_era_entries): Likewise.
23730         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23731         variable.
23732         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23733         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23735 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23737         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23738         format for long int variable.
23740 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23742         [BZ #10672]
23743         * manual/search.texi: (Array Sort Function): Remove claim how to make
23744         qsort stable.
23746 2014-12-10  Andreas Schwab  <schwab@suse.de>
23748         [BZ #12847]
23749         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23750         user-controlled locks.
23752 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23754         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23755         register.
23757 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23759         * configure.ac (--disable-werror): New configure option.
23760         (enable_werror): New AC_SUBST.
23761         * configure: Regenerated.
23762         * config.make.in (enable-werror): New variable.
23763         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23764         -Wno-error=undef.
23765         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23766         * manual/install.texi (Configuring and compiling): Document
23767         --disable-werror.
23768         * INSTALL: Regenerated.
23769         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23770         (CFLAGS-tst-chk2.c): Likewise.
23771         (CFLAGS-tst-chk3.c): Likewise.
23772         (CFLAGS-tst-chk4.cc): Likewise.
23773         (CFLAGS-tst-chk5.cc): Likewise.
23774         (CFLAGS-tst-chk6.cc): Likewise.
23775         (CFLAGS-tst-lfschk1.c): Likewise.
23776         (CFLAGS-tst-lfschk2.c): Likewise.
23777         (CFLAGS-tst-lfschk3.c): Likewise.
23778         (CFLAGS-tst-lfschk4.cc): Likewise.
23779         (CFLAGS-tst-lfschk5.cc): Likewise.
23780         (CFLAGS-tst-lfschk6.cc): Likewise.
23782         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23783         (main): Disable -Wdeprecated-declarations around calls to
23784         register_printf_function.
23786         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23787         (do_test): Disable -Wdiv-by-zero around some calls to
23788         fwrite_unlocked and fread_unlocked.
23790         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23791         (DIAG_POP_NEEDS_COMMENT): Likewise.
23792         (_DIAG_STR1): Likewise.
23793         (_DIAG_STR): Likewise.
23794         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23795         * stdio-common/bug21.c: Include <libc-internal.h>.
23796         (do_test): Disable -Wformat around call to sscanf.
23797         * stdio-common/scanf14.c: Include <libc-internal.h>.
23798         (main): Disable -Wformat around some calls to scanf functions.
23800 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23802         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23804 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23806         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23807         stack variable alignment.
23809 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23811         [BZ #17682]
23812         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23813         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23814         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23815         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23816         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23817         __getrlimit instead of getrlimit.
23818         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23819         __gettimeofday instead of gettimeofday.
23820         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23821         Likewise.
23822         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23823         Likewise.
23824         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23825         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23826         Remove variable.
23827         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23828         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23830 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23832         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23833         for wide-character tests.
23835 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23837         * io/openat64.c: #include <libc-internal.h>
23838         (__openat64): Prototypify.  Use ignore_value on MODE.
23839         * io/openat.c: Likewise.
23840         * misc/reboot.c: #include <libc-internal.h>
23841         (reboot): Prototypify.  Use ignore_value on HOWTO.
23842         * misc/ptrace.c: #include <libc-internal.h>
23843         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23845 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23847         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23848         XPG4, UNIX98 and XOPEN2K.
23849         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23850         Remove variable.
23851         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23853 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23855         * libio/fileops.c: Use ISO C style for function definitions.
23856         * libio/iofopen.c: Likewise.
23857         * libio/wfileops.c: Likewise.
23859         [BZ #17653]
23860         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23861         offset on EOF.
23862         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23863         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23864         (fgets_func): Function pointer to fgets and fgetws.
23865         (do_ftell_test): Add test to verify ftell value after read
23866         EOF.
23867         (do_test): Set fgets_func.
23869         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23870         O_TRUNC flag for w and w+ modes.
23871         (do_rewind_test): Likewise.
23872         (do_ftell_test): Likewise.
23873         (do_write_test): Likewise.
23875         [BZ #17647]
23876         * libio/fileops.c (do_ftell): Seek only when there are
23877         unflushed writes.
23878         * libio/wfileops.c (do_ftell_wide): Likewise.
23879         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23880         test case.
23881         (do_one_test): Call it.
23883 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23885         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23886         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23887         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23888         Remove variable.
23889         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23890         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23891         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23893 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23895         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23896         Remove variable.
23897         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23899         [BZ #17668]
23900         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23901         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23902         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23903         __freeifaddrs.  Use libc_hidden_weak.
23904         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23905         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23906         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23907         __freeifaddrs.  Use libc_hidden_weak.
23908         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23909         __getifaddrs and define as weak alias of __getifaddrs.  Use
23910         libc_hidden_weak.
23911         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23912         __freeifaddrs.  Use libc_hidden_weak.
23913         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23914         Remove variable.
23915         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23916         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23918 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23920         [BZ #17601]
23921         * sysdeps/mips/start.S (__start): Use indirect jump to call
23922         __libc_start_main.
23924 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23926         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23928         * nptl/tst-mutex1.c: Include <stdbool.h>.
23929         [!ATTR] (ATTR_NULL): New macro.
23930         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23931         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23932         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23934         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23935         to char *.
23937         [BZ #17665]
23938         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23939         Change conditional to [__USE_MISC].
23941         [BZ #17664]
23942         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23943         fgets_unlocked.
23944         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23945         __fgets_unlocked.
23946         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23947         fgets_unlocked.
23948         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23949         Remove variable.
23950         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23951         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23952         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23953         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23954         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23955         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23956         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23957         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23958         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23960         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23962 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23965         Remove strpbrk objects.
23966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23967         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23968         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23969         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23970         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23971         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23974         Remove strcspn objects.
23975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23976         (__libc_ifunc_impl_list): Remove strcspn implementation.
23977         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23978         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23979         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23980         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23983         Remove strspn objetcs.
23984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23985         (__libc_ifunc_impl_list): Remove strspn implementation.
23986         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23987         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23988         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23989         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23991 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23993         [BZ #17581]
23994         * malloc/hooks.c
23995         (mem2mem_check): Add a terminator to the chain of checking blocks.
23996         (malloc_check_get_size): Use it here.
23997         (mem2chunk_check): Ditto.
23999 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24001         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24002         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24004 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24006         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24008         * nptl/nptl-init.c: Include libc-internal.h.
24009         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24011         * elf/ldconfig.c (search_dir): Expand comment.
24013 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24015         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24016         variable.
24017         (linknamespace-symlist-stdlibs-tests): Likewise.
24018         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24019         instead of $(objpfx)symlist-stdlibs.
24020         (linknamespace-libs-isoc): New variable.
24021         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24022         (linknamespace-libs-ISO): New variable.
24023         (linknamespace-libs-ISO99): Likewise.
24024         (linknamespace-libs-ISO11): Likewise.
24025         (linknamespace-libs-XPG3): Likewise.
24026         (linknamespace-libs-XPG4): Likewise.
24027         (linknamespace-libs-POSIX): Likewise.
24028         (linknamespace-libs-UNIX98): Likewise.
24029         (linknamespace-libs-XOPEN2K): Likewise.
24030         (linknamespace-libs-POSIX2008): Likewise.
24031         (linknamespace-libs-XOPEN2K8): Likewise.
24032         ($(objpfx)symlist-stdlibs): Replace by
24033         $(linknamespace-symlist-stdlibs-tests).  Use
24034         $(linknamespace-libs-$*) as set of libraries.
24035         ($(linknamespace-header-tests)): Update dependencies.  Use
24036         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24037         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24038         * conform/linknamespace.pl: Remove comment about considering
24039         definitions of symbols from irrelevant libraries.
24041 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24043         [BZ #13862]
24044         * elf/dl-tls.c: Include <atomic.h>.
24045         (oom): Remove #ifdef SHARED/#endif.
24046         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24047         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24048         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24049         big enough.
24050         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24051         * nptl/Makefile (tests): Add tst-stack4.
24052         (modules-names): Add tst-stack4mod.
24053         ($(objpfx)tst-stack4): New.
24054         (tst-stack4mod.sos): Likewise.
24055         ($(objpfx)tst-stack4.out): Likewise.
24056         ($(tst-stack4mod.sos)): Likewise.
24057         (clean): Likewise.
24058         * nptl/tst-stack4.c: New file.
24059         * nptl/tst-stack4mod.c: Likewise.
24061 2014-11-27  J. Brown  <jb999@gmx.de>
24063         * sysdeps/x86/bits/string.h: Add recent CPUs.
24065 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24067         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24068         sigblock.
24070         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24071         feof.
24073         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24074         variable.
24076 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24078         * nscd/connections.c: Include libc-internal.h because of macro
24079         usage ignore_value.
24081 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24083         * string/bits/string3.h (__warn_memset_zero_len): Don't
24084         declare for gcc newer than 5.0.
24085         (memset): Don't test for zero-length __LEN for gcc newer than
24086         5.0.
24088 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24090         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24091         size_t for %zu format.
24093         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24094         difference, not %ju.
24096 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24098         * include/libc-internal.h (ignore_value): New macro.
24099         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24100         with ignore_value.
24102         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24103         definition.
24105         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24106         pthread_cleanup_push to void *.
24108         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24109         Undefine.
24111         [BZ #16619]
24112         [BZ #16740]
24113         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24114         instead of 1L << 52.
24116         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24117         * libio/bug-rewind2.c (do_test): Likewise.
24119         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24120         * debug/test-strcpy_chk-ifunc.c: Likewise.
24121         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24122         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24123         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24124         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24125         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24126         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24127         * Rules [$(multi-arch) = no] (tests): Do not filter out
24128         $(tests-ifunc).
24129         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24130         * debug/Makefile (tests-ifunc): Remove variable.
24131         (tests): Do not add $(tests-ifunc).
24132         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24133         (tests): Do not add $(tests-ifunc).
24134         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24135         [TEST_IFUNC]: Remove conditionals.
24136         * string/test-string.h (TEST_IFUNC): Remove macro.
24137         [TEST_IFUNC]: Remove conditionals.
24139         * string/test-strchr.c [!WIDE] (L): New macro.
24140         [WIDE] (L): Likewise.
24141         (check1): Use CHAR instead of char.  Use L on string and character
24142         constants.
24144 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24146         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24147         tests.
24148         * sysdeps/powerpc/bits/atomic.h
24149         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24150         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24151         (atomic_exchange_and_add_acq): Likewise.
24152         (atomic_exchange_and_add_rel): Likewise.
24153         * sysdeps/powerpc/powerpc32/bits/atomic.h
24154         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24155         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24156         * sysdeps/powerpc/powerpc64/bits/atomic.h
24157         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24158         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24160 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24162         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24163         Change synchronization of __sched_fifo_min_prio and
24164         __sched_fifo_max_prio.
24165         * nptl/pthread_mutexattr_getprioceiling.c
24166         (pthread_mutexattr_getprioceiling): Likewise.
24167         * nptl/pthread_mutexattr_setprioceiling.c
24168         (pthread_mutexattr_setprioceiling): Likewise.
24169         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24170         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24171         Likewise.
24173 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24175         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24176         void.
24178 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24180         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24181         third argument const.
24183 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24185         fnmatch: work around GCC compiler warning bug with uninit var
24186         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24187         This works around a bug with x86-64 GCC 4.9.2 and earlier
24188         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24189         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24190         used uninitialized in this function [-Wmaybe-uninitialized]".
24192 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24194         * posix/bug-regex31.c (main): Return RES not 0.
24196 2014-11-25  Anton Blanchard <anton@samba.org>
24198         * sysdeps/powerpc/bits/atomic.h
24199         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24201 2014-11-24  Sterling Augustine  <saugustine@google.com>
24203         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24205 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24207         [BZ #17608]
24208         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24210 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24212         [BZ #17633]
24213         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24214         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24215         variable.
24216         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24217         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24219 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24221         * string/strncpy.c (strncpy): Improve performance by using memset.
24223 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24225         * string/strcpy.c (strcpy):
24226         Improve performance by using strlen and memcpy.
24228 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24230         * string/strcoll_l.c (get_next_seq): __always_inline.
24231         * string/strcoll_l.c (do_compare): __always_inline.
24233 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24235         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24236         defined.
24237         * include/mqueue.h: Likewise.
24238         * include/stdlib.h: Likewise.
24240         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24241         (get_null_defines): Adjust.
24242         * sunrpc/Makefile: Adjust comment.
24243         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24244         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24245         (CFLAGS-interp.c): Likewise.
24246         (CFLAGS-ldconfig.c): Likewise.
24247         (CPPFLAGS-.os): Likewise.
24248         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24249         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24250         * extra-modules.mk (extra-modules.mk): Likewise.
24251         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24252         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24253         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24254         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24255         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24256         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24257         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24258         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24259         * iconvdata/Makefile (CPPFLAGS): Likewise.
24260         (cpp-srcs-left): Add libof for all iconvdata routines.
24261         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24262         * include/assert.h: Likewise.
24263         * include/ctype.h: Likewise.
24264         * include/errno.h: Likewise.
24265         * include/libc-symbols.h: Likewise.
24266         * include/math.h: Likewise.
24267         * include/netdb.h: Likewise.
24268         * include/resolv.h: Likewise.
24269         * include/stdio.h: Likewise.
24270         * include/stdlib.h: Likewise.
24271         * include/string.h: Likewise.
24272         * include/sys/stat.h: Likewise.
24273         * include/wctype.h: Likewise.
24274         * intl/l10nflist.c: Likewise.
24275         * libidn/idn-stub.c: Likewise.
24276         * libio/libioP.h: Likewise.
24277         * nptl/libc_multiple_threads.c: Likewise.
24278         * nptl/pthreadP.h: Likewise.
24279         * posix/regex_internal.h: Likewise.
24280         * resolv/res_hconf.c: Likewise.
24281         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24282         * sysdeps/arm/memmove.S: Likewise.
24283         * sysdeps/arm/sysdep.h: Likewise.
24284         * sysdeps/generic/_itoa.h: Likewise.
24285         * sysdeps/generic/symbol-hacks.h: Likewise.
24286         * sysdeps/gnu/errlist.awk: Likewise.
24287         * sysdeps/gnu/errlist.c: Likewise.
24288         * sysdeps/i386/i586/memcpy.S: Likewise.
24289         * sysdeps/i386/i586/memset.S: Likewise.
24290         * sysdeps/i386/i686/memcpy.S: Likewise.
24291         * sysdeps/i386/i686/memmove.S: Likewise.
24292         * sysdeps/i386/i686/mempcpy.S: Likewise.
24293         * sysdeps/i386/i686/memset.S: Likewise.
24294         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24295         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24296         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24297         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24298         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24299         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24300         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24301         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24302         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24303         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24304         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24305         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24306         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24307         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24308         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24309         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24310         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24311         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24312         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24313         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24314         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24315         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24316         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24317         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24318         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24319         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24320         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24321         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24323         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24324         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24327         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24329         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24330         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24331         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24332         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24333         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24334         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24335         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24336         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24337         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24338         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24339         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24340         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24341         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24342         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24343         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24344         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24345         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24346         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24347         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24348         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24349         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24350         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24351         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24352         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24353         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24354         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24355         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24356         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24357         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24358         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24359         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24360         * sysdeps/posix/closedir.c: Likewise.
24361         * sysdeps/posix/opendir.c: Likewise.
24362         * sysdeps/posix/readdir.c: Likewise.
24363         * sysdeps/posix/rewinddir.c: Likewise.
24364         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24365         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24366         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24367         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24368         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24369         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24370         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24371         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24372         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24373         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24374         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24375         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24376         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24377         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24378         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24379         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24380         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24381         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24382         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24383         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24384         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24385         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24386         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24387         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24389         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24390         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24391         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24399         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24400         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24401         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24402         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24403         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24404         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24405         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24406         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24407         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24408         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24409         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24410         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24411         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24412         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24413         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24414         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24415         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24418         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24419         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24421         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24422         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24423         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24424         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24425         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24426         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24427         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24428         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24429         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24430         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24431         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24432         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24433         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24434         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24435         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24436         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24437         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24438         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24439         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24440         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24441         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24442         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24443         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24444         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24445         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24446         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24448         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24450         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24451         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24452         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24454         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24455         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24456         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24457         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24458         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24459         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24460         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24462         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24463         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24465         * sysdeps/unix/alpha/sysdep.S: Likewise.
24466         * sysdeps/unix/alpha/sysdep.h: Likewise.
24467         * sysdeps/unix/make-syscalls.sh: Likewise.
24468         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24470         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24471         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24473         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24474         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24475         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24476         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24477         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24481         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24482         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24483         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24484         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24485         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24486         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24487         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24488         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24489         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24490         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24491         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24492         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24493         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24497         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24498         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24502         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24506         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24507         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24508         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24510         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24511         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24512         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24515         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24518         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24519         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24520         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24521         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24523         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24524         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24526         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24527         * sysdeps/x86_64/memcpy.S: Likewise.
24528         * sysdeps/x86_64/memmove.c: Likewise.
24529         * sysdeps/x86_64/memset.S: Likewise.
24530         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24532         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24533         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24534         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24537         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24538         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24539         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24540         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24541         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24542         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24543         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24545         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24546         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24547         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24548         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24549         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24550         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24551         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24552         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24553         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24554         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24555         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24556         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24557         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24558         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24559         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24560         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24561         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24562         * sysdeps/x86_64/strcmp.S: Likewise.
24564         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24566         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24567         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24568         * elf/rtld-Rules: Likewise.
24569         * elf/setup-vdso.h: Likewise.
24570         * include/assert.h: Likewise.
24571         * include/bits/stdlib-float.h: Likewise.
24572         * include/errno.h: Likewise.
24573         * include/sys/stat.h: Likewise.
24574         * include/unistd.h: Likewise.
24575         * sysdeps/aarch64/setjmp.S: Likewise.
24576         * sysdeps/alpha/setjmp.S: Likewise.
24577         * sysdeps/arm/__longjmp.S: Likewise.
24578         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24579         * sysdeps/arm/setjmp.S: Likewise.
24580         * sysdeps/arm/sysdep.h: Likewise.
24581         * sysdeps/generic/_itoa.h: Likewise.
24582         * sysdeps/generic/dl-sysdep.h: Likewise.
24583         * sysdeps/generic/ldsodefs.h: Likewise.
24584         * sysdeps/i386/dl-tls.h: Likewise.
24585         * sysdeps/i386/setjmp.S: Likewise.
24586         * sysdeps/m68k/setjmp.c: Likewise.
24587         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24588         * sysdeps/mach/hurd/opendir.c: Likewise.
24589         * sysdeps/posix/getcwd.c: Likewise.
24590         * sysdeps/posix/opendir.c: Likewise.
24591         * sysdeps/posix/profil.c: Likewise.
24592         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24593         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24595         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24596         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24597         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24598         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24599         * sysdeps/s390/dl-tls.h: Likewise.
24600         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24601         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24602         * sysdeps/sh/sh3/setjmp.S: Likewise.
24603         * sysdeps/sh/sh4/setjmp.S: Likewise.
24604         * sysdeps/unix/alpha/sysdep.h: Likewise.
24605         * sysdeps/unix/arm/sysdep.S: Likewise.
24606         * sysdeps/unix/i386/sysdep.S: Likewise.
24607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24608         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24609         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24610         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24612         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24613         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24614         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24615         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24616         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24617         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24618         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24619         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24622         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24625         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24626         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24627         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24629         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24630         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24631         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24632         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24634         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24635         * sysdeps/x86_64/setjmp.S: Likewise.
24637         * include/math.h: Use IS_IN instead of IS_IN_libm.
24638         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24650         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24657         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24658         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24659         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24660         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24661         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24662         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24663         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24665         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24666         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24667         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24668         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24669         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24670         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24672         Likewise.
24673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24674         Likewise.
24675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24676         Likewise.
24677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24678         Likewise.
24679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24680         Likewise.
24681         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24682         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24683         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24684         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24685         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24686         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24692         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24693         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24694         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24695         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24696         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24697         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24698         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24699         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24700         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24701         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24703         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24705         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24707         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24709         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24710         * nptl/pthreadP.h: Likewise.
24711         * nptl_db/structs.def: Likewise.
24712         * sysdeps/arm/sysdep.h: Likewise.
24713         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24714         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24715         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24716         * sysdeps/unix/alpha/sysdep.h: Likewise.
24717         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24719         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24720         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24721         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24722         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24724         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24725         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24726         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24727         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24728         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24729         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24730         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24735         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24738         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24739         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24740         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24741         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24742         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24744         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24745         * nptl/pthreadP.h: Likewise.
24746         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24747         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24748         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24749         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24750         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24751         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24752         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24753         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24754         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24755         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24756         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24757         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24759         Likewise.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24761         Likewise.
24762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24764         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24767         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24768         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24769         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24771         * dlfcn/dladdr.c: Use IS_IN.
24772         * dlfcn/dladdr1.c: Likewise.
24773         * dlfcn/dlclose.c: Likewise.
24774         * dlfcn/dlerror.c: Likewise.
24775         * dlfcn/dlinfo.c: Likewise.
24776         * dlfcn/dlmopen.c: Likewise.
24777         * dlfcn/dlopen.c: Likewise.
24778         * dlfcn/dlsym.c: Likewise.
24779         * dlfcn/dlvsym.c: Likewise.
24781         * include/ifaddrs.h: Use IS_IN.
24782         * inet/check_pf.c: Likewise.
24783         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24784         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24786         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24787         IS_IN_ldconfig.
24788         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24789         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24791         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24792         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24793         IS_IN (libc).
24795         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24797         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24798         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24799         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24800         * include/libc-symbols.h (IS_IN_LIB): New macro.
24801         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24802         * include/netdb.h: Likewise.
24803         * include/stap-probe.h: Remove all uses of IN_LIB.
24805         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24806         instead of IN_MODULE.
24807         * include/libc-symbols.h (IN_MODULE): Define using
24808         MODULE_NAME.
24809         (PASTE_NAME, PASTE_NAME1): New macros.
24810         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24811         of IN_LIB.
24812         (STAP_PROBE_ASM): Likewise.
24814 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24816         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24817         __mach_init in dlopened libc.
24819 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24821         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24822         * sysdeps/arm/preconfigure: Regenerate.
24824 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24826         * nptl/pthread_create.c (__pthread_create_2_1): Set
24827         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24828         when copying values from IATTR into PD.
24830 2014-11-21  Will Newton  <will.newton@linaro.org>
24831             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24833         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24834         Refactor inline-asm.  Also add comment.
24836         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24837         ElfW macro instead of hardcoded Elf64 types.
24838         (la_aarch64_gnu_pltenter): Likewise.
24839         * sysdeps/aarch64/dl-machine.h
24840         (elf_machine_runtime_setup): Use ElfW(Addr).
24842         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24843         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24844         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24845         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24846         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24847         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24848         (R_AARCH64_TLS_DTPMOD): This.
24849         (R_AARCH64_TLS_DTPREL64): Rename to ...
24850         (R_AARCH64_TLS_DTPREL): This.
24851         (R_AARCH64_TLS_TPREL64): Rename to ...
24852         (R_AARCH64_TLS_TPREL): This.
24853         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24854         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24855         R_AARCH64_TLS_TPREL64.
24856         (elf_machine_rela): Likewise.
24858 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24860         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24861         by setting it to 0.  64b atomics are not supported currently.
24863 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24865         [BZ #16469]
24866         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24867         search domain names.
24869 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24871         [BZ #16469]
24872         * NEWS: Update.
24873         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24874         trailing dot.
24875         * posix/tst-getaddrinfo5.c: New.
24876         * posix/Makefile (tests): Add it.
24878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24880         [BZ #14498]
24881         * NEWS: Fixed.
24882         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24883         after parsing line but before break_if_match.
24884         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24885         if there is a protocol mismatch.
24887 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24889         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24890         because the potential race is on the user-supplied stream.
24892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24894         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24895         string literal if not passed a buffer.
24896         * manual/job.texi (ctermid): Update reasoning, note deviation
24897         from posix, suggest mtasurace when not passed a buffer, for
24898         future non-preliminary safety notes.
24900 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24902         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24903         of not passing it a buffer.
24904         Reported by Peng Haitao.
24906 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24908         * manual/Makefile ($(objpfx)stamp-summary): Require
24909         check-safety.sh to pass.
24910         * manual/check-safety.sh: Wish for verification that every
24911         @deftypefn and @deftypefun is followed by a @safety remark.
24913 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24915         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24917         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24918         PTHREAD_CANCEL_ASYNCHRONOUS.
24919         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24920         send SIGCANCEL.
24922         * nptl/default-sched.h: New file.
24923         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24924         * nptl/pthread_create.c: Include it.
24925         (__pthread_create_2_1): Use collect_default_sched instead of making
24926         Linux syscalls here directly.
24928 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24930         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24931         __pthread_once): Use C11 atomics.
24933 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24935         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24937 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24939         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24940         atomic_thread_fence_acquire, atomic_thread_fence_release,
24941         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24942         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24943         atomic_compare_exchange_weak_relaxed,
24944         atomic_compare_exchange_weak_acquire,
24945         atomic_compare_exchange_weak_release,
24946         atomic_exchange_acquire, atomic_exchange_release,
24947         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24948         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24949         atomic_fetch_and_acquire,
24950         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24952 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24954         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24955         USE_ATOMIC_COMPILER_BUILTINS): Define.
24956         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24958         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24960         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24962         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24964         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24966         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24968         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24970         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24972         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24974         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24976         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24978         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24980         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24982         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24984         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24986         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24988         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24990         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24991         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24992         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24994         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24997 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24999         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25000         the sched_priority value here.  It was already checked when the user
25001         called pthread_attr_setschedparam.
25003         * nptl/tst-bad-schedattr.c: New file.
25004         * nptl/Makefile (tests): Add it.
25006 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25007             Florian Weimer  <fweimer@redhat.com>
25008             Joseph Myers  <joseph@codesourcery.com>
25009             Adam Conrad  <adconrad@0c3.net>
25010             Andreas Schwab  <schwab@suse.de>
25011             Brooks  <bmoses@google.com>
25013         [BZ #17625]
25014         * wordexp-test.c (__dso_handle): Add prototype.
25015         (__register_atfork): Likewise.
25016         (__app_register_atfork): New function.
25017         (registered_forks): New global.
25018         (register_fork): New function.
25019         (test_case): Add 3 new tests for WRDE_CMDSUB.
25020         (main): Call __app_register_atfork.
25021         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25022         fork count is non-zero fail the test.
25023         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25024         is set.
25025         (parse_dollars): Remove check for WRDE_NOCMD.
25026         (parse_dquote): Likewise.
25028 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25030         * Makeconfig (built-modules): List non-library modules to be
25031         built.
25032         (module-cppflags): Include libc-modules.h for
25033         everything except shlib-versions.v.i.
25034         (CPPFLAGS): Use it.
25035         (before-compile): Add libc-modules.h.
25036         ($(common-objpfx)libc-modules.h,
25037         $(common-objpfx)libc-modules.stmp): New targets.
25038         (common-generated): Add libc-modules.h and libc-modules.stmp.
25039         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25040         * include/libc-symbols.h: Don't include libc-modules.h.
25041         * include/libc-modules.h: Remove file.
25042         * scripts/gen-libc-modules.awk: New script to generate
25043         libc-modules.h.
25044         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25045         Depend on libc-modules.stmp.
25047         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25049         * Makeconfig (in-module): Get value of libof set for the
25050         translation unit.
25051         (CPPFLAGS): Use $(in-module).
25052         * Makerules: Don't suffix routine names for nonlib.
25053         * include/libc-modules.h: New file.
25054         * include/libc-symbols.h: Include libc-modules.h
25055         (IS_IN): New macro to replace IS_IN_* macros.
25056         * elf/Makefile: Set libof-* for each routine.
25057         * elf/rtld-Rules: Likewise.
25058         * extra-modules.mk: Likewise.
25059         * iconv/Makefile: Likewise.
25060         * iconvdata/Makefile: Likewise.
25061         * locale/Makefile: Likewise.
25062         * malloc/Makefile: Likewise.
25063         * nss/Makefile: Likewise.
25064         * sysdeps/gnu/Makefile: Likewise.
25065         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25066         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25067         * sysdeps/s390/s390-64/Makefile: Likewise.
25068         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25069         CPPFLAGS for nscd instead of nonlib.
25071 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25073         * nptl/createthread.c: New file.
25075         * nptl/createthread.c: Moved ...
25076         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25078         * nptl/createthread.c: Add proper top-line comment.
25079         (do_clone): Folded into ...
25080         (create_thread): ... here.  Take new arguments STOPPED_START and
25081         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25082         increment __nptl_threads, do event-reporting logic, do
25083         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25084         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25085         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25086         just send SIGCANCEL.
25087         * nptl/pthread_create.c: Forward-declare create_thread before
25088         including createthread.c.
25089         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25090         declaration, and new macro START_THREAD_SELF to replace argument.
25091         Remove return statement.
25092         (report_thread_creation): New function.
25093         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25094         synchronization logic, and __nptl_nthreads increment here, around
25095         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25096         PD->parent_cancelhandling here, before create_thread.  When
25097         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25098         __deallocate_stack, and ENOMEM translation here.
25100 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25102         [BZ #17616]
25103         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25104         (mptwo): Rename to __mptwo.
25105         (__inv): Use __mptwo instead of mptwo.
25106         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25107         (mptwo): Rename to __mptwo.
25108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25109         of mpone and __mptwo instead of mptwo.
25110         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25111         instead of mpone.
25112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25113         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25114         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25115         of mpone and __mptwo instead of mptwo.
25116         (__mpranred): Use __mpone instead of mpone.
25117         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25118         variable.
25119         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25120         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25121         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25122         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25123         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25124         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25125         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25126         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25127         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25128         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25129         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25130         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25131         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25132         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25133         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25134         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25135         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25136         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25137         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25139 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25141         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25142         replace BSD Handler xref with BSD Signal Handling.
25144 2014-11-17  Richard Henderson  <rth@redhat.com>
25146         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25147         (_FP_PACK_RAW_2): Remove.
25148         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25149         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25150         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25151         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25152         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25153         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25154         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25155         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25156         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25157         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25158         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25159         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25160         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25161         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25162         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25163         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25165 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25167         * signal/signal.h [__USE_MISC]
25168         (struct sigvec): Remove type.
25169         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25170         (sigvec): Remove declaration.
25171         * sysdeps/posix/sigvec.c: Moved ...
25172         * signal/sigvec.c: ... here, replacing old file.
25173         (struct sigvec): New type, copied from old signal.h definition.
25174         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25175         (__sigvec): Convert definition to prototype.
25176         (sigvec): Replace weak_alias with compat_symbol.
25177         * signal/Versions (libc: GLIBC_2.21): New version set.
25178         * include/signal.h: Remove __sigvec declaration.
25179         * sysdeps/unix/bsd/sigvec.c: Remove file.
25180         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25181         * manual/signal.texi (BSD Handler): Remove subsection.
25182         Move siginterrupt up to ...
25183         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25184         (Blocking in BSD): Fold subsection into its parent.
25185         * NEWS: Mention sigvec removal.
25187 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25189         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25190         (DLA_FMS): Make definition conditional only on [__FMA4__].
25191         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25192         definition.
25194         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25195         Make definition conditional only on [PROF].
25196         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25197         definition.
25198         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25199         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25201         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25202         !__GNUC__].
25203         * include/signal.h (__sigpause): Move declaration above call to
25204         libc_hidden_proto.
25205         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25206         variable.
25207         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25208         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25210 2014-11-14  David S. Miller  <davem@davemloft.net>
25212         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25213         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25215 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25217         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25218         * configure: Regenerated.
25219         * manual/install.texi (Tools for Compilation): Document a
25220         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25221         compiler verified to work.
25222         * INSTALL: Regenerated.
25224         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25225         redeclare with asm name.
25226         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25227         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25228         including <string.h>.
25229         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25230         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25231         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25232         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25233         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25234         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25235         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25237 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25239         * stdlib/strtol.c (__strtol): Use prototype definition.
25241         [BZ #17594]
25242         * stdlib/strtol.c (SYM__): New macro.
25243         (SYM__1): Likewise.
25244         (__strtol): Likewise.
25245         (strtol): Rename to __strtol and define as weak alias of
25246         __strtol.  Use libc_hidden_weak.
25248 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25250         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25251         Use numbered labels in inline assembly.
25253 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25255         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25256         Add setjmp LIBC_PROBE.
25257         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25258         Likewise.
25259         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25260         Add longjmp, longjmp_target LIBC_PROBE.
25261         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25262         Likewise.
25264 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25266         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25267         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25268         to get rid of unused variable warning.
25270 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25272         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25273         Check for unwind_backtrace ==  NULL only in SHARED case.
25274         (__backchain_backtrace): Compile only in SHARED case.
25275         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25276         Likewise.
25277         (__backchain_backtrace): Declare as static.
25279 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25281         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25282         (__libc_multiple_threads_ptr): Variable moved ...
25283         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25285 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25287         * conform/GlibcConform.pm: New file.
25288         * conform/conformtest.pl: Use GlibcConform module.
25289         * conform/linknamespace.pl: New file.
25290         * conform/list-header-symbols.pl: Likewise.
25291         * conform/Makefile (linknamespace-symlists-base): New variable.
25292         (linknamespace-symlists-tests): Likewise.
25293         (linknamespace-header-base): Likewise.
25294         (linknamespace-header-tests): Likewise.
25295         (tests-special): Add new tests.
25296         ($(linknamespace-symlists-tests)): New rule.
25297         (linknamespace-libs): New variable.
25298         ($(objpfx)symlist-stdlibs): New rule.
25299         ($(linknamespace-header-tests)): Likewise.
25300         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25301         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25302         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25303         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25304         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25305         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25306         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25307         (test-xfail-ISO/math.h/linknamespace): Likewise.
25308         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25309         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25310         (test-xfail-ISO/time.h/linknamespace): Likewise.
25311         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25312         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25313         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25314         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25315         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25316         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25317         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25318         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25319         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25320         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25321         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25322         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25323         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25324         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25325         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25326         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25327         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25328         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25329         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25330         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25331         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25332         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25333         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25334         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25335         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25336         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25337         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25338         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25339         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25340         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25341         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25342         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25343         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25344         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25345         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25346         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25347         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25348         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25349         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25350         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25351         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25352         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25353         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25354         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25355         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25356         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25357         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25358         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25359         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25360         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25361         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25362         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25363         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25364         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25365         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25366         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25367         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25368         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25369         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25370         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25371         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25372         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25373         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25374         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25375         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25376         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25377         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25378         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25379         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25380         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25381         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25382         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25383         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25384         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25385         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25386         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25387         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25388         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25389         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25390         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25391         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25392         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25393         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25394         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25395         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25396         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25397         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25398         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25399         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25400         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25401         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25402         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25403         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25404         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25405         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25406         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25407         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25408         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25409         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25410         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25411         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25412         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25413         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25414         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25415         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25416         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25417         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25418         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25419         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25420         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25421         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25422         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25423         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25424         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25425         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25426         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25427         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25428         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25429         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25430         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25431         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25432         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25433         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25434         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25435         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25436         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25437         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25438         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25439         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25440         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25441         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25442         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25443         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25444         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25445         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25446         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25447         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25448         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25449         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25450         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25451         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25452         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25453         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25454         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25455         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25456         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25457         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25458         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25459         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25460         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25462         [BZ #17589]
25463         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25464         of fgets_unlocked.
25466         [BZ #17585]
25467         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25468         (memmem): Rename to __memmem and define as weak alias of
25469         __memmem.  Use libc_hidden_weak.
25470         (__memmem): Use libc_hidden_def.
25471         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25472         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25473         memmem.
25475         [BZ #17582]
25476         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25477         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25478         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25479         and define as weak alias of __fgets_unlocked.  Use
25480         libc_hidden_weak.
25481         (__fgets_unlocked): Use libc_hidden_def.
25482         * include/stdio.h (__fgets_unlocked): Declare.  Use
25483         libc_hidden_proto.
25484         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25485         __fgets_unlocked instead of fgets_unlocked.
25486         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25487         (GET_NPROCS_CONF_PARSER): Likewise.
25488         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25489         (GET_NPROCS_CONF_PARSER): Likewise.
25491         [BZ #17574]
25492         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25493         weak alias of __wmemset.  Use libc_hidden_weak.
25494         (__wmemset): Use libc_hidden_def.
25495         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25496         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25497         of wmemset.
25499         [BZ #17573]
25500         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25501         with asm name __mempcpy.
25502         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25504         [BZ #17572]
25505         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25506         and define as weak alias of __rawmemchr.
25507         (__rawmemchr): Do not define as strong alias of rawmemchr.
25509         [BZ #17571]
25510         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25511         alias of __qsort_r.
25512         (qsort): Call __qsort_r instead of qsort_r.
25513         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25514         (__qsort_r): Declare.  Call libc_hidden_proto.
25515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25516         instead of qsort_r.
25517         * nscd/gai.c (__qsort_r): Define to qsort_r.
25518         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25519         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25520         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25522         [BZ #17570]
25523         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25524         define as weak alias of __malloc_info.
25526         [BZ #17584]
25527         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25528         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25529         (__rewinddir): Use libc_hidden_def.
25530         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25531         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25532         (__rewinddir): Use libc_hidden_def.
25533         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25534         weak alias of __rewinddir.  Don't use libc_hidden_def.
25535         (__rewinddir): Use libc_hidden_def.
25536         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25537         (__rewinddir): Use libc_hidden_proto.
25538         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25539         rewinddir.
25540         (__getcwd): Use __rewinddir instead of rewinddir.
25542         [BZ #17583]
25543         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25544         alias of __fileno.  Use libc_hidden_weak.
25545         (__fileno): Use libc_hidden_def.
25546         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25547         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25548         alias of __ftello.
25549         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25550         __ftello.
25551         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25552         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25553         libc_hidden_def.
25554         (fread_unlocked): Don't use libc_hidden_ver.
25555         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25556         and define as weak alias of __fread_unlocked.  Don't use
25557         libc_hidden_def.
25558         (__fread_unlocked): Use libc_hidden_def.
25559         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25560         (ftello): Don't use libc_hidden_proto.
25561         (__ftello): Declare.  Use libc_hidden_proto.
25562         (fread_unlocked): Don't use libc_hidden_proto.
25563         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25564         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25565         and __ftello instead of fileno, fread_unlocked and ftello.
25567 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25570         GOT12.
25571         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25572         Likewise.
25573         (_dl_start_user): Likewise.
25574         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25576 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25577             Siddhesh Poyarekar  <siddhesh@redhat.com>
25579         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25580         Move argv and envp down instead of moving argc up.
25581         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25583 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25585         [BZ #17506]
25586         * test-skeleton.c (main): Return successful if one of
25587         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25588         * string/tst-strcoll-overflow.c: Define expected status.
25590 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25592         [BZ #17475]
25593         * locale/iso-639.def: Define Bhili and Tulu language codes.
25595 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25597         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25599 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25601         [BZ #17555]
25602         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25604 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25606         * configure.ac: Updated check of minimal required version to
25607         2.22.
25608         * manual/install.texi (Tools for Compilation): Updated version
25609         number.
25610         * configure: Regenerated.
25611         * INSTALL: Likewise.
25613 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25615         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25616         __tls_get_addr.
25618 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25620         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25621         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25622         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25623         libc_hidden_weak.
25624         (waitpid): Define as alias of __waitpid.
25625         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25626         __waitpid.
25627         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25628         libc_hidden_weak.
25629         (waitpid): Define as alias of __waitpid.
25630         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25631         __libc_waitpid alias.
25632         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25633         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25634         Likewise.
25635         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25636         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25637         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25638         alias.
25639         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25640         __waitpid.
25641         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25642         libc_hidden_weak.
25643         (waitpid): Define as alias of __waitpid.
25645 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25647         * manual/llio.texi: Add comment that write safety has been
25648         fixed in Linux.
25650         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25651         (localplt-build-dso): Add elf/ld.so.
25652         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25653         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25654         and free for ld.so.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25656         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25658         Likewise.
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25660         Likewise.
25661         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25662         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25663         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25664         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25665         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25666         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25667         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25668         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25669         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25670         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25671         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25673 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25675         [BZ #14132]
25676         * include/libc-symbols.h (INTUSE): Remove macro.
25677         (INTDEF): Likewise.
25678         (INTVARDEF): Likewise.
25679         (_INTVARDEF): Likewise.
25680         (INTDEF2): Likewise.
25681         (INTVARDEF2): Likewise.
25682         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25683         rtld_hidden_def instead of INTVARDEF.
25684         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25685         (_dl_starting_up_internal): Remove declaration.
25686         (_dl_starting_up): Use rtld_hidden_proto.
25687         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25688         declaration.
25689         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25690         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25691         _dl_starting_up.
25692         * elf/dl-writev.h (_dl_writev): Likewise.
25693         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25694         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25695         _dl_starting_up_internal.
25697 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25699         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25700         test-skeleton.c.
25702 2014-11-05  Will Newton  <will.newton@linaro.org>
25704         * benchtests/Makefile: (bench-malloc): Add malloc thread
25705         scalability benchmark.
25706         * benchtests/bench-malloc-threads.c: New file.
25708 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25710         * sysdeps/aarch64/strchrnul.S: New file.
25712 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25714         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25715         definition.
25716         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25717         Likwise.
25718         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25719         Likewise.
25720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25721         Likewise.
25722         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25723         Likewise.
25724         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25725         Likewise.
25727 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25729         * catgets/test-gencat.c: Use test-skeleton.c.
25730         * catgets/tst-catgets.c: Likewise.
25731         * csu/tst-empty.c: Likewise.
25732         * elf/tst-audit2.c: Likewise.
25733         * elf/tst-global1.c: Likewise.
25734         * elf/tst-pathopt.c: Likewise.
25735         * elf/tst-piemod1.c: Likewise.
25736         * elf/tst-tls10.c: Likewise.
25737         * elf/tst-tls11.c: Likewise.
25738         * elf/tst-tls12.c: Likewise.
25739         * gnulib/tst-gcc.c: Likewise.
25740         * iconvdata/tst-e2big.c: Likewise.
25741         * iconvdata/tst-loading.c: Likewise.
25742         * iconv/tst-iconv1.c: Likewise.
25743         * iconv/tst-iconv2.c: Likewise.
25744         * inet/test-inet6_opt.c: Likewise.
25745         * inet/tst-gethnm.c: Likewise.
25746         * inet/tst-network.c: Likewise.
25747         * inet/tst-ntoa.c: Likewise.
25748         * intl/tst-codeset.c: Likewise.
25749         * intl/tst-gettext2.c: Likewise.
25750         * intl/tst-gettext3.c: Likewise.
25751         * intl/tst-ngettext.c: Likewise.
25752         * intl/tst-translit.c: Likewise.
25753         * io/test-stat.c: Likewise.
25754         * libio/test-fmemopen.c: Likewise.
25755         * libio/tst-freopen.c: Likewise.
25756         * libio/tst-sscanf.c: Likewise.
25757         * libio/tst-ungetwc1.c: Likewise.
25758         * libio/tst-ungetwc2.c: Likewise.
25759         * libio/tst-widetext.c: Likewise.
25760         * localedata/tst-ctype.c: Likewise.
25761         * localedata/tst-digits.c: Likewise.
25762         * localedata/tst-leaks.c: Likewise.
25763         * localedata/tst-mbswcs1.c: Likewise.
25764         * localedata/tst-mbswcs2.c: Likewise.
25765         * localedata/tst-mbswcs3.c: Likewise.
25766         * localedata/tst-mbswcs4.c: Likewise.
25767         * localedata/tst-mbswcs5.c: Likewise.
25768         * localedata/tst-setlocale.c: Likewise.
25769         * localedata/tst-trans.c: Likewise.
25770         * localedata/tst-wctype.c: Likewise.
25771         * localedata/tst-xlocale1.c: Likewise.
25772         * login/tst-grantpt.c: Likewise.
25773         * malloc/tst-calloc.c: Likewise.
25774         * malloc/tst-malloc.c: Likewise.
25775         * malloc/tst-mallocstate.c: Likewise.
25776         * malloc/tst-mcheck.c: Likewise.
25777         * malloc/tst-mtrace.c: Likewise.
25778         * malloc/tst-obstack.c: Likewise.
25779         * math/atest-exp2.c: Likewise.
25780         * math/atest-exp.c: Likewise.
25781         * math/atest-sincos.c: Likewise.
25782         * math/test-matherr.c: Likewise.
25783         * math/test-misc.c: Likewise.
25784         * math/test-powl.c: Likewise.
25785         * math/tst-definitions.c: Likewise.
25786         * misc/tst-dirname.c: Likewise.
25787         * misc/tst-efgcvt.c: Likewise.
25788         * misc/tst-fdset.c: Likewise.
25789         * misc/tst-hsearch.c: Likewise.
25790         * misc/tst-mntent2.c: Likewise.
25791         * nptl/tst-sem7.c: Likewise.
25792         * nptl/tst-sem8.c: Likewise.
25793         * nptl/tst-sem9.c: Likewise.
25794         * nss/test-netdb.c: Likewise.
25795         * posix/tst-fnmatch.c: Likewise.
25796         * posix/tst-getlogin.c: Likewise.
25797         * posix/tst-gnuglob.c: Likewise.
25798         * posix/tst-mmap.c: Likewise.
25799         * pwd/tst-getpw.c: Likewise.
25800         * resolv/tst-inet_ntop.c: Likewise.
25801         * rt/tst-timer.c: Likewise.
25802         * stdio-common/test-fseek.c: Likewise.
25803         * stdio-common/test-popen.c: Likewise.
25804         * stdio-common/test-vfprintf.c: Likewise.
25805         * stdio-common/tst-cookie.c: Likewise.
25806         * stdio-common/tst-fileno.c: Likewise.
25807         * stdio-common/tst-gets.c: Likewise.
25808         * stdio-common/tst-obprintf.c: Likewise.
25809         * stdio-common/tst-perror.c: Likewise.
25810         * stdio-common/tst-sprintf2.c: Likewise.
25811         * stdio-common/tst-sprintf3.c: Likewise.
25812         * stdio-common/tst-sprintf.c: Likewise.
25813         * stdio-common/tst-swprintf.c: Likewise.
25814         * stdio-common/tst-tmpnam.c: Likewise.
25815         * stdio-common/tst-unbputc.c: Likewise.
25816         * stdio-common/tst-wc-printf.c: Likewise.
25817         * stdlib/tst-environ.c: Likewise.
25818         * stdlib/tst-fmtmsg.c: Likewise.
25819         * stdlib/tst-limits.c: Likewise.
25820         * stdlib/tst-rand48-2.c: Likewise.
25821         * stdlib/tst-rand48.c: Likewise.
25822         * stdlib/tst-random2.c: Likewise.
25823         * stdlib/tst-random.c: Likewise.
25824         * stdlib/tst-strtol.c: Likewise.
25825         * stdlib/tst-strtoll.c: Likewise.
25826         * stdlib/tst-tls-atexit.c: Likewise.
25827         * stdlib/tst-xpg-basename.c: Likewise.
25828         * string/test-ffs.c: Likewise.
25829         * string/tst-bswap.c: Likewise.
25830         * string/tst-inlcall.c: Likewise.
25831         * string/tst-strtok.c: Likewise.
25832         * string/tst-strxfrm.c: Likewise.
25833         * sysdeps/x86_64/tst-audit10.c: Likewise.
25834         * sysdeps/x86_64/tst-audit3.c: Likewise.
25835         * sysdeps/x86_64/tst-audit4.c: Likewise.
25836         * sysdeps/x86_64/tst-audit5.c: Likewise.
25837         * time/tst-ftime_l.c: Likewise.
25838         * time/tst-getdate.c: Likewise.
25839         * time/tst-mktime3.c: Likewise.
25840         * time/tst-mktime.c: Likewise.
25841         * time/tst-posixtz.c: Likewise.
25842         * time/tst-strptime2.c: Likewise.
25843         * time/tst-strptime3.c: Likewise.
25844         * wcsmbs/tst-btowc.c: Likewise.
25845         * wcsmbs/tst-mbrtowc.c: Likewise.
25846         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25847         * wcsmbs/tst-wchar-h.c: Likewise.
25848         * wcsmbs/tst-wcpncpy.c: Likewise.
25849         * wcsmbs/tst-wcrtomb.c: Likewise.
25850         * wcsmbs/tst-wcsnlen.c: Likewise.
25851         * wcsmbs/tst-wcstof.c: Likewise.
25853 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25855         [BZ #14132]
25856         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25857         INTDEF.
25858         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25859         declaration.
25860         (_dl_mcount): Use rtld_hidden_proto.
25861         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25862         _dl_mcount.
25863         * elf/rtld.c (_rtld_global_ro): Likewise.
25865         [BZ #14132]
25866         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25867         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25868         of _dl_init_internal.
25869         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25870         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25871         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25872         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25873         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25874         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25875         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25876         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25877         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25878         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25879         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25880         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25881         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25882         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25883         * sysdeps/tile/dl-start.S (_start): Likewise.
25884         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25885         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25887         [BZ #14132]
25888         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25889         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25890         (rtld_progname): Make macro definition unconditional.
25891         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25892         INTDEF.
25893         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25894         (dl_main): Likewise.
25895         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25896         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25897         instead of _dl_argv_internal.
25898         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25899         __GI__dl_argv instead of INTUSE(_dl_argv).
25900         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25901         __GI__dl_argv instead of _dl_argv_internal.
25903         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25904         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25905         macro.
25906         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25907         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25908         New macro.
25909         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25910         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25911         macro.
25912         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25913         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25915 2014-11-04  Andreas Schwab  <schwab@suse.de>
25917         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25919 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25921         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25922         mtvsrd instruction in binary form.
25924 2014-11-03  Andreas Schwab  <schwab@suse.de>
25926         [BZ #17522]
25927         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25928         for less than MB_LEN_MAX use a local buffer of that size.
25929         * libio/tst-fputws.c: New file.
25930         * libio/Makefile (tests): Add tst-fputws.
25932 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25934         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25935         the size of the fpu_fr.fpu_dregs[] array.
25937 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25939         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25940         (__nanosleep): Do not define as alias.
25941         (nanosleep): Define as alias of __nanosleep.
25942         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25943         __libc_nanosleep name.
25945 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25947         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25948         install.texi in comment.
25950 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25952         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25953         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25954         ... add here and use lwsync or sync ...
25955         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25956         ... and add here using lwsync.
25958 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25960         * elf/dl-machine-reject-phdr.h: New file.
25961         * elf/dl-load.c: #include that.
25962         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25963         if that returned true.
25965 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25967         [BZ #17496]
25968         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25969         gen-as-const-headers chunk.  Add a big scare comment after the last
25970         safe place to touch before-compile.
25972 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25974         * manual/install.texi (Tools for Compilation): Update autoconf
25975         version requirements.
25976         * INSTALL: Regenerated.
25978         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25979         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25980         (__libc_pselect): Likewise.
25982         [BZ #14138]
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25988 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25990         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25991         correct barrier instruction.
25992         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25993         Likewise.
25994         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25995         Likewise.
25997 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25999         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26000         after defining inlines.  Instead, just use parens to defeat macro
26001         expansion of __isctype in its declaration.
26003 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26005         * include/sys/uio.h (__libc_readv): Remove declaration.
26006         (__libc_writev): Likewise.
26007         * misc/readv.c (__libc_readv): Rename to __readv.
26008         (__readv): Do not define as alias.
26009         (readv): Define as alias of __readv.
26010         * misc/writev.c (__libc_writev): Rename to __writev.
26011         (__writev): Do not define as alias.
26012         (writev): Define as alias of __writev.
26013         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26014         (__readv): Do not define as alias.
26015         (readv): Define unconditionally as alias of __readv.
26016         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26017         (__writev): Do not define as alias.
26018         (writev): Define unconditionally as alias of __writev.
26019         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26020         name.
26021         (writev): Do not define __libc_writev name.
26023 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26025         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26026         (convert_charseq): New function, broken out of ...
26027         (use_from_charmap): ... here.  Call it.
26028         (use_to_charmap): Use convert_charseq and free instead of duplicating
26029         its code with a variable-length stack struct.
26031 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26033         * include/fcntl.h (__libc_creat): Remove declaration.
26034         * io/creat.c (__libc_creat): Rename to creat.
26035         (creat): Do not define as alias.
26036         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26037         of creat instead of __libc_creat.
26038         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26039         to creat.
26040         (creat): Do not define as alias.
26041         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26042         __libc_creat.
26043         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26044         __libc_creat name.
26045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26046         Likewise.
26048 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26050         * manual/llio.texi: Add comments discussing why write() may be
26051         considered MT-unsafe on Linux.
26053 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26055         * dl-load.c (local_strdup): Remove.
26056         (expand_dynamic_string_token): Use __strdup.
26057         (decompose_rpath): Likewise.
26058         (_dl_map_object): Likewise.
26060 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26062         [BZ #14132]
26063         * sysdeps/generic/unwind-dw2-fde.c
26064         (__register_frame_info_bases_internal): Do not declare.
26065         (__register_frame_info_table_bases_internal): Likewise.
26066         (__deregister_frame_info_bases_internal): Likewise.
26067         (__register_frame_info_bases): Declare and use hidden_proto before
26068         definition.  Use hidden_def instead of INTDEF.
26069         (__register_frame_info_table_bases): Likewise.
26070         (__deregister_frame_info_bases): Likewise.
26071         (__register_frame_info): Do not use INTUSE.
26072         (__register_frame): Likewise.
26073         (__register_frame_info_table): Likewise.
26074         (__register_frame_table): Likewise.
26075         (__deregister_frame_info): Likewise.
26076         (__deregister_frame): Likewise.
26078 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26080         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26081         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26082         not undefine.
26083         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26084         Likewise.
26085         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26086         Likewise.
26088 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26090         [BZ #14138]
26091         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26092         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26093         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26094         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26095         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26096         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26097         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26098         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26099         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26100         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26101         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26102         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26103         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26104         syscall.
26105         (setfsuid): Likewise.
26106         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26107         (setfsuid): Likewise.
26108         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26109         (setfsuid): Likewise.
26110         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26111         Likewise.
26112         (setfsuid): Likewise.
26113         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26114         (setfsuid): Likewise.
26115         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26116         Likewise.
26117         (setfsuid): Likewise.
26119 2014-10-27  Andreas Schwab  <schwab@suse.de>
26121         [BZ #17501]
26122         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26123         check for Slow_SSE4_2 feature bit.
26124         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26125         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26126         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26127         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26129 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26131         * configure.ac: Validate compiler version with a empirical test of
26132         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26133         $CC -v output.
26134         * configure: Regenerated.
26136         * inet/htons.c (htons): Prototypify.
26137         * inet/htonl.c (htonl): Likewise.
26139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26141         * string/strncat.c (strncat): Improve performance by using strlen.
26143 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26145         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26147 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26149         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26150         Call libc_fetestexcept_aarch64.
26152 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26154         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26155         Call libc_feholdexcept_aarch64.
26157 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26159         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26160         Call get_rounding_mode.
26162 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26164         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26165         Simplify logic.
26167 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26169         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26170         Simplify logic.
26172 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #14138]
26175         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26176         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26177         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26178         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26179         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26180         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26181         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26182         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26183         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26184         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26185         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26186         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26187         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26188         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26189         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26190         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26191         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26192         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26193         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26194         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26195         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26196         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26197         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26198         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26199         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26200         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26201         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26202         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26203         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26204         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26205         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26206         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26207         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26208         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26209         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26210         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26211         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26212         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26213         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26214         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26215         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26216         syscall.
26217         (geteuid): Likewise.
26218         (getgid): Likewise.
26219         (getuid): Likewise.
26220         (getresgid): Likewise.
26221         (getresuid): Likewise.
26222         (getgroups): Likewise.
26223         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26224         (geteuid): Likewise.
26225         (getgid): Likewise.
26226         (getuid): Likewise.
26227         (getresgid): Likewise.
26228         (getresuid): Likewise.
26229         (getgroups): Likewise.
26230         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26231         (geteuid): Likewise.
26232         (getgid): Likewise.
26233         (getuid): Likewise.
26234         (getresgid): Likewise.
26235         (getresuid): Likewise.
26236         (getgroups): Likewise.
26237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26238         Likewise.
26239         (geteuid): Likewise.
26240         (getgid): Likewise.
26241         (getuid): Likewise.
26242         (getresgid): Likewise.
26243         (getresuid): Likewise.
26244         (getgroups): Likewise.
26245         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26246         (geteuid): Likewise.
26247         (getgid): Likewise.
26248         (getuid): Likewise.
26249         (getresgid): Likewise.
26250         (getresuid): Likewise.
26251         (getgroups): Likewise.
26252         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26253         Likewise.
26254         (geteuid): Likewise.
26255         (getgid): Likewise.
26256         (getuid): Likewise.
26257         (getgroups): Likewise.
26259         [BZ #14138]
26260         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26261         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26262         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26263         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26264         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26265         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26266         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26267         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26268         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26269         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26270         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26271         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26272         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26273         __chown.
26274         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26275         (lchown): Likewise.
26276         (fchown): Likewise.
26277         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26278         Likewise.
26279         (lchown): Likewise.
26280         (fchown): Likewise.
26281         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26282         (lchown): Likewise.
26283         (fchown): Likewise.
26284         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26285         Likewise.
26286         (lchown): Likewise.
26287         (fchown): Likewise.
26289 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26291         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26292         Simplify logic.
26294 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26296         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26297         Cleanup logic.
26299 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26301         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26302         Remove unused include.
26304 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26306         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26307         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26308         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26309         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26311 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26312             Helge Deller <deller@gmx.de>
26314         [BZ #17508]
26315         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26316         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26317         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26319 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26321         [BZ #14132]
26322         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26323         Remove macro definition.
26324         (__ashrdi3_v_glibc20): Likewise.
26325         (__lshrdi3_v_glibc20): Likewise.
26326         (__cmpdi2_v_glibc20): Likewise.
26327         (__ucmpdi2_v_glibc20): Likewise.
26328         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26329         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26330         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26331         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26332         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26333         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26335 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26337         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26338         old GNU extension [0] syntax.
26339         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26340         alloca rather than an array member with variable length.
26341         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26342         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26343         (parse_opt): ... here.  Likewise use alloca there.
26344         Validate the -i argument before checking for rootness.
26345         (send_shutdown): New function, broken out of ...
26346         (parse_opt): ... here.
26348 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26350         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26351         macro to get at the _rt_local_ro field.
26352         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26353         ([PIC] case) or _dl_hwcap ([!PIC] case).
26354         * sysdeps/arm/setjmp.S: Likewise.
26356         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26357         * sysdeps/arm/configure.ac: New check to define it.
26358         * sysdeps/arm/configure: Regenerated.
26359         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26360         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26361         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26362         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26363         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26364         Use move/movt pair instead of a load.
26365         (LDST_GLOBAL): Macro removed.
26366         (LDR_GLOBAL): New macro replaces it.
26367         (LDR_HIDDEN): New macro.
26368         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26369         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26371         * setjmp/tst-setjmp-static.c: New file.
26372         * setjmp/Makefile (tests): Add it.
26373         (tests-static): New variable.
26375 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26377         [BZ #17485]
26378         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26380 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26382         [BZ #14132]
26383         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26385 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26387         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26389 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26391         * io/fts.c (dirent_not_directory): New function.
26392         (fts_build): Call it.
26394 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26396         * nptl/version.c (__nptl_main): Use normal __write rather than
26397         INTERNAL_SYSCALL.
26398         (banner): Update copyright years.
26400         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26401         gettimeofday.
26402         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26403         * nptl/pthread_cond_timedwait.c: Likewise.
26404         * nptl/pthread_mutex_timedlock.c: Likewise.
26405         * nptl/sem_timedwait.c: Likewise.
26407         * sysdeps/nptl/bits/libc-lock.h
26408         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26409         (__libc_lock_init_recursive): Return void, not 0.
26410         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26411         (__libc_rwlock_init): Likewise.
26412         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26414 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26416         [BZ #15215]
26417         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26418         (__pthread_once_slow): ... here.
26419         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26420         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26422 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26424         [BZ #15215]
26425         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26426         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26427         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26428         * nptl/pthread_once.c (__pthread_once): Likewise.
26429         Update comments.
26431 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26433         [BZ #14138]
26434         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26435         name.
26436         (writev): Use __libc_writev as strong name.
26437         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26438         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26440 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26442         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26444         * sysdeps/i386/nptl/tls.h
26445         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26446         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26447         New macros.
26448         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26449         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26450         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26451         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26452         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26453         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26455         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26456         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26457         on [__NR_futex].
26458         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26459         broken out of ...
26460         (__pthread_mutex_init): ... here.  Call it.
26461         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26462         Conditionalize PI cases on [__NR_futex].
26463         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26464         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26465         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26467         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26468         conditional on [SIGSETXID].
26469         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26470         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26471         is defined.  Likewise for SIGSETXID.
26472         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26473         Conditionalize definitions on [SIGSETXID].
26474         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26475         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26476         unblocking on [SIGCANCEL].
26478         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26479         [__NR_set_robust_list].
26481 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26483         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26484         (do_compare): Likewise.
26486 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26488         [BZ #15884]
26489         * string/strcoll_l.c: Don't include stdio.h.
26490         (coll_seq): Remove members idxarr and rulearr.
26491         (get_next_seq_cached): Remove function.
26492         (get_next_seq): Likewise.
26493         (get_next_seq_nocache): Rename to get_next_seq.
26494         (do_compare): Remove function.
26495         (do_compare_nocache): Rename to do_compare.
26496         (STRCOLL): Remove weight and rules cache.
26498 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26500         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26501         * sysdeps/arm/sfp-machine.h: ... to here.
26502         * sysdeps/arm/Implies: Remove arm/soft-fp.
26504 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26506         * conform/data/sys/utsname.h-data (*_t): Allow.
26507         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26508         [POSIX] (WEXITED): Do not expect constant.
26509         [POSIX] (WSTOPPED): Likewise.
26510         [POSIX] (WNOHANG): Likewise.
26511         [POSIX] (WNOWAIT): Likewise.
26512         [POSIX] (siginfo_t): Do not expect type or elements.
26513         [POSIX] (pid_t): Do not expect type.
26514         [POSIX] (signal.h): Do not allow header.
26515         [POSIX] (sys/resource.h): Likewise.
26516         [POSIX] (si_*): Do not allow pattern.
26517         [POSIX] (W*): Likewise.
26518         [POSIX] (P_*): Likewise.
26519         [POSIX] (BUS_*): Likewise.
26520         [POSIX] (CLD_*): Likewise.
26521         [POSIX] (FPE_*): Likewise.
26522         [POSIX] (ILL_*): Likewise.
26523         [POSIX] (POLL_*): Likewise.
26524         [POSIX] (SEGV_*): Likewise.
26525         [POSIX] (SI_*): Likewise.
26526         [POSIX] (TRAP_*): Likewise.
26527         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26528         variable.
26530 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26532         [BZ #12926]
26533         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26534         infinite loop when __recvmsg returns 0.
26536 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26538         * CANCEL-FCT-WAIVE: Remove file.
26539         * CANCEL-FILE-WAIVE: Likewise.
26541         [BZ #14132]
26542         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26543         instead of INTVARDEF.
26544         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26545         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26546         rtld_hidden_data_def instead of INTVARDEF.
26547         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26548         * elf/dl-deps.c (expand_dst): Likewise.
26549         * elf/dl-load.c (_dl_dst_count): Likewise.
26550         (_dl_dst_substitute): Likewise.
26551         (decompose_rpath): Likewise.
26552         (_dl_init_paths): Likewise.
26553         (open_path): Likewise.
26554         (_dl_map_object): Likewise.
26555         * elf/rtld.c (dl_main): Likewise.
26556         (process_dl_audit): Likewise.
26557         (process_envvars): Likewise.
26558         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26559         Remove declaration.
26560         (__libc_enable_secure): Use rtld_hidden_proto.
26562 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26564         * elf/dl-load.c
26565         (add_path): New function broken out of _dl_rtld_di_serinfo.
26566         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26568 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26570         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26571         parentheses around macro arguments.
26572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26576         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26577         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26578         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26580         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26583         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26584         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26585         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26586         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26587         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26588         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26601         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26602         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26603         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26604         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26606         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26607         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26608         Likewise.
26609         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26611         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26615         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26616         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26617         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26618         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26619         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26620         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26621         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26630         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26633         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26635         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26636         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26637         (_FP_FRAC_SRS_1): Likewise.
26638         (_FP_FRAC_CLZ_1): Likewise.
26639         (_FP_MUL_MEAT_1_imm): Likewise.
26640         (_FP_MUL_MEAT_1_wide): Likewise.
26641         (_FP_MUL_MEAT_1_hard): Likewise.
26642         (_FP_SQRT_MEAT_1): Likewise.
26643         (_FP_FRAC_ASSEMBLE_1): Likewise.
26644         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26645         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26646         (__FP_CLZ_2): Likewise.
26647         (_FP_MUL_MEAT_2_wide): Likewise.
26648         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26649         (_FP_MUL_MEAT_2_gmp): Likewise.
26650         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26651         (_FP_SQRT_MEAT_2): Likewise.
26652         (_FP_FRAC_ASSEMBLE_2): Likewise.
26653         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26654         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26655         (_FP_FRAC_CLZ_4): Likewise.
26656         (_FP_MUL_MEAT_4_wide): Likewise.
26657         (_FP_MUL_MEAT_4_gmp): Likewise.
26658         (_FP_SQRT_MEAT_4): Likewise.
26659         (_FP_FRAC_ASSEMBLE_4): Likewise.
26660         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26661         * soft-fp/op-common.h (_FP_CMP): Likewise.
26662         (_FP_CMP_EQ): Likewise.
26663         (_FP_CMP_UNORD): Likewise.
26664         (_FP_TO_INT): Likewise.
26665         (_FP_FROM_INT): Likewise.
26666         [!__FP_CLZ] (__FP_CLZ): Likewise.
26667         (_FP_DIV_HELP_imm): Likewise.
26668         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26669         Likewise.
26670         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26674         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26675         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26681         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26682         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26683         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26684         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26685         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26686         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26699         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26700         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26701         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26702         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26703         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26704         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26705         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26706         (FP_UNPACK_RAW_SP): Likewise.
26707         (FP_PACK_RAW_S): Likewise.
26708         (FP_PACK_RAW_SP): Likewise.
26709         (FP_UNPACK_S): Likewise.
26710         (FP_UNPACK_SP): Likewise.
26711         (FP_UNPACK_SEMIRAW_S): Likewise.
26712         (FP_UNPACK_SEMIRAW_SP): Likewise.
26713         (FP_PACK_S): Likewise.
26714         (FP_PACK_SP): Likewise.
26715         (FP_PACK_SEMIRAW_S): Likewise.
26716         (FP_PACK_SEMIRAW_SP): Likewise.
26717         (_FP_SQRT_MEAT_S): Likewise.
26718         (FP_CMP_S): Likewise.
26719         (FP_CMP_EQ_S): Likewise.
26720         (FP_CMP_UNORD_S): Likewise.
26721         (FP_TO_INT_S): Likewise.
26722         (FP_FROM_INT_S): Likewise.
26724         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26726         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26727         (FP_EX_INVALID_IMZ): Likewise.
26728         (FP_EX_INVALID_IMZ_FMA): Likewise.
26729         (FP_EX_INVALID_ISI): Likewise.
26730         (FP_EX_INVALID_ZDZ): Likewise.
26731         (FP_EX_INVALID_IDI): Likewise.
26732         (FP_EX_INVALID_SQRT): Likewise.
26733         (FP_EX_INVALID_CVI): Likewise.
26734         (FP_EX_INVALID_VC): Likewise.
26735         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26736         "invalid" exceptions.
26737         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26738         (_FP_ADD_INTERNAL): Likewise.
26739         (_FP_MUL): Likewise.
26740         (_FP_FMA): Likewise.
26741         (_FP_DIV): Likewise.
26742         (_FP_CMP_CHECK_NAN): Likewise.
26743         (_FP_SQRT): Likewise.
26744         (_FP_TO_INT): Likewise.
26745         (FP_EXTEND): Likewise.
26747 2014-10-09  Allan McRae  <allan@archlinux.org>
26749         * po/fr.po: Update French translation from translation project.
26751 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26753         [BZ #14132]
26754         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26755         of INTDEF.
26756         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26757         (__cxa_atexit): Use libc_hidden_proto.
26758         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26760         [BZ #14132]
26761         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26762         declaration.
26763         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26764         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26765         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26766         [!_ISOMAC] (__iswctype_internal): Likewise.
26767         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26768         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26769         alias.
26770         (fcntl): Remove __fcntl_internal alias.
26771         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26772         __connect_internal alias.
26773         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26774         Likewise.
26776         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26777         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26778         FP_DENORM_ZERO.
26779         (_FP_CHECK_FLUSH_ZERO): New macro.
26780         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26781         (_FP_CMP): Likewise.
26782         (_FP_CMP_EQ): Likewise.
26783         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26784         FP_DENORM_ZERO.
26785         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26786         (FP_TRUNC): Likewise.
26788         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26789         treated as invalid conversion, not as normal exponent.
26791         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26792         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26793         (_FP_CMP_EQ): Likewise.
26794         (_FP_CMP_UNORD): Likewise.
26795         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26796         (FP_CMP_EQ_D): Likewise.
26797         (FP_CMP_UNORD_D): Likewise.
26798         * soft-fp/extended.h (FP_CMP_E): Likewise.
26799         (FP_CMP_EQ_E): Likewise.
26800         (FP_CMP_UNORD_E): Likewise.
26801         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26802         (FP_CMP_EQ_Q): Likewise.
26803         (FP_CMP_UNORD_Q): Likewise.
26804         * soft-fp/single.h (FP_CMP_S): Likewise.
26805         (FP_CMP_EQ_S): Likewise.
26806         (FP_CMP_UNORD_S): Likewise.
26807         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26808         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26809         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26810         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26811         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26812         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26813         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26814         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26815         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26816         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26817         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26818         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26819         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26820         to FP_CMP_Q.
26821         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26822         FP_CMP_Q.
26823         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26824         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26825         FP_CMP_EQ_Q.
26826         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26827         FP_CMP_Q.
26828         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26829         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26830         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26831         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26832         FP_CMP_EQ_Q.
26833         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26834         FP_CMP_Q.
26835         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26836         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26837         FP_CMP_EQ_Q.
26838         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26839         FP_CMP_Q.
26840         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26841         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26842         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26843         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26844         FP_CMP_EQ_Q.
26846         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26847         a subnormal result, set the underflow exception if trapping on
26848         underflow is enabled.
26849         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26850         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26851         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26852         redefine to 0.
26853         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26854         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26855         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26856         * soft-fp/extendxftf2.c (__extendxftf2): Use
26857         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26859         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26860         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26861         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26862         FP_HANDLE_EXCEPTIONS.
26863         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26864         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26865         FP_HANDLE_EXCEPTIONS.
26866         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26867         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26868         FP_HANDLE_EXCEPTIONS.
26869         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26870         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26871         FP_HANDLE_EXCEPTIONS.
26873 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26875         [BZ #14132]
26876         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26877         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26878         use INTUSE.
26879         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26880         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26881         Remove alias.
26882         (__adjtimex): Define using libc_hidden_ver.
26883         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26884         Remove declaration.
26885         (ntp_gettime): Call __adjtimex directly.
26886         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26887         Remove declaration.
26888         (ntp_gettimex): Call __adjtimex directly.
26889         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26890         __adjtimex_internal alias.
26892 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26894         [BZ #17460]
26895         * nscd/nscd.c (more_help): Rewrite list of tables collection
26896         using xstrdup and asprintf.
26898         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26900 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26901             Roland McGrath  <roland@hack.frob.com>
26903         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26904         (do_lookup_unique): ... local function 'enter' here; update callers.
26906 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26908         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26909         compat_symbol calls on [SHARED].
26910         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26911         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26912         Remove.
26913         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26914         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26915         (oldsetrlimit): Remove.
26916         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26918         (lchown): New syscall entry.
26919         (oldsetrlimit): Remove.
26920         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26922         (oldsetrlimit): Remove.
26923         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26925         [BZ #14138]
26926         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26927         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26928         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26929         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26930         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26931         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26932         (fchown): Likewise.
26933         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26934         (fchown): Likewise.
26935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26936         Likewise.
26938 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26940         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26941         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26942         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26943         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26944         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26945         Likewise.
26946         (__old_sem_post): Likewise.
26948 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26950         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26951         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26952         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26953         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26954         Use INLINE_VSYSCALL macro.
26955         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26956         __vdso_clock_gettime.
26957         * sysdeps/unix/sysv/linux/tile/init-first.c
26958         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26959         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26960         __vdso_clock_gettime.
26962         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26963         to set up frame more cleanly.
26965         * sysdeps/tile/memcmp.c: New file.
26967         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26969         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26970         * sysdeps/tile/tilegx/strcasestr.c: New file.
26971         * sysdeps/tile/tilegx/strnlen.c: New file.
26972         * sysdeps/tile/tilegx/strstr.c: New file.
26974         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26976 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26978         * nptl/tst-setuid3.c: Write errors to stdout.
26980 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26982         * elf/dl-deps.c
26983         (preload): New functions broken out of _dl_map_object_deps.
26984         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26986 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #14138]
26989         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26990         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26992 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26994         * sysdeps/mips/strcmp.S: New.
26996 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26998         [BZ #14138]
26999         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27000         (linkat): Likewise.
27001         (mkdirat): Likewise.
27002         (readlinkat): Likewise.
27003         (renameat): Likewise.
27004         (symlinkat): Likewise.
27005         (unlinkat): Likewise.
27006         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27007         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27008         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27009         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27010         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27011         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27012         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27014 2014-09-30  Will Newton  <will.newton@linaro.org>
27016         * math/math.h: Define long double math functions if
27017         _LIBC_TEST is defined.
27018         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27020         * localedata/Makefile: Move assignment to tests-special
27021         into an ifdef testing run-built-tests.
27022         * timezone/Makefile: Likewise.
27024 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27026         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27027         with $(BASH) not $(SHELL).
27029 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27030             Matthew LeGendre  <legendre1@llnl.gov>
27032         [BZ #17411]
27033         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27034         l_reloc_result.
27036 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27038         * stdio-common/printf_fp.c
27039         (hack_digit): New function, broken out of ...
27040         (__printf_fp): ... local function here.  Update call sites.
27041         hack_digit now takes an additional parameter that is a pointer
27042         to a struct of the referenced locals.  Those locals moved inside
27043         the struct and references updated.
27045 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27047         * aclocal.m4: Require autoconf 2.69.
27048         * configure: Regenerated.
27049         * sysdeps/aarch64/configure: Likewise.
27050         * sysdeps/alpha/configure: Likewise.
27051         * sysdeps/arm/armv7/configure: Likewise.
27052         * sysdeps/arm/configure: Likewise.
27053         * sysdeps/ia64/configure: Likewise.
27054         * sysdeps/mach/configure: Likewise.
27055         * sysdeps/mips/configure: Likewise.
27056         * sysdeps/s390/configure: Likewise.
27057         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27060         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27061         file.
27062         * sysdeps/ia64/configure.ac: Likewise.
27064 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27067         specify symbol version for ld.so.  Do not include entry for
27068         libpthread.
27069         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27070         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27071         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27073         [BZ #14171]
27074         * Makeconfig [$(build-shared) = yes]
27075         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27076         makefiles.
27077         [$(build-shared) = yes && $(soversions.mk-done) = t]
27078         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27079         [$(build-shared) = yes && $(soversions.mk-done) = t]
27080         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27081         to Makerules.
27082         [$(build-shared) = yes && $(soversions.mk-done) = t]
27083         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27084         here.
27085         [$(build-shared) = yes && $(soversions.mk-done) = t]
27086         (common-generated): Don't append gnu/lib-names.h and
27087         gnu/lib-names.stmp here.
27088         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27089         (lib-names-h-abi): New variable.
27090         [$(build-shared) = yes && $(soversions.mk-done) = t]
27091         (lib-names-stmp-abi): Likewise.
27092         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27093         abi-variants] (before-compile): Append
27094         $(common-objpfx)$(lib-names-h-abi).
27095         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27096         abi-variants] (common-generated): Append gnu/lib-names.h.
27097         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27098         abi-variants] (install-others-nosubdir): Depend on
27099         $(inst_includedir)/$(lib-names-h-abi).
27100         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27101         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27102         [$(build-shared) = yes && $(soversions.mk-done) = t]
27103         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27104         [$(build-shared) = yes && $(soversions.mk-done) = t]
27105         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27106         [$(build-shared) = yes && $(soversions.mk-done) = t]
27107         (common-generated): Append $(lib-names-h-abi) and
27108         $(lib-names-stmp-abi).
27109         * scripts/lib-names.awk: Do not handle multi being set.
27110         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27111         Remove variable.
27112         (abi-lp64_be-ld-soname): Likewise.
27113         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27114         Likewise.
27115         (abi-hard-ld-soname): Likewise.
27116         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27117         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27118         Remove variable.
27119         (abi-o32_hard-ld-soname): Likewise.
27120         (abi-o32_soft_2008-ld-soname): Likewise.
27121         (abi-o32_hard_2008-ld-soname): Likewise.
27122         (abi-n32_soft-ld-soname): Likewise.
27123         (abi-n32_hard-ld-soname): Likewise.
27124         (abi-n32_soft_2008-ld-soname): Likewise.
27125         (abi-n32_hard_2008-ld-soname): Likewise.
27126         (abi-n64_soft-ld-soname): Likewise.
27127         (abi-n64_hard-ld-soname): Likewise.
27128         (abi-n64_soft_2008-ld-soname): Likewise.
27129         (abi-n64_hard_2008-ld-soname): Likewise.
27130         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27131         Likewise.
27132         (abi-64-v2-ld-soname): Likewise.
27133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27134         ld.so entries.
27135         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27136         variable.
27137         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27138         entry.
27139         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27140         variable.
27141         (abi-64-ld-soname): Likewise.
27142         (abi-x32-ld-soname): Likewise.
27143         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27144         entry.
27145         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27147 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27149         [BZ #14138]
27150         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27151         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27152         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27153         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27154         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27155         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27156         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27157         syscall entry for GLIBC_2.2 symbol version.
27158         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27159         Likewise.
27160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27161         (setrlimit): Likewise.
27162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27163         Likewise.
27165 2014-09-23  Will Newton  <will.newton@linaro.org>
27167         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27168         _LINUX_ARM_SYSDEP_H include guard too.
27169         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27170         define.
27172 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27174         * sysdeps/unix/sysv/linux/eventfd.c:
27175         Make first argument unsigned.
27176         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27177         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27179 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27181         [BZ #16852]
27182         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27183         * socket/sys/socket.h: Likewise.
27184         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27186 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27188         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27190 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27192         * time/tst-ftime.c: New test.
27193         * time/Makefile (tests): Add tst-ftime.
27195 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27197         * soft-fp/extended.h: Fix comment formatting.
27198         * soft-fp/op-1.h: Likewise.
27199         * soft-fp/op-2.h: Likewise.
27200         * soft-fp/op-4.h: Likewise.
27201         * soft-fp/op-8.h: Likewise.
27202         * soft-fp/op-common.h: Likewise.
27203         * soft-fp/soft-fp.h: Likewise.
27205         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27207 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27209         [BZ #6652]
27210         * Makeconfig (soversions-default-setname): Remove variable.
27211         ($(common-objpfx)soversions.i): Don't pass default_setname to
27212         soversions.awk.
27213         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27214         oldest_abi to abi-versions.awk.
27215         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27216         * config.make.in (oldest-abi): Remove variable.
27217         * configure.ac (--enable-oldest-abi): Remove configure option.
27218         * configure: Regenerated.
27219         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27220         text.
27221         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27222         * scripts/soversions.awk: Do not handle default_setname variable.
27223         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27224         variable.
27225         * sysdeps/mach/hurd/configure: Regenerated.
27226         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27227         variable.
27228         * sysdeps/unix/sysv/linux/configure: Regenerated.
27230 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27232         * elf/Makefile (CFLAGS-interp.c): Remove.
27233         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27234         path string.
27235         * elf/interp.c: Include generated runtime-linker.h
27237         * Makerules (lib%.so): Don't include $(+interp) in
27238         prerequisites.
27239         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27240         * dlfcn/eval.c: Remove file.
27242         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27243         macros.
27245         [BZ #17266]
27246         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27247         4.2 and newer.
27249         [BZ #17370]
27250         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27252 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27253             Jakub Jelinek  <jakub@redhat.com>
27255         [BZ #17266]
27256         * libio/stdio.h: Check definition of __fortify_function
27257         instead of __extern_always_inline to include bits/stdio2.h.
27258         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27259         check if __extern_always_inline is defined.
27260         [__USE_MISC || __USE_XOPEN]: Likewise.
27261         [__USE_ISOC99] Likewise.
27262         * misc/sys/cdefs.h (__fortify_function): Define only if
27263         __extern_always_inline is defined.
27264         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27265         __extern_always_inline and __extern_inline only for g++-4.3
27266         and newer or a compatible gcc.
27268 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27270         [BZ #17371]
27271         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27272         last change to handle zero prefix length.
27274 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27276         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27277         _SC_REGEX_VERSION.
27279         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27280         _POSIX_RAW_SOCKETS.
27282 2014-09-13  Allan McRae  <allan@archlinux.org>
27284         * po/ru.po: Update Russian translation from translation project.
27286 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27288         * locale/programs/locale.c (show_locale_vars): Inline local function
27289         into its sole call site.  Clean up some style nits.
27290         (print_item): New function, broken out of ...
27291         (show_info): ... local function here.  Clean up style nits.
27293         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27294         out of ...
27295         (set_class_defaults): ... local function set_default here.
27296         Define set_default as a macro locally to pass constant parameters.
27297         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27298         rather than a shared local.
27300         * stdlib/rpmatch.c (try): New function, broken out of ...
27301         (rpmatch): ... local function here.  Also, prototypify definition.
27303 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27305         * scripts/soversions.awk: Do not handle configuration names.
27306         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27307         vendor and os variables to soversions.awk.
27308         * configure.ac: Do not modify gnu-* host_os.
27309         * configure: Regenerated
27310         * shlib-versions: Remove first column with configuration names.
27311         * nptl/shlib-versions: Likewise.
27312         * nptl_db/shlib-versions: Likewise.
27313         * sysdeps/hppa/shlib-versions: Likewise.
27314         * sysdeps/m68k/shlib-versions: Likewise.
27315         * sysdeps/mach/hurd/shlib-versions: Likewise.
27316         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27317         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27318         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27319         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27320         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27321         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27322         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27323         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27325         Likewise.
27326         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27327         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27328         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27329         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27330         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27331         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27333         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27336         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27338         Regenerated.
27339         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27341         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27343         * shlib-versions: Remove OS-specific entries.  Moved to files in
27344         sysdeps.
27345         * sysdeps/mach/hurd/shlib-versions: New file.
27346         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27348         * nptl/shlib-versions: Remove architecture-specific entries.
27349         Moved to files in sysdeps.
27350         * shlib-versions: Likewise.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27352         file.
27353         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27354         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27355         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27356         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27358         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27359         (UDP_NO_CHECK6_RX): Likewise.
27361 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27363         * sysdeps/posix/sysconf.c (__sysconf): Spell
27364         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27366 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27368         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27369         loading.
27370         * iconv/Versions (__gconv_transliterate): Export for use from
27371         gconv modules.
27372         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27373         (struct __gconv_trans_data, __gconv_trans_fct,
27374         __gconv_trans_context_fct, __gconv_trans_query_fct,
27375         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27376         definitions.
27377         (struct __gconv_step_data): Remove __trans member.
27378         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27379         longer hidden.  Remove unused trans_data argument.
27380         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27381         (__gconv_translit_find): Remove declaration.
27382         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27383         prototype.
27384         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27385         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27386         trans_data argument.  Add hidden definition.
27387         (__gconv_translit_find): Remove.
27388         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27389         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27390         * iconv/skeleton.c: Remove transliteration initialization.
27391         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27392         __gconv_step_data initialization.
27393         * libio/iofwide.c (__libio_translit_): Remove.
27394         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27395         * wcsmbs/btowc.c (__btowc): Likewise.
27396         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27397         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27398         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27399         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27400         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27401         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27402         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27403         * wcsmbs/wctob.c (wctob): Likewise.
27405 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27407         [BZ #16194]
27408         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27409         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27410         register usage.
27411         * sysdeps/x86/Makefile: Adjust.
27413 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27414             Roland McGrath  <roland@hack.frob.com>
27416         * locale/weight.h: Add include guard.
27417         (findidx): Make static rather than auto; take new parameters
27418         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27419         * locale/weightwc.h: Likewise.
27420         * posix/fnmatch_loop.c
27421         (FCT): Change type of EXTRA from int32_t to wint_t.
27422         Don't include either header inside the function.
27423         Call FINDIDX rather than findidx, and pass new arguments.
27424         #undef FINDIDX at the end of the file.
27425         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27426         FINDIDX before including fnmatch_loop.c for the non-wide version.
27427         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27428         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27429         for the wide version.
27430         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27431         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27432         Pass new arguments to findidx.
27433         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27434         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27435         Don't #include it inside the function.  Pass new arguments to findidx.
27436         * posix/regex_internal.h
27437         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27438         (re_string_elem_size_at): Don't #include it inside the function.
27439         Pass new arguments to findidx.
27440         * string/strcoll_l.c: #include WEIGHT_H at top level.
27441         (get_next_seq): Don't #include it inside the function.
27442         Pass new arguments to findidx.
27443         (get_next_seq_nocache): Likewise.
27444         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27445         (STRXFRM): Don't #include it inside the function.
27446         Pass new arguments to findidx.
27448 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27450         [BZ #17344]
27451         * malloc/malloc.c (unlink): Turn asserts into a call to
27452         malloc_printerr.
27454 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27456         [BZ #17370]
27457         * libio/wfileops (do_ftell_wide): Free OUT.
27459 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27461         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27463 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27465         [BZ #17363]
27466         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27467         group if the current group is empty.
27469 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27471         * benchtests/bench-memset.c (test_main): Add more test from size
27472         from 32 to 512 bytes.
27473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27474         Add POWER8 memset object.
27475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27476         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27477         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27478         implementation.
27479         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27480         Likewise.
27481         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27482         multiarch POWER8 memset optimization.
27483         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27484         POWER8 memset optimization.
27486         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27487         Remove bzero multiarch objects.
27488         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27491         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27492         Remove define.
27493         [__bzero]: Redefine to specific name.
27494         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27495         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27496         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27497         define.
27498         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27499         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27501 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27503         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27504         warnings into errors.
27506         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27507         __cxa_thread_atexit_impl prototype.
27509 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27511         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27512         Fix capitalization of error message.
27514 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27516         * sysdeps/mips/preconfigure: Modify ABI tests.
27518 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27520         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27522 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27523             Carlos O'Donell  <carlos@systemhalted.org>
27525         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27526         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27527         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27528         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27529         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27531         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27532         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27533         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27534         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27535         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27536         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27537         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27538         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27539         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27540         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27541         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27542         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27544         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27545         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27546         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27547         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27548         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27549         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27550         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27551         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27552         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27553         Deconditionalize the code that was previously under [RESET_PID].
27554         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27555         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27556         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27557         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27558         include sysdep.h.
27560 2014-09-08  Allan McRae  <allan@archlinux.org>
27562         * version.h (RELEASE): Set to "development".
27563         (VERSION): Set to "2.20.90"
27565 2014-09-07  Allan McRae  <allan@archlinux.org
27567         * version.h (RELEASE): Set to "stable".
27568         (VERSION): Set to "2.20"
27569         * include/features.h (__GLIBC_MINOR__): Set to 20.
27571         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27572         Liebler.
27574         * po/ko.po: Update Korean translation from translation project.
27576 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27578         [BZ #17354]
27579         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27580         macro for handling signed relocations.
27582 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27584         [BZ #17325]
27585         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27586         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27587         assert.
27588         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27589         * iconvdata/ibm935.c (BODY): Likewise.
27590         * iconvdata/ibm937.c (BODY): Likewise.
27591         * iconvdata/ibm939.c (BODY): Likewise.
27592         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27593         assert.
27594         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27595         script.
27596         * iconvdata/run-iconv-test.sh: New test loop for checking for
27597         decoder crashers.
27599 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27601         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27602         libm_hidden_ver.
27604 2014-09-01  Allan McRae  <allan@archlinux.org>
27606         * po/eo.po: Update Esperanto translation from translation project.
27608         * po/ca.po: Update Catalan translation from translation project.
27610 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27612         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27613         __proc_dostop call.
27615 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27617         [BZ #17319]
27618         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27619         to call set_thread_area instead of hand written asm.
27620         (__NR_set_thread_area): Removed define.
27621         (TLS_FLAG_WRITABLE): Likewise.
27622         (__ASSUME_SET_THREAD_AREA): Remove check.
27623         (TLS_EBX_ARG): Remove define.
27624         (TLS_LOAD_EBX): Likewise.
27626 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27628         Simplify atomicity of socket creation in bind.
27630         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27631         looking up the name after linking the file.
27633 2014-08-27  Allan McRae  <allan@archlinux.org>
27635         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27637 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27639         [BZ #17187]
27640         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27641         trans_compare, open_translit, __gconv_translit_find):
27642         Remove module loading code.
27644 2014-08-26  Allan McRae  <allan@archlinux.org>
27646         * po/vi.po: Update Vietnamese translation from translation project.
27648         * po/uk.po: Update Ukrainian translation from translation project.
27650         * po/fr.po: Update French translation from translation project.
27652         * po/ru.po: Update Russian translation from translation project.
27654         * po/pl.po: Update Polish translation from translation project.
27656         * po/cs.po: Update Czech translation from translation project.
27658         * po/de.po: Update German translation from translation project.
27660         * po/bg.po: Update Bulgarian translation from translation project.
27662         * po/sv.po: Update Sweedish translation from translation project.
27664         * po/nl.po: Update Dutch translation from translation project.
27666         * po/es.po: Update Spanish translation from translation project.
27668 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27670         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27672         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27673         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27674         (CPPFLAGS-iconvconfig): Likewise.
27675         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27677         * include/libc-symbols.h: Remove unnecessary check for
27678         NOT_IN_libc.
27679         * nptl/pthreadP.h: Likewise.
27680         * sysdeps/aarch64/setjmp.S: Likewise.
27681         * sysdeps/alpha/setjmp.S: Likewise.
27682         * sysdeps/arm/sysdep.h: Likewise.
27683         * sysdeps/i386/setjmp.S: Likewise.
27684         * sysdeps/m68k/setjmp.c: Likewise.
27685         * sysdeps/posix/getcwd.c: Likewise.
27686         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27687         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27688         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27689         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27690         * sysdeps/sh/sh3/setjmp.S: Likewise.
27691         * sysdeps/sh/sh4/setjmp.S: Likewise.
27692         * sysdeps/unix/alpha/sysdep.h: Likewise.
27693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27694         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27695         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27696         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27701         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27702         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27704         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27706         * sysdeps/x86_64/setjmp.S: Likewise.
27708 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27710         [BZ #17263]
27711         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27712         <stdint.h>.
27713         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27714         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27716 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27718         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27720         [BZ #17262]
27721         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27722         and __x86_64__ when disabling x87 inline functions.
27724 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27726         [BZ #17259]
27727         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27728         asm statement with __cpuid_count.
27730 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27732         * configure.ac: Change __ehdr_start code to dereference the struct.
27733         Run readelf on the output to look for relocations.
27734         * configure: Regenerated.
27736 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #17261]
27739         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27740         value to 0.
27741         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27743 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27745         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27747 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27749         [BZ #16892]
27750         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27751         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27753 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27755         * malloc/malloc.c: Fix typo in comment.
27757 2014-08-09  Allan McRae  <allan@archlinux.org>
27759         * Regenerate libc.po.
27761 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27763         * intl/tst-gettext2.sh: Check every lang file for creation.
27765 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27767         * sysdeps/aarch64/fpu/math_private.h
27768         (libc_feholdsetround_noex_aarch64_ctx): New function.
27770 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27772         * sysdeps/arm/armv6/strcpy.S (strcpy):
27773         Fix performance issue in misaligned cases.
27775 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27777         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27778         Move definition from termios.h.
27779         (struct termio): Likewise.
27780         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27781         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27782         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27783         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27784         Likewise.
27785         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27786         Move definition to ioctl-types.h
27787         (struct termio): Likewise.
27788         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27789         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27790         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27791         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27792         Likewise.
27794 2014-08-05  Richard Henderson  <rth@redhat.com>
27796         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27797         exceptions.
27798         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27799         Add fraiseexcpt.
27800         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27801         Use __feraiseexcept.
27802         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27803         Protect libm symbols with IS_IN_libm.
27805         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27807 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27809         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27811 2014-08-04  Will Newton  <will.newton@linaro.org>
27813         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27814         file.
27816 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27818         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27819         variants for each function.
27821 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27823         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27824         appended ...
27825         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27826         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27827         appended ...
27828         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27829         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27830         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27831         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27832         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27833         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27834         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27835         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27836         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27837         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27838         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27839         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27840         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27841         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27842         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27843         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27844         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27845         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27846         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27847         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27848         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27849         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27850         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27851         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27852         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27853         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27854         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27855         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27856         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27857         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27858         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27859         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27860         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27861         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27862         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27864         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27865         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27866         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27867         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27868         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27869         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27870         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27871         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27872         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27873         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27874         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27875         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27876         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27877         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27878         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27879         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27880         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27881         Update #include.
27882         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27883         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27885 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27887         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27888         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27889         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27890         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27891         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27892         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27894 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27896         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27897         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27898         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27899         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27901 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27903         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27904         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27905         (__libc_vfork): Define function under this name.
27906         (__vfork): Define as an alias.
27907         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27908         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27910 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27912         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27913         that was previously under [RESET_PID].
27914         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27916 2014-08-04  Andreas Schwab  <schwab@suse.de>
27918         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27920 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27922         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27923         (main): Likewise.
27925 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27927         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27929 2014-08-01  Richard Henderon  <rth@redhat.com>
27931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27932         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27933         typo in exact zero test.
27934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27935         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27938 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27940         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27941         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27942         * sysdeps/arm/sysdep.h: ... here.
27943         [!__ASSEMBLER__]: Include <stdint.h>.
27945 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27947         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27948         (HAVE_WCTYPE_H): Likewise.
27949         (HAVE_ISWCTYPE): Likewise.
27950         (ENABLE_NLS): Likewise.
27951         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27952         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27954         * posix/regex_internal.c: Check if DEBUG is defined and is
27955         set.
27957         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27958         (HAVE_MBSRTOWCS): Likewise.
27959         * posix/fnmatch.c: Include string.h unconditionally.
27961 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27963         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27964         reversal.
27966 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27968         * sysdeps/generic/safe-fatal.h: New file.
27969         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27970         * nptl/forward.c: Include it.
27971         (__pthread_unwind): Use __safe_fatal as default action, rather
27972         than a bogus use of INTERNAL_SYSCALL that could never work.
27974         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27975         * configure.ac (libc_cv_builtin_trap): New test.
27976         * configure: Regenerated.
27977         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27978         (ABORT_INSTRUCTION): Define using __builtin_trap.
27980         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27981         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27982         * sysdeps/nptl/nptl-signals.h: New file.
27983         * nptl/pthreadP.h: Include <nptl-signals.h>.
27985 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27987         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27988         (ONE_DIRECTION): Define.
27989         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27990         (ONE_DIRECTION): Define.
27991         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27992         (ONE_DIRECTION): Define.
27994 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27996         * sysdeps/s390/Makefile: Delete file.
27997         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27998         * sysdeps/s390/__longjmp.c: Delete file.
27999         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28000         Remove fields __flags and __reserved.
28001         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28002         and add versioning.
28003         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28004         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28005         * sysdeps/s390/rtld-setjmp.S: Likewise.
28006         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28007         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28008         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28009         * sysdeps/s390/s390-32/setjmp.S: ... here.
28010         Add versioning.
28011         (__sigsetjmp): Remove setting __flags field.
28012         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28013         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28014         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28015         * sysdeps/s390/s390-64/setjmp.S: ... here.
28016         Add versioning.
28017         (__sigsetjmp): Remove setting __flags field.
28018         * sysdeps/s390/setjmp.S: Delete file.
28019         * sysdeps/s390/sigjmp.c: Likewise.
28020         * sysdeps/s390/v1-longjmp.c: Likewise.
28021         * sysdeps/s390/v1-setjmp.h: Likewise.
28022         * sysdeps/s390/v1-sigjmp.c: Likewise.
28023         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28024         Remove v1-longjmp_chk.
28025         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28026         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28027         Include debug/longjmp_chk.c and add versioning.
28028         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28029         Include nptl/pt-longjmp.c and add versioning.
28030         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28031         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28032         Include __longjmp.c.
28033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28034         Move to ...
28035         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28036         (__getcontext): Remove setting __flags field.
28037         Add versioning.
28038         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28039         Don't restore upper high grps.
28040         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28041         Likewise.
28042         (__swapcontext): Remove setting uc_flags field.
28043         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28044         Delete file.
28045         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28046         Include __longjmp.c.
28047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28048         Move to ...
28049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28050         (__getcontext): Remove setting __flags field.
28051         Add versioning.
28052         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28053         (__swapcontext): Remove setting uc_flags field.
28054         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28055         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28056         Remove fields uc_high_gprs and __reserved.
28057         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28058         New file with reverted content.
28059         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28060         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28061         Regenerated.
28062         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28063         Regenerated.
28065 2014-07-31  Andreas Schwab  <schwab@suse.de>
28067         * config.h.in (HAVE_IFUNC): Define to 0.
28068         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28069         definedness.
28071 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28074         memmove-avx-unaligned, memcpy-avx-unaligned and
28075         mempcpy-avx-unaligned.
28076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28077         Add tests for AVX memcpy functions.
28078         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28079         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28080         memcpy_chk.
28081         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28082         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28083         memmove_chk.
28084         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28085         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28086         mempcpy_chk.
28087         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28088         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28089         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28091 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28093         [BZ #17213]
28094         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28095         powerpc64le.
28097 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28099         [BZ #16839]
28100         * manual/llio.texi: Add section about open file description locks.
28101         * manual/examples/ofdlocks.c: Example of open file description
28102         lock usage.
28103         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28104         F_OFD_SETLK, and F_OFD_SETLKW.
28106 2014-07-23  Allan McRae  <allan@archlinux.org>
28108         * po/es.po: Update Spanish translation from translation project.
28110 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28112         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28114 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28116         [BZ #17078]
28117         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28118         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28119         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28121 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28123         [BZ #17088]
28124         * math/fesetenv.c (__fesetenv)
28125         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28126         * math/feupdateenv.c (__feupdateenv)
28127         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28129         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28130         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28131         (__ASSUME_SOCKETCALL): Do not define.
28133         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28134         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28135         (__ASSUME_SOCKETCALL): Do not define.
28136         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28137         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28138         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28139         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28140         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28141         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28143         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28145         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28146         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28147         (__ASSUME_SOCKETCALL): Do not define.
28148         (__ASSUME_IPC64): Define unconditionally.
28149         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28150         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28151         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28152         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28153         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28154         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28155         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28156         Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28159         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28160         (__ASSUME_SOCKETCALL): Do not define.
28161         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28162         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28163         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28164         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28165         (__ASSUME_REQUEUE_PI): Define unconditionally.
28166         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28167         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28168         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28169         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28171         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28173         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28174         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28175         (__ASSUME_SOCKETCALL): Do not define.
28176         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28177         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28178         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28179         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28181         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28183         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28184         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28185         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28186         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28187         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28188         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28190         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28191         (__ASSUME_GETCPU_SYSCALL): Likewise.
28193         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28194         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28195         cases for individual architectures.
28196         * sysdeps/gnu/configure: Regenerated.
28197         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28198         LIBC_SLIBDIR_RTLDDIR.
28199         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28200         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28201         LIBC_SLIBDIR_RTLDDIR.
28202         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28204         LIBC_SLIBDIR_RTLDDIR.
28205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28206         Regenerated.
28207         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28208         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28209         file.
28210         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28211         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28212         file.
28213         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28214         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28215         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28216         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28218         * sysdeps/aarch64/shlib-versions: Move to ...
28219         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28220         * sysdeps/alpha/shlib-versions: Move to ...
28221         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28222         * sysdeps/arm/shlib-versions: Move to ...
28223         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28224         * sysdeps/hppa/shlib-versions: Move all contents except for
28225         libgcc_s entry to ...
28226         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28227         entry from ...
28228         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28229         * sysdeps/ia64/shlib-versions: Move to ...
28230         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28231         entry from ...
28232         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28233         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28234         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28235         * sysdeps/microblaze/shlib-versions: Move to ...
28236         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28237         * sysdeps/mips/shlib-versions: Move to ...
28238         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28239         entry from ...
28240         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28241         * sysdeps/tile/shlib-versions: Move to ...
28242         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28243         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28244         from ...
28245         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28246         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28247         entry from ...
28248         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28250 2014-07-17  Will Newton  <will.newton@linaro.org>
28252         * sysdeps/arm/bits/atomic.h
28253         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28254         (__arch_compare_and_exchange_bool_16_int): Likewise.
28255         (__arch_compare_and_exchange_bool_64_int): Likewise.
28257         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28258         into an #else block.
28260 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28262         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28263         just Linux configurations.  Test empirically that the compiler sets
28264         __ARM_EABI__, rather than using the tuple to decide.
28265         * sysdeps/arm/preconfigure: Regenerated.
28266         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28267         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28268         contents appended ...
28269         * sysdeps/arm/configure.ac: ... here.
28270         * sysdeps/arm/configure: Regenerated.
28272 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28274         * nptl/pthread_kill.c: New file.
28275         * nptl/pthread_sigmask.c: New file.
28276         * nptl/pthread_sigqueue.c: New file.
28278         * sysdeps/nptl/lowlevellock.h: New file.
28279         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28280         * sysdeps/nptl/lowlevellock-futex.h: New file.
28282         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28283         Remove dead declarations.
28285 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28287         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28288         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28289         config-cflags-avx2.
28290         * sysdeps/x86_64/configure.ac: Likewise.
28291         * sysdeps/i386/configure: Regenerated.
28292         * sysdeps/x86_64/configure: Likewise.
28293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28294         memset-avx2 only if config-cflags-avx2 is yes.
28295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28296         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28297         defined.
28298         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28299         only if HAVE_AVX2_SUPPORT is defined.
28300         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28302 2014-07-14  Alan Modra  <amodra@gmail.com>
28304         [BZ #17153]
28305         * elf/elf.h (DT_PPC64_NUM): Correct value.
28306         * NEWS: Add to fixed bug list.
28308 2014-07-13  Jim Meyering  <meyering@fb.com>
28310         [BZ 17150]
28311         regex: don't deref NULL upon heap allocation failure
28312         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28313         failure in one more place.
28314         To trigger the segfault, configure grep -with-included-regex,
28315         build it, and run these commands:
28316         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28318 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28320         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28322 2014-07-11  Richard Henderson  <rth@redhat.com>
28324         * sysdeps/aarch64/libm-test-ulps: Update.
28326 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28328         [BZ #17135]
28329         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28330         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28331         (__nptl_setxid): Initialize error member.  Call
28332         __nptl_setxid_error.
28333         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28334         * nptl/descr.h (struct xid_command): Add error member.
28335         * nptl/tst-setuid3.c: New file.
28336         * nptl/Makefile (tests): Add it.
28338 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28340         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28341         New define.
28342         (__lll_trylock): Use __lll_base_trylock.
28343         (__lll_cond_trylock): Likewise.
28345 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28347         * nptl/pthread_create.c (start_thread): Use atomic_or and
28348         lll_futex_wake directly rather than lll_robust_dead.
28349         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28350         (lll_robust_dead): Macro removed.
28351         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28352         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28353         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28354         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28355         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28356         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28357         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28358         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28359         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28360         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28361         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28362         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28363         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28364         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28367         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28368         Use atomic_compare_and_exchange_val_acq directly rather than
28369         lll_robust_trylock.
28370         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28371         (__lll_robust_trylock, lll_robust_trylock): Removed.
28372         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28373         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28374         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28375         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28376         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28377         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28378         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28379         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28380         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28381         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28382         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28383         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28384         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28387 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28389         * manual/locale.texi (Locale Names): New section documenting
28390         locale name syntax.  Adjust menu and node chaining accordingly.
28391         (Choosing Locale): Reference Locale Names, Locale Categories.
28392         Mention setting LC_ALL=C.  Reflect that name syntax is now
28393         documented.
28394         (Locale Categories): New section title.  Reference Locale Names.
28395         LC_ALL is an environment variable, but not a category.
28396         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28397         description, now in Locale Name.  Reference that section.  Locale
28398         name syntax is now documented.
28400 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28402         [BZ #17137]
28403         * locale/findlocale.c (name_present, valid_locale_name): New
28404         functions.
28405         (_nl_find_locale): Use the loc_name variable to store name
28406         candidates.  Call name_present and valid_locale_name to check and
28407         validate locale names.  Return an error if the locale is invalid.
28409 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28411         * locale/setlocale.c (setlocale): Use strdup for allocating
28412         composite name copy.
28414 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28416         Sync up with gnulib.
28417         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28418         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28419         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28420         and _GL_ARG_NONNULL.
28421         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28422         [!_LIBC]: Include code for Windows and Cygwin.
28423         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28424         Include prototype for int strerror_r.
28425         [!_LIBC] (is_open): New function.
28426         (flush_stdout): New function.
28427         (print_errno_message): Use it.
28428         (error): Likewise.
28429         (error_at_line): Likewise.
28430         (error_tail) Add function attribute macros.  Use
28431         __builtin_expect.
28433         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28435         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28437         * io/ftw.c: Include sys/param.h unconditionally.
28439         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28441         [BZ #17125]
28442         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28443         libc_freeres_ptr.
28444         (freecache): New function to free CACHE on exit.
28446         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28447         initialization.
28449 2014-07-09  David S. Miller  <davem@davemloft.net>
28451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28453         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28454         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28455         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28456         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28457         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28458         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28459         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28460         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28461         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28462         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28463         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28464         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28465         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28467 2014-07-09  Andreas Schwab  <schwab@suse.de>
28469         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28470         output.
28471         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28472         (do_test): Likewise.
28474         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28476 2014-07-09  Will Newton  <will.newton@linaro.org>
28478         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28479         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28480         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28481         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28482         * sysdeps/hppa/start.S (_start): Likewise.
28484 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28486         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28488         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28489         defined.
28491 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28493         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28494         after checking that it is non-NULL.
28496         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28498 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28500         * sysdeps/powerpc/memmove.c: Remove file.
28501         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28502         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28503         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28504         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28505         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28506         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28507         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28508         string memmove instead of removed powerpc one.
28510         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28511         [weak_alias]: Fix compiler warning due trailing data.
28512         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28513         [weak_alias]: Likewise.
28514         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28515         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28518         (__libc_ifunc_impl_list): Add memmove functions.
28520 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28523         Remove code.
28524         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28525         Likewise.
28526         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28527         Likewise.
28528         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28529         Likewise.
28530         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28531         Likewise.
28532         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28533         Likewise.
28534         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28535         Likewise.
28536         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28537         Likewise.
28538         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28539         Likewise.
28540         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28541         Likewise.
28542         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28543         Likewise.
28544         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28545         Likewise.
28546         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28547         Likewise.
28548         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28549         Likewise.
28550         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28551         Likewise.
28552         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28553         Likewise.
28554         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28555         Likewise.
28557 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28559         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28560         to avoid alignment traps in non-cacheable memory.
28561         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28564         multiarch objects.
28565         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28566         file: multiarch power7 memmove.
28567         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28568         multiarch default memmove.
28569         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28570         multiarch memove for powerpc32/power4.
28572         * string/bcopy.c: Use full path to include memmove.c.
28573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28574         multiarch objects.
28575         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28576         bcopy for powerpc64.
28577         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28578         bcopy for powerpc64.
28579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28580         and memmove implementations.
28581         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28582         optimized multiarch memmove for POWER7/powerpc64.
28583         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28584         default multiarch memmove for powerpc64.
28585         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28586         multiarch for powerpc64.
28587         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28588         for POWER7/powerpc64.
28589         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28590         memmove for POWER7/powerpc64.
28592         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28593         glibc default one.
28595         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28596         __ELF_NATIVE_CLASS equal to 64.
28598 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28600         * sysdeps/nptl/lowlevellock.h: File removed.
28602         * NEWS: NPTL is no longer an add-on!
28603         * nptl/internaltypes.h: Moved ...
28604         * sysdeps/nptl/internaltypes.h: ... here.
28605         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28606         * sysdeps/nptl/fork.c: Likewise.
28607         * sysdeps/nptl/gai_misc.h: Likewise.
28608         * sysdeps/nptl/librt-cancellation.c: Likewise.
28609         * sysdeps/nptl/jmp-unwind.c: Likewise.
28610         * sysdeps/nptl/setxid.h: Likewise.
28611         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28612         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28613         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28614         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28615         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28616         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28617         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28618         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28619         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28620         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28621         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28622         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28623         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28624         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28625         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28626         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28627         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28628         * nptl/Makeconfig: Moved ...
28629         * sysdeps/nptl/Makeconfig: ... here.
28630         * nptl/configure: File removed.
28631         * nptl/ANNOUNCE: File removed.
28632         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28633         * sysdeps/unix/sysv/linux/configure: Regenerated.
28635         * nptl/Makefile (routines): Add libc_pthread_init,
28636         libc_multiple_threads, register-atfork and unregister-atfork.
28637         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28638         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28639         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28640         pthread-pi-defines.sym, structsem.sym.
28641         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28642         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28643         [$(subdir) = nptl] (tests): Add tst-setgetname.
28644         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28645         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28646         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28647         [!LIBC_SIGACTION]: Remove aliases.
28648         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28649         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28650         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28651         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28652         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28653         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28654         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28655         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28657         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28658         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28659         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28660         __libc_allocate_rtsig_private.
28661         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28662         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28663         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28664         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28665         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28666         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28667         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28668         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28669         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28670         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28671         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28672         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28673         * nptl/internaltypes.h: ... here.
28674         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28675         * sysdeps/nptl/jmp-unwind.c: ... here.
28676         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28677         * nptl/libc-lowlevellock.c: ... here.
28678         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28679         * nptl/libc_multiple_threads.c: ... here.
28680         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28681         * nptl/libc_pthread_init.c: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28683         * nptl/lowlevelbarrier.sym: ... here.
28684         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28685         * nptl/lowlevelcond.sym: ... here.
28686         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28687         * nptl/lowlevellock.c: ... here.
28688         * nptl/lowlevellock.h: Moved ...
28689         * sysdeps/nptl/lowlevellock.h: ... here.
28690         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28691         * nptl/lowlevelrobustlock.c: ... here.
28692         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28693         * nptl/lowlevelrobustlock.sym: ... here.
28694         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28695         * nptl/lowlevelrwlock.sym: ... here.
28696         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28697         * nptl/pt-fork.c: ... here.
28698         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28699         * nptl/pthread-pi-defines.sym: ... here.
28700         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28701         * nptl/pthread_attr_getaffinity.c: ... here.
28702         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28703         * nptl/pthread_attr_setaffinity.c: ... here.
28704         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28705         * nptl/pthread_mutex_cond_lock.c: ... here.
28706         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28707         Update #include.
28708         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28709         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28710         * nptl/pthread_once.c: ... here, replacing old file.
28711         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28712         * nptl/pthread_yield.c: ... here.
28713         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28714         * nptl/register-atfork.c: ... here.
28715         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28716         * nptl/sem_post.c: ... here.
28717         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28718         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28719         * nptl/sem_timedwait.c: ... here.
28720         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28721         * nptl/sem_trywait.c: ... here.
28722         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28723         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28724         * nptl/sem_wait.c: ... here.
28725         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28726         * nptl/structsem.sym: ... here.
28727         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28728         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28729         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28730         * nptl/unregister-atfork.c: ... here.
28731         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28732         * nptl/unwindbuf.sym: ... here.
28733         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28734         * sysdeps/nptl/fork.c: ... here.
28735         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28736         * sysdeps/nptl/fork.h: ... here.
28737         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28738         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28739         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28740         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28741         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28742         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28743         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28744         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28745         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28746         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28747         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28748         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28749         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28750         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28751         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28752         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28753         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28754         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28755         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28756         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28757         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28758         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28759         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28760         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28761         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28762         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28763         * sysdeps/unix/sysv/linux/raise.c: ... here.
28764         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28765         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28766         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28767         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28768         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28769         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28770         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28771         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28772         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28773         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28774         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28775         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28776         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28777         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28778         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28780 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28782         * sysdeps/generic/memcopy.h: Add comment for
28783         MEMCPY_OK_FOR_FWD_MEMMOVE.
28785 2014-07-04  Will Newton  <will.newton@linaro.org>
28787         * string/memchr.c: Merge from gnulib.
28788         [_LIBC]: Remove conditionals.
28789         (__ptr_t): Remove define.
28790         (LONG_MAX_32_BITS): Likewise.
28791         (LONG_MAX): Likewise.
28792         (MEMCHR): Use ANSI prototype and optimize algorithm.
28794         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28796 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28798         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28799         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28801         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28802         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28803         in a bare environment with no <stdlib.h> installed.
28804         * sysdeps/nptl/configure: Regenerated.
28806         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28808         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28809         AC_EGREP_CPP for kernel header checks, so they only succeed if
28810         including <linux/version.h> actually works right.
28811         * sysdeps/unix/sysv/linux/configure: Regenerated.
28813         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28814         value so it's not diagnosed as unused.
28816         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28817         thing) with "ifeq ($(subdir),rt)".
28819 2014-07-03  Richard Henderson  <rth@redhat.com>
28821         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28822         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28823         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28825         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28826         (math_force_eval): New.
28828         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28829         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28831         * sysdeps/alpha/fpu/s_round.c: Remove file.
28832         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28834         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28835         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28836         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28837         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28838         (_dl_start, print_statistics): Likewise.
28839         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28840         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28842         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28843         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28844         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28845         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28846         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28847         (HP_SMALL_TIMING_AVAIL): Define.
28848         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28849         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28850         (HP_SMALL_TIMING_AVAIL): Define.
28851         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28852         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28854         * sysdeps/aarch64/hp-timing.h: New file.
28856         * sysdeps/generic/hp-timing.h: Remove dead comment.
28857         * sysdeps/generic/hp-timing-common.h: New file.
28858         * sysdeps/alpha/hp-timing.h: Include it.
28859         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28860         * sysdeps/i386/i686/hp-timing.h: Likewise.
28861         * sysdeps/ia64/hp-timing.h: Likewise.
28862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28863         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28865         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28866         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28867         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28868         (hp_timing_t): New.
28870         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28871         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28872         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28873         * elf/rtld.c (_dl_start_final): Likewise.
28874         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28875         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28876         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28877         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28878         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28880         (HP_TIMING_DIFF_INIT): Remove.
28881         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28882         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28883         (HP_TIMING_DIFF_INIT): Remove.
28884         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28885         * sysdeps/i386/i686/hp-timing.c: Remove file.
28886         * sysdeps/x86_64/hp-timing.c: Remove file.
28887         * sysdeps/ia64/hp-timing.c: Remove file.
28888         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28889         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28891         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28893         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28894         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28895         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28896         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28897         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28898         (HP_TIMING_ACCUM): Remove.
28899         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28900         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28901         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28903         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28904         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28905         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28906         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28908         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28909         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28910         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28912         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28914 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28916         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28918 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28920         Sync up with gettext.
28921         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28922         [_MSC_VER]: Include malloc.h
28923         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28924         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28925         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28926         TEMP_FAILURE_RETRY.  Cast return of alloca.
28927         [!_LIBC] Call gl_rwlock_init.
28928         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28930 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28932         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28933         before checking its value.
28935 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28937         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28939         * debug/memcpy_chk.c: Don't include pagecopy.h.
28940         * debug/mempcpy_chk.c: Likewise.
28941         * string/memcpy.c: Likewise.
28942         * string/memmove.c: Likewise.
28943         * sysdeps/powerpc/memmove.c: Likewise.
28944         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28945         definition of PAGE_COPY_FWD_MAYBE here...
28946         * sysdeps/generic/pagecopy.h: ... from here.
28947         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28949 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28950             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28952         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28954         optimizations.
28955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28956         (__libc_ifunc_impl_list): Likewise.
28957         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28958         multiarch strcat for PPC64.
28959         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28960         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28962 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28964         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28966 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         * intl/loadmsgcat.c: Remove declaration of
28969         get_sysdep_segment_value.
28970         (get_sysdep_segment_value): Use ISO C style.
28971         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28972         semicolon.  Fix typo and formatting in comment.
28973         (_nl_unload_domain): Use ISO C style.
28975         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28977 2014-07-02  Will Newton  <will.newton@linaro.org>
28979         * malloc/obstack.c: Merge from gnulib master.
28980         [HAVE_CONFIG_H]: Remove conditional code.
28981         [!_LIBC]: Include config.h.
28982         [!ELIDE_CODE]: Don't include inttypes.h, include
28983         stdint.h unconditionally.
28984         (print_and_abort): Mark as _Noreturn.
28985         (_obstack_allocated_p): Mark as __attribute_pure__.
28986         (obstack_free): Rename to __obstack_free.
28987         [!__attribute__]: Remove conditional code.
28988         * malloc/obstack.h: Merge from gnulib master.
28989         [__cplusplus]: Move conditional down.
28990         [!__attribute_pure__]: Define __attribute_pure__ here
28991         if it is not already defined.
28992         (_obstack_memory_used): Mark as __attribute_pure__.
28993         [!__obstack_free]: Define as obstack_free.
28994         [__GNUC__]: Remove check for ancient NeXT gcc.
28996 2014-07-02  Will Newton  <will.newton@linaro.org>
28997             Paul Eggert  <eggert@cs.ucla.edu>
28999         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29001 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29003         * resolv/gethnamaddr.c: Add comment warning that the file is
29004         not maintained.
29006 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29008         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29009         entries.
29011         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29012         entry for aio_cancel and aio_cancel64.
29013         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29014         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29015         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29016         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29017         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29018         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29019         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29020         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29021         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29022         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29023         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29024         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29025         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29027 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29029         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29030         * nptl/pthread_mutex_lock.c: Likewise.
29031         * nptl/pthread_mutex_timedlock.c: Likewise.
29032         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29034 2014-07-01  Richard henderson  <rth@redhat.com>
29036         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29037         (__isnan, __isnanl): Remove.
29038         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29040         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29042 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29044         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29046 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29048         * resolv/nss_dns/dns-host.c (getanswer_r)
29049         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29051 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29054         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29055         undefine.
29056         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29057         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29059 2014-07-01  Roland McGrath <roland@hack.frob.com>
29061         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29062         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29064         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29065         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29067         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29068         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29069         ... here.
29070         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29071         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29073         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29074         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29075         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29076         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29078         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29079         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29080         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29081         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29082         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29083         Moved ...
29084         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29085         ... here.
29086         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29087         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29088         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29089         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29090         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29091         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29092         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29093         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29094         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29095         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29096         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29097         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29099         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29100         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29101         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29102         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29103         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29104         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29105         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29106         ... here.
29107         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29108         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29109         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29110         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29111         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29112         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29113         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29114         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29116 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29118         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29119         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29120         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29121         Add sysdep.
29123 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29127 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29129         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29132         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29134         * sysdeps/arm/libm-test-ulps: Regenerated.
29136 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29137             Roland McGrath <roland@hack.frob.com>
29139         * test-skeleton.c (signal_handler): Kill the whole process group
29140         before killing the child individually.
29141         (main): Report any failure on `setpgid'.
29143 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29145         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29146         from _TLS_H to _ARM_NPTL_TLS_H.
29147         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29148         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29150 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29152         [BZ #16539]
29153         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29154         (__expm1l): Return argument unchanged when small but not
29155         subnormal.
29157         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29158         include macro name.
29159         (_FP_UNPACK_RAW_1_P): Likewise.
29160         (_FP_PACK_RAW_1): Likewise.
29161         (_FP_PACK_RAW_1_P): Likewise.
29162         (_FP_MUL_MEAT_1_wide): Likewise.
29163         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29164         (_FP_MUL_MEAT_1_hard): Likewise.
29165         (_FP_DIV_MEAT_1_imm): Likewise.
29166         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29167         (_FP_DIV_MEAT_1_udiv): Likewise.
29168         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29169         (_FP_UNPACK_RAW_2): Likewise.
29170         (_FP_UNPACK_RAW_2_P): Likewise.
29171         (_FP_PACK_RAW_2): Likewise.
29172         (_FP_PACK_RAW_2_P): Likewise.
29173         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29174         (_FP_MUL_MEAT_2_wide): Likewise.
29175         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29176         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29177         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29178         (_FP_MUL_MEAT_2_gmp): Likewise.
29179         (_FP_DIV_MEAT_2_udiv): Likewise.
29180         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29181         (_FP_FRAC_SRL_4): Likewise.
29182         (_FP_FRAC_SRST_4): Likewise.
29183         (_FP_FRAC_SRS_4): Likewise.
29184         (_FP_UNPACK_RAW_4): Likewise.
29185         (_FP_UNPACK_RAW_4_P): Likewise.
29186         (_FP_PACK_RAW_4): Likewise.
29187         (_FP_PACK_RAW_4_P): Likewise.
29188         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29189         (_FP_MUL_MEAT_4_wide): Likewise.
29190         (_FP_MUL_MEAT_4_gmp): Likewise.
29191         (umul_ppppmnnn): Likewise.
29192         (_FP_DIV_MEAT_4_udiv): Likewise.
29193         (__FP_FRAC_ADD_4): Likewise.
29194         (__FP_FRAC_SUB_3): Likewise.
29195         (__FP_FRAC_SUB_4): Likewise.
29196         (__FP_FRAC_DEC_3): Likewise.
29197         (__FP_FRAC_DEC_4): Likewise.
29198         (__FP_FRAC_ADDI_4): Likewise.
29199         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29200         (_FP_FRAC_SRL_8): Likewise.
29201         (_FP_FRAC_SRS_8): Likewise.
29203         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29204         include macro name.
29205         (FP_UNPACK_RAW_EP): Likewise.
29206         (FP_PACK_RAW_E): Likewise.
29207         (FP_PACK_RAW_EP): Likewise.
29208         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29209         (_FP_ISSIGNAN): Likewise.
29210         (_FP_ADD_INTERNAL): Likewise.
29211         (_FP_FMA): Likewise.
29212         (_FP_CMP): Likewise.
29213         (_FP_SQRT): Likewise.
29214         (_FP_TO_INT): Likewise.
29215         (_FP_FROM_INT): Likewise.
29216         (FP_EXTEND): Likewise.
29217         (_FP_DIV_MEAT_N_loop): Likewise.
29219 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29221         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29222         throughout.
29224 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29226         [BZ #17097]
29227         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29228         result with correct sign in case of exponents that produce
29229         overflow except for X very close to 1.
29231 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29233         mktime: merge #if/#ifdef usage from glibc
29234         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29235         as that works with both Glibc's and Gnulib's style.
29236         See thread starting at Siddhesh Poyarekar's bug report at:
29237         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29239 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29241         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29242         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29243         * sysdeps/tile/tilegx/memmove.c: Remove file.
29245 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29247         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29248         abi-name definition.
29249         * scripts/soversions.awk: Do not handle or generate ABI lines.
29250         * shlib-versions: Remove ABI entries.
29251         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29252         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29254 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29257         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29258         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29261         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29265         ... here.
29266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29267         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29269         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29271         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29273         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29275         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29277         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29279         Moved ...
29280         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29282         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29284         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29286         Moved ...
29287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29289         Moved ...
29290         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29292         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29294         Moved ...
29295         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29297         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29299         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29301         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29303         Moved ...
29304         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29306         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29307         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29308         Moved ...
29309         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29311         Moved ...
29312         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29314         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29316         Moved ...
29317         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29318         ... here.
29319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29320         Identical file removed.
29321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29322         Moved ...
29323         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29325         Identical file removed.
29326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29327         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29329         Moved ...
29330         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29332         Identical file removed.
29333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29334         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29336         Identical file removed.
29337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29340         Identical file removed.
29341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29342         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29344         Identical file removed.
29345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29346         Moved ...
29347         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29349         Identical file removed.
29350         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29351         Moved ...
29352         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29356         Identical file removed.
29357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29358         Moved ...
29359         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29360         ... here.
29361         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29362         Identical file removed.
29363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29364         Moved ...
29365         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29367         Identical file removed.
29368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29369         Moved ...
29370         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29372         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29374         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29376         Moved ...
29377         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29378         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29379         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29381         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29382         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29383         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29384         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29385         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29387 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29389         [BZ #17092]
29390         * nscd/nscd.c (monitor_child): Return exit status of child
29391         instead of return value from wait syscall.
29393 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29395         * configure.ac (libc_commonpagesize): Remove variable.
29396         (libc_relro_required): Likewise.
29397         (libc_cv_z_relro): Remove configure test.
29398         * configure: Regenerated.
29399         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29400         variable.
29401         (libc_relro_required): Likewise.
29402         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29403         (libc_relro_required): Likewise.
29404         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29405         (libc_relro_required): Likewise.
29406         * sysdeps/arm/preconfigure: Regenerated.
29407         * sysdeps/ia64/preconfigure: Remove file.
29408         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29409         variable.
29410         (libc_relro_required): Likewise.
29412         [BZ #16561]
29413         [BZ #16562]
29414         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29415         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29416         recompute overflowing results in original rounding mode.
29417         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29418         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29419         recompute overflowing results in original rounding mode.
29420         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29421         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29422         recompute overflowing results in original rounding mode.
29423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29424         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29425         recompute overflowing results in original rounding mode.
29426         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29427         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29428         recompute overflowing results in original rounding mode.
29429         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29430         (libc_feholdsetround_ctx): New macro.
29431         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29432         * sysdeps/i386/fpu/libm-test-ulps: Update.
29433         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29435 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29437         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29438         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29439         corresponding .cpsetup call.
29441 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29443         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29444         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29445         * sysdeps/arm/Makefile [$(subdir) = csu]
29446         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29447         (static-only-routines): Add aeabi_read_tp here.
29448         (shared-only-routines): Add libc-aeabi_read_tp here.
29449         (CFLAGS-libc-start.c): Add -fexceptions here.
29450         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29451         (sysdep_routines, static-only-routines, shared-only-routines):
29452         Don't add to these here.
29453         (CFLAGS-libc-start.c): Likewise.
29455         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29456         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29457         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29458         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29459         * sysdeps/arm/Makefile [$(subdir) = rt]
29460         (librt-sysdep_routines, librt-shared-only-routines):
29461         Append rt-aeabi_unwind_cpp_pr1 here.
29462         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29463         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29464         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29465         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29466         Append nptl-aeabi_unwind_cpp_pr1 here.
29467         (tests): Filter out tst-cleanupx4 here.
29468         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29469         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29470         Don't do those here.
29472 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29474         * scripts/list-sources.sh: Do not handle ports specially.
29476 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29478         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29479         * sysdeps/arm/feupdateenv.c: Likewise.
29481         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29483 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29485         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29486         trailing whitespace removed.
29487         * scripts/config.guess: Update to version 2014-03-23.
29488         * scripts/config.sub: Update to version 2014-05-01
29489         * scripts/install-sh: Update to version 2013-12-25.23.
29490         * scripts/move-if-change: Update from gnulib.
29492 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494         * debug/memmove_chk.c: Remove pagecopy.h include.
29496 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29498         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29499         identical to gnulib mktime.
29501 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29503         * configure.ac: Do not test for machine being rs6000.  Do not test
29504         for powerpc*-*soft.
29505         * configure: Regenerated.
29507         [BZ #11505]
29508         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29509         test.
29510         * configure: Regenerated.
29511         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29512         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29513         Remove configure test.
29514         * sysdeps/arm/configure: Regenerated.
29515         * sysdeps/nptl/configure.ac: Do not check
29516         libc_cv_asm_cfi_directives.
29517         * sysdeps/nptl/configure: Regenerated.
29518         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29519         * sysdeps/x86_64/nptl/configure: Remove generated file.
29520         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29521         unconditional.
29522         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29524 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29526         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29527         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29528         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29529         it is defined.
29531         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29532         instead of whether it is defined.
29533         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29534         * sysdeps/hppa/dl-machine.h: Likewise.
29535         * sysdeps/ia64/dl-machine.h: Likewise.
29536         * sysdeps/m68k/dl-machine.h: Likewise.
29537         * sysdeps/microblaze/dl-machine.h: Likewise.
29538         * sysdeps/mips/dl-machine.: Likewise.
29539         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29540         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29541         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29542         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29543         * sysdeps/sh/dl-machine.h: Likewise.
29544         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29545         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29546         * sysdeps/tile/dl-machine.h: Likewise.
29547         * sysdeps/x86_64/dl-machine.h: Likewise.
29549         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29550         code.
29551         (verify_persistent_db): Likewise.
29553 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29556         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29558         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29560         Moved ...
29561         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29562         ... here.
29563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29564         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29566         Identical file removed.
29567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29568         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29570         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29572         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29576         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29578         Moved ...
29579         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29581         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29583         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29585         Moved ...
29586         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29590         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29592         Identical file removed.
29593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29594         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29596         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29598         Moved ...
29599         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29600         ... here.
29601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29604         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29606         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29608         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29610         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29612         Moved ...
29613         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29615         Moved ...
29616         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29618         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29620         Moved ...
29621         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29623         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29625         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29626         folded into ...
29627         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29628         * sysdeps/unix/sysv/linux/s390/Versions
29629         (libpthread: GLIBC_2.19): New version set.
29630         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29631         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29632         (librt: GLIBC_2.3.3): New version set.
29633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29634         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29635         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29636         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29637         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29638         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29639         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29640         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29641         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29642         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29643         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29644         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29645         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29646         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29647         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29648         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29649         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29650         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29651         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29652         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29653         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29655         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29656         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29657         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29658         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29659         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29661         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29662         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29663         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29664         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29667         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29669         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29671         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29673         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29675         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29677         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29679         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29680         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29681         (__libc_vfork): Define the function under this name.
29682         [!NOT_IN_libc] (__vfork): Make this an alias.
29683         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29685         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29686         (__libc_vfork): Define the function under this name.
29687         [!NOT_IN_libc] (__vfork): Make this an alias.
29688         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29689         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29693         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29695         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29696         code that was previously under [RESET_PID].
29697         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29701         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29702         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29703         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29704         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29705         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29706         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29707         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29708         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29709         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29710         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29711         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29712         Moved ...
29713         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29714         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29715         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29716         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29717         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29718         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29719         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29720         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29721         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29722         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29723         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29724         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29725         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29726         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29727         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29728         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29729         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29730         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29731         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29732         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29733         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29734         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29735         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29736         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29737         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29738         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29739         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29741         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29743 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29745         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29746         that was previously under [RESET_PID].
29747         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29749 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29751         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29752         not undefine and redefine.
29753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29754         [O_CLOEXEC]: Make code unconditional.
29755         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29756         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29757         <kernel-features.h>.
29758         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29759         conditional variable definition.
29760         (shm_open) [O_CLOEXEC]: Make code unconditional.
29761         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29762         code.
29764         * configure.ac (USE_REGPARMS): Don't define here.
29765         * configure: Regenerated.
29766         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29767         * sysdeps/i386/configure: Regenerated.
29769         * nptl/createthread.c: Don't include kernel-features.h.
29770         * nptl/pthread_cancel.c: Likewise.
29771         * nptl/pthread_condattr_setclock.c: Likewise.
29772         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29773         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29774         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29775         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29776         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29777         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29778         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29781         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29782         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29783         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29784         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29785         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29786         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29787         * nscd/gai.c: Likewise.
29788         * nss/nss_db/db-open.c: Likewise.
29789         * sysdeps/generic/ldsodefs.h: Likewise.
29790         * sysdeps/sh/nptl/tls.h: Likewise.
29791         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29792         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29793         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29794         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29795         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29796         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29797         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29798         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29799         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29800         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29801         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29802         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29803         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29804         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29805         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29806         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29807         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29808         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29809         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29810         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29813         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29814         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29819         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29820         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29821         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29822         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29823         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29824         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29825         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29826         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29827         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29828         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29829         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29830         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29831         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29832         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29833         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29834         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29835         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29836         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29837         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29838         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29839         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29840         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29841         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29842         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29843         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29844         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29845         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29846         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29847         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29848         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29871         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29872         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29873         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29874         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29875         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29877         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29878         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29879         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29880         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29881         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29882         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29883         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29884         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29885         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29886         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29887         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29888         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29889         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29890         * sysdeps/unix/sysv/linux/system.c: Likewise.
29891         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29892         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29893         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29894         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29895         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29896         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29897         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29899         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29900         * configure: Regenerated.
29901         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29903         * configure.ac (base_machine): Do not set specially for particular
29904         machines here.
29905         * configure: Regenerated.
29906         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29907         settings from configure.ac.
29908         * sysdeps/i386/preconfigure: New file.
29909         * sysdeps/s390/preconfigure: Likewise.
29910         * sysdeps/sh/preconfigure: Likewise.
29911         * sysdeps/sparc/preconfigure: Likewise.
29913 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29915         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29916         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29917         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29918         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29919         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29920         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29921         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29922         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29923         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29924         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29925         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29926         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29927         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29929         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29930         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29932         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29933         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29935         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29936         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29937         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29938         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29939         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29940         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29941         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29942         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29943         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29944         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29945         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29946         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29947         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29948         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29949         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29950         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29951         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29952         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29953         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29954         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29955         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29956         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29958         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29960         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29961         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29962         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29964         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29965         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29966         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29967         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29968         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29969         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29970         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29971         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29972         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29975         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29977         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29979         Moved ...
29980         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29981         ... here.
29982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29983         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29985         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29987         Moved ...
29988         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29990         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29992         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29994         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29996         Moved ...
29997         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29999         Moved ...
30000         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30002         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30004         Moved ...
30005         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30007         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30009         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30011         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30013         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30015         Moved ...
30016         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30017         ... here.
30018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30019         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30026         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30028         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30030         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30032         Moved ...
30033         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30035         Moved ...
30036         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30038         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30040         Moved ...
30041         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30043         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30045         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30047 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30049         * timezone/checktab.awk: Update from tzcode 2014e.
30050         * timezone/private.h: Likewise.
30051         * timezone/tzfile.h: Likewise.
30052         * timezone/zdump.c: Likewise.
30053         * timezone/zic.c: Likewise.
30055         * sysdeps/unix/sysv/linux/kernel-features.h
30056         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30058         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30059         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30060         Remove conditional code.
30062 2014-06-25  Will Newton  <will.newton@linaro.org>
30064         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30065         (_dl_arm_cap_flags): Add HWCAP2 values.
30066         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30067         (_DL_HWCAP_COUNT): Increase to 37.
30068         (_DL_HWCAP_LAST): New define.
30069         (_DL_HWCAP2_LAST): New define.
30070         (_dl_procinfo): Add support for printing
30071         AT_HWCAP2 entries.
30072         (_dl_string_hwcap): Use _dl_hwcap_string.
30074 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30078 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30080         * README: Do not mention ports directory.
30082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30083         Remove macro.
30084         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30085         <kernel-features.h>.
30086         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30087         conditional variable definition.
30088         (__futimes): Update comment.
30089         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30090         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30092         [BZ #16560]
30093         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30094         arguments close to 0.
30095         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30096         Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30098         Likewise.
30099         * math/auto-libm-test-in: Add more tests of exp10.
30100         * math/auto-libm-test-out: Regenerated.
30101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30103         * sysdeps/unix/sysv/linux/kernel-features.h
30104         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30105         * sysdeps/unix/sysv/linux/readv.c: Do not include
30106         <kernel-features.h>.
30107         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30108         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30109         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30110         unconditional.
30111         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30112         conditional code.
30113         * sysdeps/unix/sysv/linux/writev.c: Do not include
30114         <kernel-features.h>.
30115         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30116         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30117         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30118         unconditional.
30119         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30120         conditional code.
30122 2014-06-25  Will Newton  <will.newton@linaro.org>
30124         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30125         comment changes throughout the file.  Remove checks
30126         for HAVE_*_H definitions that are not required.
30127         (__gen_tempname): Call abort if an unknown kind value is
30128         passed.
30130 2014-06-25  Andreas Schwab  <schwab@suse.de>
30132         [BZ #17086]
30133         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30134         scalbln, scalblnf, scalblnl in libc.
30136 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30138         [BZ #17086]
30139         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30140         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30141         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30143 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30145         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30146         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30147         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30148         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30149         Update #include.
30150         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30151         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30152         Update #include.
30153         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30154         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30155         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30156         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30157         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30158         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30159         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30160         * sysdeps/x86/bits/semaphore.h: ... here.
30161         * sysdeps/x86/nptl/elide.h: Moved ...
30162         * sysdeps/x86/elide.h: ... here.
30163         * sysdeps/x86_64/nptl/Implies: File removed.
30164         * sysdeps/i386/nptl/Implies: File removed.
30166 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30168         [BZ #16539]
30169         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30170         return the argument for normal arguments with exponent below -64.
30171         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30172         Likewise.
30173         * math/auto-libm-test-in: Add another test of expm1.
30174         * math/auto-libm-test-out: Regenerated.
30176         [BZ #16287]
30177         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30178         calling __erfcl for arguments at least 16.
30179         * math/auto-libm-test-in: Add more tests of erf.
30180         * math/auto-libm-test-out: Regenerated.
30182         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30183         individual architectures.
30184         * sysdeps/unix/sysv/linux/configure: Regenerated.
30185         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30186         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30187         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30188         (ldd_rewrite_script): Define variable.
30189         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30191         file.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30193         generated file.
30194         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30195         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30196         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30197         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30198         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30199         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30200         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30201         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30203 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30205         [BZ #17084]
30206         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30207         Rename member __data.d to __data.__elision_data.
30209 2014-06-24  Wilco  <wdijkstr@arm.com>
30211         * NEWS: Add 16918 to fixed bug list.
30213 2014-06-24  Wilco  <wdijkstr@arm.com>
30215         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30217 2014-06-24  Wilco  <wdijkstr@arm.com>
30219         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30220         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30221         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30222         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30223         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30224         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30225         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30226         Use _FPU_MASK_RM.
30228 2014-06-24  Wilco  <wdijkstr@arm.com>
30230         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30232 2014-06-24  Wilco  <wdijkstr@arm.com>
30234         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30235         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30236         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30237         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30239 2014-06-24  Wilco  <wdijkstr@arm.com>
30241         [BZ #16918]
30242         * sysdeps/arm/feupdateenv.c (feupdateenv):
30243         Rewrite to reduce FPSCR accesses and fix return value.
30245 2014-06-24  Wilco  <wdijkstr@arm.com>
30247         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30248         Optimize to avoid unnecessary FPSCR writes.
30249         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30250         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30251         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30252         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30254 2014-06-24  Wilco  <wdijkstr@arm.com>
30256         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30257         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30258         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30259         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30260         Call libc_fetestexcept_vfp.
30261         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30262         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30263         __SOFTFP__ ifdef so that they can be built for softfp.
30265 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30267         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30268         argument type signed char.
30270         * Makerules (check-abi): Dump diff of symlist if the test
30271         fails.
30273 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30275         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30276         using abort.
30278         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30279         Remove unused variable ST.
30281 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30283         [BZ #16354]
30284         [BZ #17061]
30285         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30286         small arguments before calling __expm1.
30287         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30288         small arguments before calling __expm1f.
30289         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30290         small arguments before calling __expm1l.
30291         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30292         Likewise.
30293         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30294         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30295         spurious underflow for some cosh tests.
30296         * math/auto-libm-test-out: Regenerated.
30297         * sysdeps/i386/fpu/libm-test-ulps: Update.
30299         [BZ #17050]
30300         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30301         (__ieee754_y1): Set errno if return value overflows.
30302         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30303         (__ieee754_y1f): Set errno if return value overflows.
30304         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30305         (__ieee754_y1l): Set errno if return value overflows.
30306         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30307         (__ieee754_y1l): Set errno if return value overflows.
30308         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30309         * math/auto-libm-test-out: Regenerated.
30311         * math/gen-auto-libm-tests.c: Document use of
30312         ignore-zero-inf-sign.
30313         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30314         (input_flags): Add ignore-zero-inf-sign.
30315         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30316         * math/gen-libm-test.pl (generate_testfile): Handle
30317         ignore-zero-inf-sign.
30318         * math/auto-libm-test-in: Mark some cpow tests with
30319         ignore-zero-inf-sign and some with xfail-rounding.
30320         * math/auto-libm-test-out: Regenerated.
30321         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30322         * sysdeps/i386/fpu/libm-test-ulps: Update.
30323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30325         [BZ #16315]
30326         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30327         overflowing or underflowing operations take place with sign of
30328         result.
30329         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30330         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30331         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30332         (__ieee754_pow): Recompute overflowing and underflowing results in
30333         original rounding mode.
30334         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30335         (__powl_helper): Allow negative argument X and scale negated value
30336         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30337         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30338         overflowing or underflowing operations take place with sign of
30339         result.
30340         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30341         Include <math.h>.
30342         * math/auto-libm-test-in: Add more tests of pow.
30343         * math/auto-libm-test-out: Regenerated.
30344         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30345         (pow_tonearest_test_data): Remove.
30346         (pow_test_tonearest): Likewise.
30347         (pow_towardzero_test_data): Likewise.
30348         (pow_test_towardzero): Likewise.
30349         (pow_downward_test_data): Likewise.
30350         (pow_test_downward): Likewise.
30351         (pow_upward_test_data): Likewise.
30352         (pow_test_upward): Likewise.
30353         (main): Don't call removed functions.
30354         * sysdeps/i386/fpu/libm-test-ulps: Update.
30355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30357 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30360         Moved ...
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30363         Moved ...
30364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30366         Moved ...
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30369         Moved ...
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30372         File removed.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30374         File removed.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30376         File removed.
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30378         File removed.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30380         File removed.
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30382         File removed.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30384         File removed.
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30386         File removed.
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30388         File removed.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30390         File removed.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30392         File removed.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30394         File removed.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30396         Moved ...
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30399         Moved ...
30400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30401         ... here.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30403         Moved ...
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30406         Moved ...
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30409         Moved ...
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30412         Moved ...
30413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30415         Moved ...
30416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30418         Moved ...
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30421         Moved ...
30422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30425         ... here.
30426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30427         Moved ...
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30430         Moved ...
30431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30432         ... here.
30433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30434         Moved ...
30435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30436         ... here.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30438         Moved ...
30439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30440         ... here.
30441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30442         Moved ...
30443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30445         Moved ...
30446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30450         Moved ...
30451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30452         ... here.
30453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30454         Moved ...
30455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30456         ... here.
30457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30458         Moved ...
30459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30461         Moved ...
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30464         Moved ...
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30467         Moved ...
30468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30470         Moved ...
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30472         ... here.
30473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30474         Moved ...
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30477         Moved ...
30478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30480         Moved ...
30481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30483         Moved ...
30484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30488         Moved ...
30489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30491         Moved ...
30492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30494         Moved ...
30495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30496         ... here.
30497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30500         ... here.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30502         Moved ...
30503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30504         ... here.
30505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30506         Moved ...
30507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30515         Moved ...
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30517         ... here.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30519         Moved ...
30520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30521         ... here.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30523         Moved ...
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30525         ... here.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30527         Moved ...
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30530         Moved ...
30531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30533 2014-06-23  Will Newton  <will.newton@linaro.org>
30534             Wilco  <wdijkstr@arm.com>
30536         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30537         implementation.  Include get-rounding-mode.h.
30538         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30539         [!libc_feholdsetround_noex_ctx]: Define
30540         libc_feholdsetround_noex_ctx.
30541         [!libc_feholdsetround_noexf_ctx]: Define
30542         libc_feholdsetround_noexf_ctx.
30543         [!libc_feholdsetround_noexl_ctx]: Define
30544         libc_feholdsetround_noexl_ctx.
30545         (libc_feholdsetround_ctx): New function.
30546         (libc_feresetround_ctx): New function.
30547         (libc_feholdsetround_noex_ctx): New function.
30548         (libc_feresetround_noex_ctx): New function.
30550 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30552         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30553         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30554         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30555         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30556         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30557         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30559         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30560         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30561         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30562         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30563         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30564         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30566         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30570         Moved ...
30571         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30572         ... here.
30573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30574         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30576         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30578         Moved ...
30579         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30581         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30583         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30585         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30587         Moved ...
30588         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30590         Moved ...
30591         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30593         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30595         Moved ...
30596         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30598         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30600         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30601         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30602         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30604         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30606         Moved ...
30607         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30608         ... here.
30609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30610         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30612         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30614         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30616         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30618         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30620         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30622         Moved ...
30623         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30627         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30629         Moved ...
30630         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30632         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30633         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30634         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30636         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30637         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30638         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30639         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30640         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30641         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30643         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30645         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30646         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30647         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30648         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30649         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30651         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30652         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30653         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30654         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30655         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30656         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30657         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30658         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30659         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30660         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30661         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30662         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30663         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30665 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30668         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30669         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30670         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30671         (IPV6_PMTUDISC_INTERFACE): Likewise.
30672         (IPV6_PMTUDISC_OMIT): Likewise.
30674 2014-06-23  Andreas Schwab  <schwab@suse.de>
30676         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30677         Remove unused errout label.
30679 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30681         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30682         macro: hardware supports Vector Crypto instructions.
30684 2014-06-23  Will Newton  <will.newton@linaro.org>
30686         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30687         rather than __builtin_expect.
30689         * elf/dl-lookup.c (undefined_msg): Remove variable.
30690         (_dl_lookup_symbol_x): Replace undefined_msg with string
30691         literal.
30693         * elf/dl-lookup.c (do_lookup_unique): New function.
30694         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30695         to a separate function.
30697 2014-06-23  Andreas Schwab  <schwab@suse.de>
30699         [BZ #17079]
30700         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30701         before reading the next line.
30703 2014-06-23  Will Newton  <will.newton@linaro.org>
30705         * test-skeleton.c (signal_handler): Use printf and %m
30706         rather than perror.  Use printf rather than fprintf to
30707         stderr.  Use puts rather than fputs to stderr.
30708         (main): Likewise.
30710 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30712         * nscd/nscd.c (thread_info_t): Remove typedef.
30713         (thread_info): Remove variable.
30715 2014-06-21  Allan McRae  <allan@archlinux.org>
30717         * NEWS: Mention CVE-2014-4043.
30719 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30721         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30722         * nptl/smp.h: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30726         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30727         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30728         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30729         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30731         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30732         * nptl/stack-aliasing.h: New file.
30733         * sysdeps/i386/i686/stack-aliasing.h: New file.
30734         * sysdeps/i386/i686/nptl/Makefile: File removed.
30735         * sysdeps/x86_64/stack-aliasing.h: New file.
30736         * sysdeps/x86_64/nptl/Makefile
30737         (CFLAGS-pthread_create.c): Variable removed.
30739         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30740         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30741         old file.
30742         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30743         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30744         old file.
30746 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30748         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30749         (__ASSUME_SIGFRAME_V2): Remove macro.
30750         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30751         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30752         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30753         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30754         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30755         Declare as function.  Remove conditional macro definitions.
30756         (__default_rt_sa_restorer): Likewise.
30757         (__default_sa_restorer_v1): Remove declaration.
30758         (__default_sa_restorer_v2): Likewise.
30759         (__default_rt_sa_restorer_v1): Likewise.
30760         (__default_rt_sa_restorer_v2): Likewise.
30761         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30762         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30763         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30765 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30767         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30768         (libpthread-routines): Add sysdep.
30769         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30770         * sysdeps/unix/sysv/linux/sparc/Versions
30771         (libpthread: GLIBC_2.3.3): New version set.
30772         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30773         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30774         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30776         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30777         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30778         Moved ...
30779         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30780         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30781         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30783         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30785         * sysdeps/sparc/nptl/sem_init.c: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30787         * sysdeps/sparc/nptl/sem_post.c: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30789         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30791         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30793         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30794         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30795         (libpthread-routines): Add cpu_relax.
30796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30797         File removed.
30798         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30799         (librt: GLIBC_2.3.3): New version set.
30800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30801         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30802         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30803         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30806         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30808         Moved ...
30809         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30811         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30813         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30815         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30817         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30819         Moved ...
30820         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30821         Update #include.
30822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30823         Moved ...
30824         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30825         Update #include.
30826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30827         Moved ...
30828         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30829         Update #include.
30830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30831         Moved ...
30832         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30833         Update #include.
30834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30835         Moved ...
30836         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30837         Update #include.
30838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30839         Moved ...
30840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30841         Update #include.
30842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30843         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30849         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30851         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30853         Moved ...
30854         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30856         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30858         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30860 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30862         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30863         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30864         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30865         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30866         * nscd/nscd.c: Likewise.
30867         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30868         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30869         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30870         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30872         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30873         <kernel-features.h>.
30874         (init_mq_netlink): Remove conditional have_sock_cloexec
30875         definitions.  Remove code conditional on have_sock_cloexec < 0.
30876         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30877         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30878         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30879         <kernel-features.h>.
30880         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30881         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30883 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30886         Add tests for memset_chk and memset.
30888         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30889         with AVX2_Usable.
30891 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30893         [BZ #16046]
30894         * elf/tst-dl-iter-static.c: New file.
30895         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30897         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30898         error.
30900 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30902         * sysdeps/unix/sysv/linux/kernel-features.h
30903         (__ASSUME_F_GETOWN_EX): Remove macro.
30904         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30905         <kernel-features.h>.
30906         (miss_F_GETOWN_EX): Remove variable or macro.
30907         (do_fcntl): Do not check miss_F_GETOWN_EX.
30908         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30910         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30911         Remove macro.
30912         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30913         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30914         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30916         * sysdeps/unix/sysv/linux/kernel-features.h
30917         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30918         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30919         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30920         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30922 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30924         [BZ #17075]
30925         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30926         Fix calculation of the symbol's value.
30927         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30928         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30929         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30930         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30931         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30932         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30933         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30934         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30935         (modules-names): Add `tst-armtlsdescmod',
30936         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30937         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30938         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30939         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30940         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30941         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30942         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30943         ($(objpfx)tst-armtlsdescloc): New dependency.
30944         ($(objpfx)tst-armtlsdescextnow): Likewise.
30945         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30946         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30947         TLS scheme support.
30948         * sysdeps/arm/configure: Regenerate.
30950 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30952         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30953         (__atfct_seterrno_2): Likewise.
30954         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30955         <kernel-features.h>.
30956         (__ASSUME_ATFCTS): Do not undefine and redefine.
30957         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30958         (__have_atfcts): Remove conditional definition.
30959         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30960         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30961         unreachable if [__ASSUME_ATFCTS].
30962         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30963         not undefine and redefine.
30964         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30965         <kernel-features.h>.
30966         (faccessat) [__NR_faccessat]: Make code unconditional.
30967         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30968         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30969         <kernel-features.h>.
30970         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30971         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30972         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30973         <kernel-features.h>.
30974         (fchownat) [__NR_fchownat]: Make code unconditional.
30975         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30976         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30977         <kernel-features.h>.
30978         (futimesat) [__NR_futimesat]: Make code unconditional.
30979         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30980         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30981         <kernel-features.h>.
30982         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30983         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30984         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30985         <kernel-features.h>.
30986         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30987         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30988         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30989         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30990         <kernel-features.h>.
30991         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30992         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30993         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30994         <kernel-features.h>.
30995         (linkat) [__NR_linkat]: Make code unconditional.
30996         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30997         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30998         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30999         <kernel-features.h>.
31000         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31001         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31002         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31003         <kernel-features.h>.
31004         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31005         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31006         * sysdeps/unix/sysv/linux/openat.c: Do not include
31007         <kernel-features.h>.
31008         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31009         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31010         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31011         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31012         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31013         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31014         <kernel-features.h>.
31015         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31016         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31017         result of INLINE_SYSCALL directly, not via int variable.
31018         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31019         <kernel-features.h>.
31020         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31021         (renameat) [__NR_renameat]: Make code unconditional.
31022         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31023         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31024         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31025         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31026         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31027         (__ASSUME_ATFCTS): Do not undefine and redefine.
31028         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31029         <kernel-features.h>.
31030         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31031         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31032         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31033         <kernel-features.h>.
31034         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31035         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31036         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31037         (__ASSUME_ATFCTS): Do not undefine and redefine.
31038         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31039         <kernel-features.h>.
31040         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31041         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31042         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31043         <kernel-features.h>.
31044         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31045         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31047 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31049         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31051 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31053         [BZ #17069]
31054         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31055         constructed tree before returning error.
31056         * posix/bug-regexp36.c: Expand test case.
31058 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31060         [BZ #6803]
31061         * math/libm-test.inc (scalbln_test_date):
31062         Add errno expectations.
31063         * math/w_scalblnf.c: New File.
31064         Add wrapper which checks for setting errno to ERANGE.
31065         Add weak_alias for corresponding scalbln function.
31066         * math/w_scalbln.c: Likewise.
31067         * math/w_scalblnl.c: Likewise.
31068         * math/Makefile (libm-calls): Add w_scalbln.
31069         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31070         Remove weak_alias for corresponding scalbln function.
31071         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31072         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31073         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31074         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31075         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31076         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31077         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31078         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31079         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31080         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31081         Remove long_double_symbol for scalblnl function in libm, libc.
31082         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31083         Add wrapper which checks for setting errno to ERANGE.
31084         Add long_double_symbol for scalblnl function in libm, libc.
31085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31086         Remove long_double_symbol for scalblnl in libm.
31087         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31088         Add wrapper which checks for setting errno to ERANGE.
31089         Add long_double_symbol for scalblnl function in libm.
31090         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31091         Do not use wrapper because of own implementation.
31093 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31095         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31096         3 bytes for __pad1 for x32.
31097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31099 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31100             H.J. Lu  <hongjiu.lu@intel.com>
31102         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31103         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31104         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31105         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31106         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31108 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31110         [BZ #17069]
31111         * posix/regcomp.c (parse_expression): Deallocate partially
31112         constructed tree before returning error.
31113         * posix/Makefile.c (tests): Add bug-regex36.
31114         (generated): Add bug-regex36.mtrace.
31115         (tests-special): Add $(objpfx)bug-regex36-mem.out
31116         (bug-regex36-ENV): New variable.
31117         ($(objpfx)bug-regex36-mem.out): New rule.
31118         * posix/bug-regex36.c: New file.
31120 2014-06-19  Will Newton  <will.newton@linaro.org>
31122         * malloc/malloc.c (systrim): If extra is zero then return
31123         early.
31125 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31129 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31131         * sysdeps/aarch64/strchr.S: New file.
31133 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31135         [BZ #17022]
31136         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31137         from arguments -2 or below.
31138         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31139         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31141 2014-06-18  Andreas Schwab  <schwab@suse.de>
31143         [BZ #17062]
31144         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31145         of a bracket expr not to run off the end of the string.
31146         * posix/Makefile (tests): Add tst-fnmatch3.
31147         * posix/tst-fnmatch3.c: New file.
31149 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31151         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31152         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31153         [$(cross-compiling) = no]: Likewise.
31154         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31155         [$(cross-compiling) = no]: Likewise.
31157 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31159         [BZ #17031]
31160         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31161         double, adjusted for any remainder from the high double.
31162         * math/libm-test.inc (nearbyint): Add tests.
31163         (rint): Likewise.
31165 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31167         * nptl/sysdeps/powerpc/Makefile: Moved ...
31168         * sysdeps/powerpc/nptl/Makefile: ... here.
31169         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31170         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31171         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31172         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31173         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31174         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31175         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31176         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31177         * nptl/sysdeps/powerpc/tls.h: Moved ...
31178         * sysdeps/powerpc/nptl/tls.h: ... here.
31180 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31182         [BZ #16681]
31183         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31184         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31185         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31186         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31187         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31188         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31189         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31190         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31191         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31193 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31195         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31197 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31199         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31200         defined operator.
31202         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31203         $TIMEOUTFACTOR.
31205 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31207         [BZ #17058]
31208         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31209         non-executed part of the test.
31211 2014-06-16  Andreas Schwab  <schwab@suse.de>
31213         * string/bits/string2.h (strdup, strndup): Update feature guard.
31215 2014-06-14  David S. Miller  <davem@davemloft.net>
31217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31219 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31221         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31222         that was previously under [RESET_PID].
31223         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31225         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31226         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31227         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31228         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31229         (__libc_vfork): New strong alias.
31230         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31232 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31234         * sysdeps/generic/elide.h: New file.
31236 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31238         * Makefile (installed-headers): Adjust path of pthread.h header.
31240 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31242         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31243         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31245         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31247         * nptl/sysdeps/s390/Makefile: Moved ...
31248         * sysdeps/s390/nptl/Makefile: ... here.
31249         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31250         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31251         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31252         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31253         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31254         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31255         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31256         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31257         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31258         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31259         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31260         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31261         * nptl/sysdeps/s390/tls.h: Moved ...
31262         * sysdeps/s390/nptl/tls.h: ... here.
31264         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31265         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31267 2014-06-13  David S. Miller  <davem@davemloft.net>
31269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31272         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31276         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31277         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31278         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31279         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31280         Remove RESET_PID cpp guards.
31281         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31282         Remove RESET_PID cpp guards.
31283         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31285 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31287         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31288         __sp to uintptr_t.
31290 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31292         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31294         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31295         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31296         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31297         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31298         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31299         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31301         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31303         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31307         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31309         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31313         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31314         (pthread_rwlock_rdlock): Add elision.
31315         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31316         (pthread_rwlock_wrlock): Add elision.
31317         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31318         (pthread_rwlock_trywrlock): Add elision.
31319         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31320         (pthread_rwlock_tryrdlock): Add elision.
31321         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31322         (pthread_rwlock_tryrdlock): Add elision unlock.
31323         * nptl/sysdeps/pthread/pthread.h:
31324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31325         (PTHREAD_RWLOCK_INITIALIZER,
31326         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31327         Handle new elision field.
31328         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31329         * sysdeps/arm/nptl/bits/pthreadtypes.h
31330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31331         * sysdeps/sh/nptl/bits/pthreadtypes.h
31332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31333         * sysdeps/tile/nptl/bits/pthreadtypes.h
31334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31335         * sysdeps/a/nptl/bits/pthreadtypes.h
31336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31337         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31339         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31341         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31343         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31345         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31347         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31349         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31351         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31353         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31354         (elision_init): Set try_xbegin to zero when no RTM.
31355         * sysdeps/x86/nptl/bits/pthreadtypes.h
31356         (pthread_rwlock_t): Change __pad1 to __rwelision.
31357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31359 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31361         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31362         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31363         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31364         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31366 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31368         [BZ #16996]
31369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31370         that the cached result has been set before returning it.
31372 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31374         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31375         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31376         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31377         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31378         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31379         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31381         * nptl/sysdeps/sparc/Makefile: Moved ...
31382         * sysdeps/sparc/nptl/Makefile: ... here.
31383         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31384         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31385         * nptl/sysdeps/sparc/tls.h: Moved ...
31386         * sysdeps/sparc/nptl/tls.h: ... here.
31387         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31388         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31389         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31390         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31391         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31392         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31393         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31394         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31395         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31396         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31397         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31398         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31399         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31400         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31401         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31402         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31403         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31405         Update #include.
31406         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31407         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31408         Update #include.
31409         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31411         Update #include.
31412         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31414         Update #include.
31416         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31418         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31419         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31421         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31422         (struct list_links): Type removed.
31423         (struct thread_node, struct timer_node): Replace struct list_links
31424         with struct list_head.
31425         (list_unlink_ip): Likewise.
31426         * sysdeps/pthread/timer_routines.c
31427         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31428         (list_append, list_insbefore): Likewise.
31429         (list_init): Function removed.
31430         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31431         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31432         * sysdeps/pthread/Makefile: ... here, new file.
31434         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31435         * sysdeps/nptl/Implies: ... here.
31436         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31437         * nptl/sysdeps/pthread/list.h: Moved ...
31438         * include/list.h: ... here.
31439         * nptl/sysdeps/pthread/createthread.c: Moved ...
31440         * nptl/createthread.c: ... here.
31441         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31442         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31443         * nptl/pt-longjmp.c: ... here.
31444         * nptl/sysdeps/pthread/Makefile: Moved ...
31445         * sysdeps/nptl/Makefile: ... here.
31446         * nptl/sysdeps/pthread/Subdirs: Moved ...
31447         * sysdeps/nptl/Subdirs: ... here.
31448         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31449         * sysdeps/nptl/aio_misc.h: ... here.
31450         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31451         * sysdeps/nptl/bits/libc-lock.h: ... here.
31452         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31453         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31454         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31455         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31456         * nptl/sysdeps/pthread/configure: Moved ...
31457         * sysdeps/nptl/configure: ... here.
31458         * nptl/sysdeps/pthread/configure.ac: Moved ...
31459         * sysdeps/nptl/configure.ac: ... here.
31460         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31461         * sysdeps/nptl/gai_misc.h: ... here.
31462         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31463         * sysdeps/nptl/librt-cancellation.c: ... here.
31464         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31465         * sysdeps/nptl/malloc-machine.h: ... here.
31466         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31467         * sysdeps/nptl/pthread-functions.h: ... here.
31468         * nptl/sysdeps/pthread/pthread.h: Moved ...
31469         * sysdeps/nptl/pthread.h: ... here.
31470         * nptl/sysdeps/pthread/setxid.h: Moved ...
31471         * sysdeps/nptl/setxid.h: ... here.
31472         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31473         * sysdeps/nptl/sigfillset.c: ... here.
31474         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31475         * sysdeps/nptl/tcb-offsets.h: ... here.
31476         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31477         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31478         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31479         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31480         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31481         * sysdeps/pthread/allocalim.h: ... here.
31482         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31483         * sysdeps/pthread/bits/sigthread.h: ... here.
31484         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31485         * sysdeps/pthread/flockfile.c: ... here.
31486         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31487         * sysdeps/pthread/ftrylockfile.c: ... here.
31488         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31489         * sysdeps/pthread/funlockfile.c: ... here.
31490         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31491         * sysdeps/pthread/posix-timer.h: ... here.
31492         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31493         * sysdeps/pthread/timer_create.c: ... here.
31494         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31495         * sysdeps/pthread/timer_delete.c: ... here.
31496         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31497         * sysdeps/pthread/timer_getoverr.c: ... here.
31498         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31499         * sysdeps/pthread/timer_gettime.c: ... here.
31500         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31501         * sysdeps/pthread/timer_routines.c: ... here.
31502         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31503         * sysdeps/pthread/timer_settime.c: ... here.
31504         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31505         * sysdeps/pthread/tst-timer.c: ... here.
31506         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31507         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31509         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31510         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31512         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31513         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31514         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31515         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31516         Update #include target.
31517         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31518         * sysdeps/i386/i686/nptl/Makefile: ... here.
31519         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31520         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31521         Update #include target.
31522         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31523         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31524         * nptl/sysdeps/i386/Makefile: Moved ...
31525         * sysdeps/i386/nptl/Makefile: ... here.
31526         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31527         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31528         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31529         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31530         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31531         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31532         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31533         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31534         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31535         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31536         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31537         * nptl/sysdeps/i386/tls.h: Moved ...
31538         * sysdeps/i386/nptl/tls.h: ... here.
31540         * sysdeps/sh/Makefile [$(subdir) = csu]
31541         (gen-as-const-headers): Add tcb-offsets.sym.
31542         * nptl/sysdeps/sh/Makefile: File removed.
31543         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31544         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31545         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31546         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31547         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31548         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31549         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31550         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31551         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31552         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31553         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31554         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31555         * nptl/sysdeps/sh/tls.h: Moved ...
31556         * sysdeps/sh/nptl/tls.h: ... here.
31557         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31558         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31559         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31560         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31561         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31562         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31563         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31564         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31565         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31566         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31568         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31570         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31571         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31572         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31574         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31576         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31577         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31578         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31582         Moved ...
31583         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31585         Moved ...
31586         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31587         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31588         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31590         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31591         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31592         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31593         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31594         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31595         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31596         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31597         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31598         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31599         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31600         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31601         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31602         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31603         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31604         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31606 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31608         * posix/spawn_faction_addopen.c: Include string.h.
31610 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31612         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31613         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31614         * nptl/sysdeps/x86_64/Makefile: Moved ...
31615         * sysdeps/x86_64/nptl/Makefile: ... here.
31616         * nptl/sysdeps/x86_64/configure: Moved ...
31617         * sysdeps/x86_64/nptl/configure: ... here.
31618         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31619         * sysdeps/x86_64/nptl/configure.ac: ... here.
31620         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31621         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31622         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31623         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31624         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31625         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31626         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31627         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31628         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31629         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31630         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31631         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31632         * nptl/sysdeps/x86_64/tls.h: Moved ...
31633         * sysdeps/x86_64/nptl/tls.h: ... here.
31634         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31635         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31636         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31637         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31639         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31641 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31645 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31647         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31648         type.
31649         [POSIX] (off_t): Likewise.
31650         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31651         [POSIX] (S_ISBLK): Require macro.
31652         [POSIX] (S_ISCHR): Likewise.
31653         [POSIX] (S_ISDIR): Likewise.
31654         [POSIX] (S_ISFIFO): Likewise.
31655         [POSIX] (S_ISREG): Likewise.
31656         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31657         optional-macro.
31658         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31659         type.
31660         [POSIX] (time_t): Likewise.
31661         [POSIX] (timer_t): Likewise.
31663 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31665         [BZ #17048]
31666         * posix/spawn_int.h (struct __spawn_action): Make the path string
31667         non-const to support deallocation.
31668         * posix/spawn_faction_addopen.c
31669         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31670         * posix/spawn_faction_destroy.c
31671         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31672         path in all spawn_do_open actions.
31673         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31674         posix_spawn_file_actions_addopen.
31676 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31678         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31679         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31680         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31681         conditional code always true.
31682         (__libc_vfork): New alias.
31684 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31686         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31687         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31689         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31691         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31692         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31694         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31695         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31697         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31698         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31700 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31702         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31703         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31704         multiarch strcmp for PPC64.
31705         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31706         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31708         multiarch optimizations.
31709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31710         (__libc_ifunc_impl_list): Likewise.
31712 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31714         * benchtests/scripts/validate_benchout.py: New script.
31715         * benchtests/Makefile (bench-func): Call it.
31716         * benchtests/scripts/benchout.schema.json: New file.
31718 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31720         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31721         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31722         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31723         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31724         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31725         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31726         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31727         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31728         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31729         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31730         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31731         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31732         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31733         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31734         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31735         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31737         Moved ...
31738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31739         ... here.
31740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31741         Moved ...
31742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31744         Moved ...
31745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31746         ... here.
31747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31748         Moved ...
31749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31750         ... here.
31751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31752         Moved ...
31753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31755         Moved ...
31756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31757         ... here.
31758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31759         Moved ...
31760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31761         ... here.
31762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31763         Moved ...
31764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31766         Moved ...
31767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31768         ... here.
31769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31770         Moved ...
31771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31772         ... here.
31773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31774         Moved ...
31775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31776         ... here.
31777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31778         Moved ...
31779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31781         Moved ...
31782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31783         ... here.
31784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31785         Moved ...
31786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31787         ... here.
31788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31789         Moved ...
31790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31791         ... here.
31792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31793         Moved ...
31794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31796         Moved ...
31797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31798         ... here.
31799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31800         Moved ...
31801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31802         ... here.
31803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31804         Moved ...
31805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31807         Moved ...
31808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31809         ... here.
31810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31811         Moved ...
31812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31814         Moved ...
31815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31817         Moved ...
31818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31819         ... here.
31820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31821         Moved ...
31822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31823         ... here.
31824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31825         Moved ...
31826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31827         ... here.
31828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31829         Moved ...
31830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31832         Moved ...
31833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31834         ... here.
31835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31836         Moved ...
31837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31838         ... here.
31839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31840         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31842         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31844         Moved ...
31845         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31846         ... here.
31847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31848         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31852         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31854         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31856         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31857         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31860         Moved ...
31861         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31863         Moved ...
31864         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31868         Moved ...
31869         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31871         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31872         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31873         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31874         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31875         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31877 2014-06-10  Wilco  <wdijkstr@arm.com>
31879         * math/test-fenv-return.c: New file.
31880         * math/Makefile: Add new test test-fenv-return.
31882 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31884         [BZ #17042]
31885         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31886         when x - 1 is zero.
31887         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31888         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31889         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31890         0.0L for an argument of 1.0L.
31891         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31892         Likewise.
31893         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31894         value when x - 1 is zero.
31895         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31896         * sysdeps/i386/fpu/libm-test-ulps: Update.
31897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31899 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31901         [BZ #15119]
31902         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31904 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31906         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31907         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31909 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31911         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31912         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31914         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31915         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31917         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31918         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31920         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31921         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31923         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31924         if not already defined.
31925         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31926         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31927         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31928         (TLS_INIT_TP): Use it.
31929         (TLS_DEFINE_INIT_TP): New macro.
31930         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31932 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31934         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31935         constant.
31936         [POSIX] (IXANY): Likewise.
31937         [POSIX] (OLCUC): Likewise.
31938         [POSIX || POSIX2008] (CBAUD): Do not allow.
31939         [POSIX || POSIX2008] (DEFECHO): Likewise.
31940         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31941         [POSIX || POSIX2008] (ECHOKE): Likewise.
31942         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31943         [POSIX || POSIX2008] (EXTA): Likewise.
31944         [POSIX || POSIX2008] (EXTB): Likewise.
31945         [POSIX || POSIX2008] (FLUSHO): Likewise.
31946         [POSIX || POSIX2008] (LOBLK): Likewise.
31947         [POSIX || POSIX2008] (PENDIN): Likewise.
31948         [POSIX || POSIX2008] (SWTCH): Likewise.
31949         [POSIX || POSIX2008] (VDISCARD): Likewise.
31950         [POSIX || POSIX2008] (VDSUSP): Likewise.
31951         [POSIX || POSIX2008] (VLNEXT): Likewise.
31952         [POSIX || POSIX2008] (VREPRINT): Likewise.
31953         [POSIX || POSIX2008] (VSTATUS): Likewise.
31954         [POSIX || POSIX2008] (VWERASE): Likewise.
31955         (B*): Change to B[0123456789]*.
31956         * conform/data/time.h-data [POSIX || UNIX98]
31957         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31958         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31959         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31960         [POSIX] (tm_*): Do not allow.
31962 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31964         * Makefile (install): Don't set LANGUAGE.
31965         * Makefile.in (install): Likewise.
31966         * assert/Makefile (test-assert-ENV): Remove variable.
31967         (test-assert-perr-ENV): Likewise.
31968         * elf/Makefile (neededtest4-ENV): Likewise.
31969         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31970         [$(cross-compiling) = no]: Don't set LANGUAGE.
31971         * io/ftwtest-sh (LANG): Remove variable.
31972         * libio/Makefile (tst-widetext-ENV): Likewise.
31973         * manual/install.texi (Running make install): Don't refer to
31974         environment settings for make install.
31975         * INSTALL: Regenerated.
31976         * nptl/tst-tls6.sh: Don't set LANG.
31977         * posix/globtest.sh (LANG): Remove variable.
31978         * string/Makefile (tester-ENV): Likewise.
31979         (inl-tester-ENV): Likewise.
31980         (noinl-tester-ENV): Likewise.
31981         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31982         [$(cross-compiling) = no]: Don't set LANGUAGE.
31983         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31984         without explicit environment settings.
31986 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31988         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31989         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31990         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31991         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31993 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31995         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31996         other files in the crypt directory.
31997         * crypt/crypt.c: Remove duplicate includes.
31998         * crypt/crypt-entry.c: Likewise.
31999         * crypt/crypt_util.c: Likewise.
32001 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32003         * Makeconfig (run-program-env): New variable.
32004         (run-program-prefix-before-env): Likewise.
32005         (run-program-prefix-after-env): Likewise.
32006         (run-program-prefix): Define in terms of new variables.
32007         (built-program-cmd-before-env): New variable.
32008         (built-program-cmd-after-env): Likewise.
32009         (built-program-cmd): Define in terms of new variables.
32010         (test-program-prefix-before-env): New variable.
32011         (test-program-prefix-after-env): Likewise.
32012         (test-program-prefix): Define in terms of new variables.
32013         (test-program-cmd-before-env): New variable.
32014         (test-program-cmd-after-env): Likewise.
32015         (test-program-cmd): Define in terms of new variables.
32016         * Rules (make-test-out): Use $(run-program-env).
32017         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32018         (help): Do not mention environment variables.  Mention
32019         --timeoutfactor option.
32020         (timeoutfactor): New variable.
32021         (blacklist_exports): Remove function.
32022         (exports): Remove variable.
32023         (command): Do not include ${exports}.
32024         * manual/install.texi (Configuring and compiling): Do not mention
32025         test wrappers preserving environment variables.  Mention that last
32026         assignment to a variable must take precedence.
32027         * INSTALL: Regenerated.
32028         * benchtests/Makefile (run-bench): Use $(run-program-env).
32029         * catgets/Makefile ($(objpfx)test1.cat): Use
32030         $(built-program-cmd-before-env), $(run-program-env) and
32031         $(built-program-cmd-after-env).
32032         ($(objpfx)test2.cat): Do not specify environment variables
32033         explicitly.
32034         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32035         $(run-program-env) and $(built-program-cmd-after-env).
32036         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32037         $(run-program-env) and $(test-program-cmd-after-env).
32038         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32039         explicitly.
32040         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32041         run_program_env and test_program_cmd_after_env arguments.
32042         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32043         * elf/tst-pathopt.sh: Use run_program_env argument.
32044         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32045         $(test-wrapper-env) and $(run-program-env).
32046         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32047         run_program_env arguments.
32048         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32049         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32050         $(test-program-prefix-before-env), $(run-program-env) and
32051         $(test-program-prefix-after-env).
32052         ($(objpfx)tst-gettext2.out): Likewise.
32053         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32054         run_program_env and test_program_prefix_after_env arguments.
32055         * intl/tst-gettext2.sh: Likewise.
32056         * intl/tst-gettext4.sh: Do not set environment variables
32057         explicitly.
32058         * intl/tst-gettext6.sh: Likewise.
32059         * intl/tst-translit.sh: Likewise.
32060         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32061         $(test-program-prefix-before-env), $(run-program-env) and
32062         $(test-program-prefix-after-env).
32063         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32064         run_program_env and test_program_prefix_after_env arguments.
32065         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32066         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32067         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32068         explicitly with each use of ${test_wrapper_env}.
32069         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32070         $(test-program-prefix-before-env), $(run-program-env) and
32071         $(test-program-prefix-after-env).
32072         * posix/tst-getconf.sh: Do not set environment variables
32073         explicitly.
32074         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32075         run_program_env and test_program_prefix_after_env arguments.
32076         * stdio-common/tst-printf.sh: Do not set environment variables
32077         explicitly.
32078         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32079         $(test-program-prefix-before-env), $(run-program-env) and
32080         $(test-program-prefix-after-env).
32081         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32082         run_program_env and test_program_prefix_after_env arguments.
32083         Split $test calls into $test_pre and $test.
32084         * timezone/Makefile (build-testdata): Use
32085         $(built-program-cmd-before-env), $(run-program-env) and
32086         $(built-program-cmd-after-env).
32088 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32090         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32091         strlen for non SHARED builds.
32093 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32095         * nptl/allocatestack.c (check_list): Inlined function...
32096         (__reclaim_stacks): ... here.
32098 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32100         [BZ #15698]
32101         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32102         memory overrun.
32104 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32106         * Rules (make-test-out): Include
32107         LOCPATH=$(common-objpfx)localedata in default environment.
32108         * debug/Makefile (tst-chk1-ENV): Remove variable.
32109         (tst-chk2-ENV): Likewise.
32110         (tst-chk3-ENV): Likewise.
32111         (tst-chk4-ENV): Likewise.
32112         (tst-chk5-ENV): Likewise.
32113         (tst-chk6-ENV): Likewise.
32114         (tst-lfschk1-ENV): Likewise.
32115         (tst-lfschk2-ENV): Likewise.
32116         (tst-lfschk3-ENV): Likewise.
32117         (tst-lfschk4-ENV): Likewise.
32118         (tst-lfschk5-ENV): Likewise.
32119         (tst-lfschk6-ENV): Likewise.
32120         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32121         (tst-iconv7-ENV): Likewise.
32122         * intl/Makefile (LOCPATH-ENV): Likewise.
32123         (tst-codeset-ENV): Likewise.
32124         (tst-gettext3-ENV): Likewise.
32125         (tst-gettext5-ENV): Likewise.
32126         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32127         (tst-fopenloc-ENV): Likewise.
32128         (tst-fgetws-ENV): Remove variable.
32129         (tst-ungetwc1-ENV): Likewise.
32130         (tst-ungetwc2-ENV): Likewise.
32131         (bug-ungetwc2-ENV): Likewise.
32132         (tst-swscanf-ENV): Likewise.
32133         (bug-ftell-ENV): Likewise.
32134         (tst-fgetwc-ENV): Likewise.
32135         (tst-fseek-ENV): Likewise.
32136         (tst-ftell-partial-wide-ENV): Likewise.
32137         (tst-ftell-active-handler-ENV): Likewise.
32138         (tst-ftell-append-ENV): Likewise.
32139         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32140         (tst-regexloc-ENV): Likewise.
32141         (bug-regex1-ENV): Likewise.
32142         (tst-regex-ENV): Likewise.
32143         (tst-regex2-ENV): Likewise.
32144         (bug-regex5-ENV): Likewise.
32145         (bug-regex6-ENV): Likewise.
32146         (bug-regex17-ENV): Likewise.
32147         (bug-regex18-ENV): Likewise.
32148         (bug-regex19-ENV): Likewise.
32149         (bug-regex20-ENV): Likewise.
32150         (bug-regex22-ENV): Likewise.
32151         (bug-regex23-ENV): Likewise.
32152         (bug-regex25-ENV): Likewise.
32153         (bug-regex26-ENV): Likewise.
32154         (bug-regex30-ENV): Likewise.
32155         (bug-regex32-ENV): Likewise.
32156         (bug-regex33-ENV): Likewise.
32157         (bug-regex34-ENV): Likewise.
32158         (bug-regex35-ENV): Likewise.
32159         (tst-rxspencer-ENV): Likewise.
32160         (tst-rxspencer-no-utf8-ENV): Likewise.
32161         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32162         (tst-sscanf-ENV): Likewise.
32163         (tst-swprintf-ENV): Likewise.
32164         (tst-swscanf-ENV): Likewise.
32165         (test-vfprintf-ENV): Likewise.
32166         (scanf13-ENV): Likewise.
32167         (bug14-ENV): Likewise.
32168         (tst-grouping-ENV): Likewise.
32169         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32170         (tst-strtod3-ENV): Likewise.
32171         (tst-strtod4-ENV): Likewise.
32172         (tst-strtod5-ENV): Likewise.
32173         (testmb2-ENV): Likewise./
32174         * string/Makefile (tst-strxfrm-ENV): Likewise.
32175         (tst-strxfrm2-ENV): Likewise.
32176         (bug-strcoll1-ENV): Likewise.
32177         (test-strcasecmp-ENV): Likewise.
32178         (test-strncasecmp-ENV): Likewise.
32179         * time/Makefile (tst-strptime-ENV): Likewise.
32180         (tst-ftime_l-ENV): Likewise.
32181         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32182         (tst-mbrtowc-ENV): Likewise.
32183         (tst-wcrtomb-ENV): Likewise.
32184         (tst-mbrtowc2-ENV): Likewise.
32185         (tst-c16c32-1-ENV): Likewise.
32186         (tst-mbsnrtowcs-ENV): Likewise.
32188 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32190         * manual/resource.texi (How to get information about the memory
32191         subsystem?): Fix typo.
32192         Reported by Peon de la Parra Ivan <peon@keba.com>
32194 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32196         [BZ #16882]
32197         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32198         (pthread_spin_lock): Branch out of spin loop to proper location.
32199         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32200         (pthread_spin_lock): Likewise.
32202         * nptl/tst-spin4.c: New test.
32203         * nptl/Makefile (tests): Add tst-spin4.
32205 2014-06-03  Andreas Schwab  <schwab@suse.de>
32207         [BZ #15946]
32208         * resolv/res_send.c (send_dg): Reload file descriptor after
32209         calling reopen.
32211 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32213         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32215 2014-06-03  Richard Henderson  <rth@redhat.com>
32217         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32218         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32219         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32220         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32221         in the SAVE_PID block.
32222         (__libc_vfork): New alias.
32223         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32225         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32226         child in registers, not on the stack.  Remove RESET_PID conditionals.
32227         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32229 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32231         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32233 2014-06-03  Wilco  <wdijkstr@arm.com>
32235         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32236         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32237         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32238         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32239         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32240         Likewise.
32242 2014-06-03  Wilco  <wdijkstr@arm.com>
32244         * sysdeps/aarch64/fpu/math_private.h
32245         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32246         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32247         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32248         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32249         Fix declarations.
32251 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32253         * crypt/crypt-private.h: Include ufc-crypt.h.
32254         (__b64_from_24bit): Declare extern.
32255         * crypt/crypt_util.c(__b64_from_24bit): New function.
32256         (b64t): New static const variable.
32257         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32258         (b64t): Remove variable.
32259         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32260         * crypt/sha256-crypt.c: Include crypt-private.h.
32261         (b64t): Remove variable.
32262         (__sha256_crypt_r): Remove b64_from_24bit and replace
32263         with __b64_from_24bit.
32264         * crypt/sha512-crypt.c: Likewise.
32266 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32268         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32269         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32270         Label the code __libc_vfork rather than __vfork.
32271         [!NOT_IN_libc] (vfork): Define as weak alias.
32272         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32273         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32274         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32276 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32278         * malloc/malloc.c (malloc_info): Fix format specifier for
32279         n_mmaps.
32281 2014-06-02  Wilco  <wdijkstr@arm.com>
32283         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32284         FPCR write.
32286 2014-06-02  Wilco  <wdijkstr@arm.com>
32288         [BZ #17009]
32289         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32290         Rewrite to reduce FPCR/FPSR accesses.
32292 2014-06-01  David S. Miller  <davem@davemloft.net>
32294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32296 2014-05-31  David S. Miller  <davem@davemloft.net>
32298         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32299         to occur in round to nearest mode when |x| >= 2.0
32301 2014-05-30  Richard Henderson  <rth@twiddle.net>
32303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32304         (PSEUDO_RET_NOERRNO): Remove.
32305         (ret): Don't redefine.
32306         (ret_NOERRNO): Define in terms of ret.
32307         (ret_ERRVAL): Likewise.
32309         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32310         use of PSEUDO_RET; perform the error check directly.
32312 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32314         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32315         with __int128_t.
32317 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32319         * malloc/malloc (malloc_info): Fix formatting.
32321 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322             Roland McGrath  <roland@hack.frob.com>
32324         * malloc/malloc (malloc_info): Also print mmapped statistics.
32326 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32328         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32329         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32331 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32333         * malloc/malloc.c (malloc_info): Inline mi_arena.
32335 2014-05-29  Richard Henderson  <rth@twiddle.net>
32337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32338         Remove comma before expanding ASM_ARGS_##nr.
32339         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32340         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32341         of ASM_ARGS_##nr.
32342         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32343         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32344         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32345         (ASM_ARGS_1): Add leading comma.
32347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32348         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32349         to __errno_location.
32350         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32351         Remove the expected plt for __errno_location.
32353         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32354         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32355         call to __read_tp.
32357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32358         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32359         it and break it down.
32360         (DOCARGS_0, DOCARGS_1): Do nothing.
32361         (DOCARGS_2): Update to store into the new stack frame.
32362         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32363         (UNDOCARGS_1): Update to restore from the new stack frame.
32364         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32365         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32368         (SINGLE_THREAD_P): New parameter for result regno.
32369         (PSEUDO): Update to match; use cbz instead of beq.
32371         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32372         Use ENTRY to define the _nocancel entry point.  Share the syscall
32373         and syscall error check paths with the cancel path.
32374         (PSEUDO_END): New.
32376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32377         whitespace; tabs before and after asm mnemonics.
32379 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32381         [BZ #15132]
32382         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32383         Call fstat64 or stat64 internally, depending on arguments passed.
32384         Replace stat buffer argument with file descriptor argument.
32385         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32386         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32387         Pass fd to __internal_statvfs instead of calling fstat64.
32388         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32389         Pass fd to __internal_statvfs64 instead of calling fstat64.
32390         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32391         Pass -1 to __internal_statvfs instead of calling stat64.
32392         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32393         Pass -1 to __internal_statvfs64 instead of calling stat64.
32395 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32397         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32398         that was previously under [RESET_PID].
32399         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32401         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32402         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32404 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32406         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32408         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32409         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32411 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32413         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32415 2014-05-27  Andreas Schwab  <schwab@suse.de>
32417         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32418         TLS_INIT_TP macro.
32419         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32420         * elf/rtld.c (init_tls, dl_main): Likewise.
32421         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32422         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32423         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32424         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32425         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32426         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32427         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32428         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32429         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32430         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32431         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32432         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32433         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32434         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32435         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32436         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32437         * sysdeps/generic/tls.h: Update description.
32439 2014-05-27  Will Newton  <will.newton@linaro.org>
32441         [BZ #16990]
32442         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32443         and restore r2 rather than just restoring.
32445 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32447         [BZ #16724]
32448         * libio/tst-ftell-append.c: New test case.
32449         * libio/Makefile (tests): Add test case.
32450         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32451         append mode.
32452         * libio/wfileops.c (do_ftell_wide): Likewise.
32454 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32458         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32459         ...
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32462         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32463         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32464         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32465         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32466         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32467         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32469         Moved ...
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32472         Moved ...
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32474         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32475         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32476         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32477         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32478         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32479         ...
32480         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32481         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32482         Moved ...
32483         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32484         here.
32485         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32486         ...
32487         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32488         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32489         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32491         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32492         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32494         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32497         merge into ...
32498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32500         ...
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32503         ...
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32506         Moved ...
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32508         here.
32509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32510         Moved ...
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32513         Moved ...
32514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32517         conditional [RESET_PID].
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32520         removed.
32521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32522         removed.
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32525         <tcb-offsets.h>.
32526         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32527         (__libc_vfork): New strong alias.
32528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32529         removed.
32530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32531         Removed.
32533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32534         <tcb-offsets.h>.
32535         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32536         (__libc_vfork): New strong alias.
32537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32538         removed.
32539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32540         removed.
32542 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32544         * malloc/malloc.c (mi_arena): New function.
32545         (malloc_info): Remove nested function mi_arena. Call non-nosted
32546         function mi_arena.
32548 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32550         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32551         by insrwi.
32552         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32553         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32554         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32555         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32556         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32557         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32558         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32560 2014-05-26  Andreas Schwab  <schwab@suse.de>
32562         [BZ #16984]
32563         * locale/programs/repertoire.c (repertoire_read): Add slash
32564         between I18NPATH element and file name.
32565         * locale/programs/locfile.c (locfile_read): Likewise.
32567 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32569         * nptl/pthread_mutexattr_settype.c
32570         (__pthread_mutexattr_settype):
32571         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32573 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32575         * nptl/tst-mutex5 (do_test):
32576         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32578 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32580         * benchtests/README: Document 'init' directive.
32581         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32582         BENCH_INIT.
32583         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32584         (parse_file): Recognize 'init' directive.
32586 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32588         [BZ #16796]
32589         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32590         alignment of struct pthread.
32592 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32594         [BZ #16878]
32595         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32596         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32597         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32598         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32600 2014-05-25  Richard Henderson  <rth@twiddle.net>
32602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32603         (SINGLE_THREAD_P_PIC): Remove.
32604         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32605         (SINGLE_THREAD_P_PIC): Remove.
32607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32608         branch to syscall error ...
32609         (PSEUDO): ... here.
32610         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32611         from __local_syscall_error to .Lsyscall_error.
32612         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32613         (SYSCALL_ERROR): Update label name.
32615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32616         Do not use DOARGS/UNDOARGS.
32617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32618         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32619         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32620         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32621         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32624         block comment.
32626         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32627         define if !NOT_IN_libc.
32628         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32629         define with non-default symbol versions.
32631 2014-05-23  Richard Henderson  <rth@twiddle.net>
32633         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32634         (vfork, __vfork): Define via compat_symbol.
32636         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32637         [!HAVE_IFUNC] (vfork_compat): Remove.
32638         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32640 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32642         [BZ #16978]
32643         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32644         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32645         variable.
32647 2014-05-23  Richard Henderson  <rth@twiddle.net>
32649         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32650         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32651         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32652         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32654         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32655         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32656         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32657         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32658         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32659         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32661         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32662         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32663         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32664         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32665         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32666         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32667         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32668         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32671         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32672         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32677         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32691         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32692         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32693         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32694         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32695         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32696         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32697         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32698         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32699         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32701         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32702         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32703         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32704         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32705         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32706         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32707         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32708         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32709         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32711         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32712         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32713         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32714         before exiting on error.
32715         (__libc_vfork): New strong alias.
32716         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32717         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32719         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32720         that was previously under [RESET_PID].
32721         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32723         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32725 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32727         [BZ #16977]
32728         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32729         value when x - 1 is zero.
32730         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32731         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32732         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32733         0.0L for an argument of 1.0L.
32734         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32735         Likewise.
32736         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32737         value when x - 1 is zero.
32738         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32739         * sysdeps/i386/fpu/libm-test-ulps: Update.
32740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32742 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32744         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32745         alphasort and versionsort.
32747 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32749         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32750         macro.
32751         [copysignf]: Likewise.
32753 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32755         * crypt/md5-crypt.c: Fix formatting.
32757 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32759         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32760         (b64_from_24bit): New function.
32762 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32764         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32765         libc_hidden_builtin_def to ifunc.
32766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32767         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32769 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32771         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32772         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32774 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32776         * nscd/Depend (linuxthreads): Remove.
32777         (nptl): Add.
32778         * resolv/Depend (linuxthreads): Remove.
32779         * rt/Depend (linuxthreads): Remove.
32781         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32782         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32783         $(common-objpfx)elf/.
32784         (link-libc-before-gnulib): Likewise.
32785         (elfobjdir): Remove variable.
32786         * Makefile (install): Use $(elf-objpfx) instead of
32787         $(common-objpfx)elf/.
32788         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32789         $(elfobjdir)/.
32790         (link-libc-deps): Likewise.
32791         ($(common-objpfx)libc.so): Likewise.
32792         ($(common-objpfx)linkobj/libc.so): Likewise.
32793         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32794         instead of $(common-objpfx)elf/.
32795         (symbolic-link-list): Likewise.
32796         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32797         [$(cross-compiling) = no]: Likewise.
32798         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32799         $(elfobjdir)/.
32800         (static-gnulib-arch): Likewise.
32801         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32802         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32803         $(common-objpfx)elf/.
32805 2014-05-21  Richard Henderson  <rth@redhat.com>
32807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32808         (SINGLE_THREAD_P): Use the correct width load.  Fold
32809         into the ldr offset.
32811         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32812         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32814 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32816         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32817         (libgcc_s_resume): Use __attribute_used__.
32818         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32819         Likewise.
32821 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32823         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32824         optimization when used with float constants.
32826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32828 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32830         [BZ #16915]
32831         * locale/nl_langinfo_l.c: Make direct reference to every
32832         _nl_current_CATEGORY symbol.
32833         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32834         (tests-static): Add tst-langinfo-static.
32835         (tests-special): Add tst-langinfo-static.out.
32836         ($(objpfx)tst-langinfo.out): Redirect output.
32837         ($(objpfx)tst-langinfo-static.out): New.
32838         * localedata/tst-langinfo.sh: Send output to stdout.
32839         * localedata/tst-langinfo-static.c: New file.
32841         [BZ #16965]
32842         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32843         when the shift amount is modulo the limb size.
32845 2014-05-20  Richard Henderson  <rth@redhat.com>
32847         [BZ #16967]
32848         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32849         Change type of sa_flags from unsigned int to int.
32851         [BZ #16966]
32852         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32854         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32856 2014-05-20  Will Newton  <will.newton@linaro.org>
32858         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32859         Test the return value of the system call in the nocancel case.
32861 2014-05-20  Will Newton  <will.newton@linaro.org>
32862             Yvan Roux  <yvan.roux@linaro.org>
32864         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32865         #include of asm/ptrace.h.
32866         (PTRACE_GET_THREAD_AREA): Remove #undef.
32867         (PTRACE_GETHBPREGS): Likewise.
32868         (PTRACE_SETHBPREGS): Likewise.
32869         (struct user_regs_struct): New structure.
32870         (struct user_fpsimd_struct): New structure.
32871         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32872         #include of asm/ptrace.h and second #include of sys/user.h.
32873         (PTRACE_GET_THREAD_AREA): Remove #undef.
32874         (PTRACE_GETHBPREGS): Likewise.
32875         (PTRACE_SETHBPREGS): Likewise.
32876         (ELF_NGREG): Use new struct user_regs_struct.
32877         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32879 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32881         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32882         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32884 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32886         [BZ #16958]
32887         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32888         membar to avoid block loads/stores to overlap previous stores.
32890 2014-05-17  Richard Henderson  <rth@redhat.com>
32892         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32893         Create the __##syscall_name##_nocancel entry point.
32894         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32895         Remove; let the sysdep-cancel.h code create it.
32897 2014-05-17  David S. Miller  <davem@davemloft.net>
32899         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32900         Protect with __USE_GNU.
32901         (TIOCSET_TEMPT): Likewise.
32902         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32903         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32904         these are already provided in bits/ioctl-types.h
32906 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32908         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32909         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32911         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32912         Use wait4 regardless of [__NR_waitpid].
32914 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32916         PR libgcc/60166
32917         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32918         (_FP_NANSIGN_Q): Set the quiet bit.
32920 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32922         * benchtests/Makefile
32923         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32924         not $(common-objpfx)math/libm.so.
32925         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32926         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32927         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32928         $(common-objpfx)dlfcn/libdl.so.
32929         ($(objpfx)tst-audit8): Depend on $(libm), not
32930         $(common-objpfx)math/libm.so.
32931         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32932         not $(common-objpfx)dlfcn/libdl.so.
32933         * math/Makefile
32934         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32935         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32936         [$(build-shared) = yes].
32937         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32938         $(common-objpfx)nptl/libpthread.so.
32939         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32940         $(common-objpfx)math/libm.so$(libm.so-version) or
32941         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32942         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32943         $(common-objpfx)dlfcn/libdl.so.
32944         * setjmp/Makefile (link-libm): Remove variable.
32945         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32946         * stdio-common/Makefile (link-libm): Remove variable.
32947         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32948         * stdlib/Makefile (link-libm): Remove variable.
32949         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32950         ($(objpfx)tst-strtod-round): Likewise.
32951         ($(objpfx)tst-tininess): Likewise.
32952         ($(objpfx)tst-strtod-underflow): Likewise.
32953         ($(objpfx)tst-strtod6): Likewise.
32954         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32955         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32956         $(common-objpfx)dlfcn/libdl.so.
32958 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32960         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32961         BSD terminal modes definitions.
32963 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32965         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32966         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32968         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32969         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32970         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32971         Don't do #include_next.
32972         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32973         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32974         Don't do #include_next.
32975         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32976         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32977         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32978         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32980 2014-05-16  Allan McRae  <allan@archlinux.org>
32982         * po/sv.po: Update Swedish translation from translation project.
32984         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32985         in sed expression.
32987 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32989         [BZ #16917]
32990         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32991         errno if the TIOCGPTN ioctl fails with an error different than
32992         EINVAL.
32993         * login/tst-ptsname.c: New file.
32994         * login/Makefile (tests): Add tst-ptsname.
32996         [BZ #16943]
32997         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32998         and prlimit64.
33000 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33002         [BZ #16849]
33003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33004         herrno to return EAI_AGAIN.
33006 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33008         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33009         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33010         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33011         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33012         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33013         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33014         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33019         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33020         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33021         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33022         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33023         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33025         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33027         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33029         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33031         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33033         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33034         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33035         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33037         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33039         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33041         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33046         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33048         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33050         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33052         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33054         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33056         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33058         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33060         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33062         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33064         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33066         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33068         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33070         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33077         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33079         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33081         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33083         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33085         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33087         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33089         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33091         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33093         Moved ...
33094         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33096         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33098         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33099         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33100         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33101         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33102         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33103         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33104         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33105         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33106         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33107         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33108         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33110         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33111         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33112         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33113         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33114         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33115         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33116         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33117         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33118         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33120         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33121         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33122         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33123         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33124         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33125         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33126         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33128         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33130         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33131         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33133         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33134         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33135         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33136         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33137         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33139         Moved ...
33140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33141         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33142         Moved ...
33143         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33144         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33145         Moved ...
33146         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33148         Moved ...
33149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33150         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33151         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33153         Moved ...
33154         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33155         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33156         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33158         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33159         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33160         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33161         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33162         Moved ...
33163         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33165         Moved ...
33166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33167         ... here.
33168         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33169         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33170         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33171         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33175         ... here.
33176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33177         Moved ...
33178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33179         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33180         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33181         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33182         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33186         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33187         Moved ...
33188         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33189         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33190         Moved ...
33191         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33193         Moved ...
33194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33195         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33196         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33198         Moved ...
33199         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33200         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33201         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33203         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33204         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33205         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33206         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33207         Moved ...
33208         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33210         Moved ...
33211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33212         ... here.
33213         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33214         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33216         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33218         Moved ...
33219         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33220         ... here.
33221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33222         Moved ...
33223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33225         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33226         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33227         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33228         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33229         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33231         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33233         Moved ...
33234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33235         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33236         Moved ...
33237         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33239         Moved ...
33240         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33242         Moved ...
33243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33244         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33245         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33247         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33249         Moved ...
33250         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33252         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33254         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33255         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33256         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33263         ... here.
33264         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33265         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33266         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33267         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33268         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33271         ... here.
33272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33273         Moved ...
33274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33275         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33276         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33277         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33278         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33279         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33280         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33281         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33282         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33283         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33284         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33286         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33287         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33289         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33290         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33292         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33293         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33294         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33295         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33296         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33297         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33298         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33299         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33300         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33301         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33302         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33303         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33305         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33306         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33308         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33310         Moved ...
33311         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33315         Moved ...
33316         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33318         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33320         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33324         Moved ...
33325         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33327         Moved ...
33328         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33332         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33334         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33335         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33336         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33337         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33338         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33339         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33340         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33341         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33342         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33343         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33344         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33346         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33347         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33348         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33349         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33350         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33352         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33353         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33354         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33355         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33356         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33357         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33358         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33359         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33360         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33361         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33364         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33366         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33367         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33368         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33369         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33370         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33371         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33372         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33373         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33374         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33375         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33376         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33377         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33378         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33379         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33381         Update #include.
33382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33383         Likewise.
33384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33385         Likewise.
33386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33387         Likewise.
33388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33389         Likewise.
33390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33391         Likewise.
33392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33393         Likewise.
33394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33395         Likewise.
33396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33397         Likewise.
33398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33399         Likewise.
33400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33405         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33407         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33411         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33412         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33413         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33416         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33417         that was previously under [RESET_PID].
33418         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33419         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33420         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33422         * sysdeps/i386/nptl/Implies: New file.
33423         * sysdeps/x86_64/nptl/Implies: New file.
33424         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33425         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33427         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33429         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33430         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33431         (__libc_vfork): New strong alias.
33432         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33433         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33435         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33437         (__libc_vfork): New strong alias.
33438         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33439         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33441         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33442         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33443         (__libc_vfork): New strong alias.
33444         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33445         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33446         * nptl/pt-vfork.c: New file.
33447         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33448         (libpthread: GLIBC_2.20): New version set (empty).
33450 2014-05-14  Will Newton  <will.newton@linaro.org>
33452         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33453         rather than #if.
33455 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33457         [BZ #16564]
33458         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33459         arguments with exponent 65 or above.
33460         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33461         arguments 0x1p113L or above.
33462         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33463         to arguments 0x1p107L or above.
33464         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33465         positive arguments with exponent 65 or above.
33466         * math/auto-libm-test-in: Add more tests of log1p.
33467         * math/auto-libm-test-out: Regenerated.
33469         [BZ #16928]
33470         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33471         non-finite arguments is +0.
33472         * math/s_cacosf.c (__cacosf): Likewise.
33473         * math/s_cacosl.c (__cacosl): Likewise.
33474         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33475         * sysdeps/i386/fpu/libm-test-ulps: Update.
33476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33478         [BZ #16927]
33479         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33480         value.
33481         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33482         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33483         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33484         for explicit high bit of mantissa when testing for argument equal
33485         to 1.
33486         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33487         * sysdeps/i386/fpu/libm-test-ulps: Update.
33488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33490         [BZ #16516]
33491         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33492         (__erf): Scale by 16 instead of 8 in potentially underflowing
33493         case.  Ensure exception if result actually underflows.
33494         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33495         (__erff): Scale by 16 instead of 8 in potentially underflowing
33496         case.  Ensure exception if result actually underflows.
33497         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33498         (efx8): Remove variable.
33499         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33500         case.  Ensure exception if result actually underflows.
33501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33502         (efx8): Remove variable.
33503         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33504         case.  Ensure exception if result actually underflows.
33505         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33506         (efx8): Remove variable.
33507         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33508         case.  Ensure exception if result actually underflows.
33509         * math/auto-libm-test-in: Add more tests of erf.
33510         * math/auto-libm-test-out: Regenerated.
33512 2014-05-14  Andreas Schwab  <schwab@suse.de>
33514         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33515         Remove code conditionalized on USE___THREAD.
33517         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33518         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33519         not definedness.
33521 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33523         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33524         Define unconditionally.
33525         (__ASSUME_O_CLOEXEC): Likewise.
33526         (__ASSUME_SOCK_CLOEXEC): Likewise.
33527         (__ASSUME_IN_NONBLOCK): Likewise.
33528         (__ASSUME_PIPE2): Likewise.
33529         (__ASSUME_EVENTFD2): Likewise.
33530         (__ASSUME_SIGNALFD4): Likewise.
33531         (__ASSUME_DUP3): Likewise.
33532         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33533         (__ASSUME_DUP3): Do not define.
33534         (__ASSUME_EVENTFD2): Likewise.
33535         (__ASSUME_IN_NONBLOCK): Likewise.
33536         (__ASSUME_O_CLOEXEC): Likewise.
33537         (__ASSUME_PIPE2): Likewise.
33538         (__ASSUME_SIGNALFD4): Likewise.
33539         (__ASSUME_SOCK_CLOEXEC): Likewise.
33540         (__ASSUME_UTIMES): Undefine.
33541         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33542         (__ASSUME_UTIMES): Do not define.
33543         (__ASSUME_O_CLOEXEC): Likewise.
33544         (__ASSUME_SOCK_CLOEXEC): Likewise.
33545         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33546         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33547         0x020621].
33548         (__ASSUME_PIPE2): Likewise.
33549         (__ASSUME_EVENTFD2): Likewise.
33550         (__ASSUME_SIGNALFD4): Likewise.
33551         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33552         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33553         Do not define.
33554         (__ASSUME_EVENTFD2): Likewise.
33555         (__ASSUME_SIGNALFD4): Likewise.
33556         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33557         (__ASSUME_32BITUIDS): Likewise.
33558         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33559         (__ASSUME_IPC64): Likewise.
33560         (__ASSUME_ST_INO_64_BIT): Likewise.
33561         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33562         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33563         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33564         (__ASSUME_UTIMES): Do not define.
33565         (__ASSUME_PSELECT): Likewise.
33566         (__ASSUME_PPOLL): Likewise.
33567         (__ASSUME_O_CLOEXEC): Likewise.
33568         (__ASSUME_SOCK_CLOEXEC): Likewise.
33569         (__ASSUME_IN_NONBLOCK): Likewise.
33570         (__ASSUME_PIPE2): Likewise.
33571         (__ASSUME_EVENTFD2): Likewise.
33572         (__ASSUME_SIGNALFD4): Likewise.
33573         (__ASSUME_DUP3): Likewise.
33574         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33575         (__ASSUME_UTIMES): Likewise.
33576         (__ASSUME_O_CLOEXEC): Likewise.
33577         (__ASSUME_SOCK_CLOEXEC): Likewise.
33578         (__ASSUME_IN_NONBLOCK): Likewise.
33579         (__ASSUME_PIPE2): Likewise.
33580         (__ASSUME_EVENTFD2): Likewise.
33581         (__ASSUME_SIGNALFD4): Likewise.
33582         (__ASSUME_DUP3): Likewise.
33583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33584         (__ASSUME_UTIMES): Likewise.
33585         (__ASSUME_O_CLOEXEC): Likewise.
33586         (__ASSUME_SOCK_CLOEXEC): Likewise.
33587         (__ASSUME_IN_NONBLOCK): Likewise.
33588         (__ASSUME_PIPE2): Likewise.
33589         (__ASSUME_EVENTFD2): Likewise.
33590         (__ASSUME_SIGNALFD4): Likewise.
33591         (__ASSUME_DUP3): Likewise.
33592         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33593         Likewise.
33594         (__ASSUME_UTIMES): Likewise.
33595         (__ASSUME_EVENTFD2): Likewise.
33596         (__ASSUME_SIGNALFD4): Likewise.
33597         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33598         (__ASSUME_O_CLOEXEC): Likewise.
33599         (__ASSUME_SOCK_CLOEXEC): Likewise.
33600         (__ASSUME_IN_NONBLOCK): Likewise.
33601         (__ASSUME_PIPE2): Likewise.
33602         (__ASSUME_EVENTFD2): Likewise.
33603         (__ASSUME_SIGNALFD4): Likewise.
33604         (__ASSUME_DUP3): Likewise.
33605         (__ASSUME_UTIMES): Undefine.
33607         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33608         feclearexcept.  Remove symbol versioning code.
33609         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33610         symbol versioning code.
33611         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33612         symbol versioning code.
33613         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33614         feupdateenv.  Remove symbol versioning code.
33615         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33616         fegetexceptflag.  Remove symbol versioning code.
33617         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33618         fesetexceptflag.  Remove symbol versioning code.
33619         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33620         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33621         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33622         (__posix_fadvise64_l32): Remove prototype.
33623         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33624         code.
33626 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33628         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33629         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33630         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33631         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33633 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33635         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33636         current working directory
33638 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33640         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33641         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33642         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33643         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33644         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33645         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33646         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33647         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33648         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33649         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33650         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33651         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33653         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33654         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33655         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33657         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33658         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33659         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33661         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33662         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33663         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33664         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33665         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33666         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33667         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33668         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33669         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33673         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33674         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33675         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33676         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33677         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33678         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33679         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33680         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33681         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33683         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33684         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33686         * sysdeps/unix/sysv/linux/arm/Makefile
33687         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33688         Add rt-aeabi_unwind_cpp_pr1.
33689         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33690         Add nptl-aeabi_unwind_cpp_pr1.
33691         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33692         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33693         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33694         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33695         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33696         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33698         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33699         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33700         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33701         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33703         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33704         Deconditionalize the code that was previously under [RESET_PID].
33705         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33707         * sysdeps/generic/exit-thread.h: New file.
33708         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33709         * include/unistd.h (__exit_thread): Remove declaration.
33710         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33711         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33712         * csu/libc-start.c: Include <exit-thread.h>.
33713         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33714         * nptl/pthread_create.c: Include <exit-thread.h>.
33715         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33716         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33717         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33718         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33719         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33720         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33721         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33722         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33723         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33724         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33725         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33726         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33727         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33728         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33729         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33730         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33731         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33733 2014-05-13  Andreas Schwab  <schwab@suse.de>
33735         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33737 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33739         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33740         (__ASSUME_UTIMES): Do not condition on kernel version.
33741         (__ASSUME_PSELECT): Define unconditionally.
33742         (__ASSUME_PPOLL): Likewise.
33743         (__ASSUME_ATFCTS): Likewise.
33744         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33745         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33746         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33747         (__ASSUME_UTIMENSAT): Define unconditionally.
33748         (__ASSUME_PRIVATE_FUTEX): Likewise.
33749         (__ASSUME_FALLOCATE): Likewise.
33750         (__ASSUME_O_CLOEXEC): Likewise.
33751         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33752         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33753         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33754         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33755         (__ASSUME_IN_NONBLOCK): Likewise.
33756         (__ASSUME_PIPE2): Likewise.
33757         (__ASSUME_EVENTFD2): Likewise.
33758         (__ASSUME_SIGNALFD4): Likewise.
33759         (__ASSUME_DUP3): Likewise.
33760         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33761         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33762         (__ASSUME_AT_RANDOM): Likewise.
33763         (__ASSUME_PREADV): Likewise.
33764         (__ASSUME_PWRITEV): Likewise.
33765         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33766         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33767         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33768         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33769         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33770         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33771         (__ASSUME_O_CLOEXEC): Define unconditionally.
33772         (__ASSUME_PSELECT): Do not undefine conditionally.
33773         (__ASSUME_PPOLL): Likewise.
33774         (__ASSUME_ATFCTS): Likewise.
33775         (__ASSUME_SET_ROBUST_LIST): Likewise.
33776         (__ASSUME_UTIMENSAT): Likewise.
33777         (__ASSUME_FDATASYNC): Define unconditionally.
33778         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33779         (__ASSUME_SIGFRAME_V2): Likewise.
33780         )__ASSUME_EVENTFD2): Likewise.
33781         (__ASSUME_SIGNALFD4): Likewise.
33782         (__ASSUME_PSELECT): Do not undefine conditionally.
33783         (__ASSUME_PPOLL): Likewise.
33784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33785         (__ASSUME_PSELECT): Define unconditionally.
33786         (__ASSUME_PPOLL): Likewise.
33787         (__ASSUME_O_CLOEXEC): Likewise.
33788         (__ASSUME_SOCK_CLOEXEC): Likewise.
33789         (__ASSUME_IN_NONBLOCK): Likewise.
33790         (__ASSUME_PIPE2): Likewise.
33791         (__ASSUME_EVENTFD2): Likewise.
33792         (__ASSUME_SIGNALFD4): Likewise.
33793         (__ASSUME_DUP3): Likewise.
33794         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33795         (__ASSUME_O_CLOEXEC): Likewise.
33796         (__ASSUME_SOCK_CLOEXEC): Likewise.
33797         (__ASSUME_IN_NONBLOCK): Likewise.
33798         (__ASSUME_PIPE2): Likewise.
33799         (__ASSUME_EVENTFD2): Likewise.
33800         (__ASSUME_SIGNALFD4): Likewise.
33801         (__ASSUME_DUP3): Likewise.
33802         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33803         (__ASSUME_EVENTFD2): Likewise.
33804         (__ASSUME_SIGNALFD4): Likewise.
33805         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33807 2014-05-12  Andreas Schwab  <schwab@suse.de>
33809         [BZ #16932]
33810         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33811         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33812         than maximum RPC packet size.
33813         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33814         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33815         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33816         (_nss_nis_getservbyport_r): Likewise.
33818 2014-05-12  Will Newton  <will.newton@linaro.org>
33820         * malloc/Makefile (tests): Add tst-mallopt.
33821         * malloc/tst-mallopt.c: New file.
33823 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33825         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33826         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33828 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33830         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33831         (tst-tlsmod6.so): Likewise.
33833 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33835         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33837 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33839         [BZ #16064]
33840         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33841         and <dl-procinfo.h>.
33842         (__fegetenv): Save SSE state in envp->__eip if supported.
33843         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33844         envp->__eip if supported.
33845         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33846         and <dl-procinfo.h>.
33847         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33848         __data_offset and __data_selector in environment to 0.  Set SSE
33849         state if supported.
33850         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33851         test-fenv-sse.
33852         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33853         -mfpmath=sse.
33854         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33856 2014-05-09  Will Newton  <will.newton@linaro.org>
33858         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33859         and libc_relro_required for ARM.
33860         * sysdeps/arm/preconfigure: Regenerate.
33862 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33863             Stefan Liebler  <stli@linux.vnet.ibm.com>
33865         * config.make.in (enable-lock-elision): New Makefile variable.
33866         * configure.ac: Likewise.
33867         * configure: Regenerate.
33868         * sysdeps/s390/configure.ac:
33869         Add check for gcc transactions support.
33870         * sysdeps/s390/configure: Regenerate.
33871         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33872         Build elision files if enabled.
33873         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33874         Add lock elision support for s390.
33875         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33876         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33877         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33878         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33879         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33880         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33881         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33882         Likewise.
33883         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33884         Likewise.
33885         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33886         Likewise.
33887         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33888         Likewise.
33889         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33890         (__lll_timedlock_elision, __lll_lock_elision)
33891         (__lll_unlock_elision, __lll_trylock_elision)
33892         (lll_timedlock_elision, lll_lock_elision)
33893         (lll_unlock_elision, lll_trylock_elision): Add.
33894         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33895         (pthread_mutex_t): Add lock elision support for s390.
33897 2014-05-14  Wilco  <wdijkstr@arm.com>
33899         * sysdeps/arm/fclrexcpt.c: Cleanup.
33900         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33901         * sysdeps/arm/feenablxcpt.c: Cleanup.
33902         * sysdeps/arm/fegetenv.c: Cleanup.
33903         * sysdeps/arm/fegetexcept.c: Cleanup.
33904         * sysdeps/arm/fegetround.c: Cleanup.
33905         * sysdeps/arm/feholdexcpt.c: Cleanup.
33906         * sysdeps/arm/fesetenv.c: Cleanup.
33907         * sysdeps/arm/fesetround.c: Cleanup.
33908         * sysdeps/arm/feupdateenv.c: Cleanup.
33909         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33910         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33911         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33912         * sysdeps/arm/ftestexcept.c: Cleanup.
33913         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33914         * sysdeps/arm/setfpucw.c: Cleanup.
33916 2014-05-09  Will Newton  <will.newton@linaro.org>
33918         * sysdeps/arm/armv7/strcmp.S: New file.
33919         * NEWS: Mention addition of ARMv7 optimized strcmp.
33921 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33923         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33924         look for %.ac rather than %.in.
33926         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33927         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33928         * sysdeps/mach/hurd/configure: Regenerated.
33929         * sysdeps/unix/sysv/linux/configure: Regenerated.
33931         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33933 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33935         [BZ# 16922]
33936         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33937         (LONG_SUB): Ditto.
33938         (PTR_SUB): Ditto.
33940 2014-05-07  Andreas Schwab  <schwab@suse.de>
33942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33943         when skipping over non-matching result from nscd.
33945 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33947         [BZ #16876]
33948         * nptl/sockperf.c (client): Check socket return value.
33950         [BZ #16877]
33951         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33952         nscd security class.
33954 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33956         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33957         * sysdeps/arm/unwind.h: ... here.
33959 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33961         [BZ# 16916]
33962         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33963         Define.
33965 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33967         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33968         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33969         multiarch strncpy for PPC64.
33970         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33971         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33973         multiarch optimizations.
33974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33975         (__libc_ifunc_impl_list): Likewise.
33976         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33977         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33978         multiarch stpncpy for PPC64.
33979         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33980         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33982 2014-05-06  Andreas Schwab  <schwab@suse.de>
33984         [BZ #16912]
33985         * gmon/mcount.c (_MCOUNT_DECL): Use
33986         atomic_compare_and_exchange_bool_acq instead of
33987         catomic_compare_and_exchange_bool_acq.
33989 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33991         * elf/Makefile (others, install-bin): Remove pldd.
33992         (pldd-modules): Variable removed.
33993         ($(objpfx)pldd): Target removed.
33994         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33995         (others, install-bin): Append pldd here.
33996         ($(objpfx)pldd): New target.
33998         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33999         to 0, so the first #if test emitted later doesn't see it undefined.
34000         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34001         * sysdeps/gnu/errlist.c: Regenerated.
34003 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34005         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34006         [libc_hidden_builtin_def]: Define to empty value.
34007         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34008         [libc_hidden_builtin_def]: Likewise.
34009         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34010         [libc_hidden_builtin_def]: Likewise.
34011         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34012         [libc_hidden_builtin_def]: Likewise.
34013         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34014         __redirect_memcpy and define ifunc as default hidden symbol.
34015         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34016         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34018 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34020         * locale/iso-4217.def: Reintroduce XDR currency.
34022 2014-05-04  Allan McRae  <allan@archlinux.org>
34024         * po/eo.po: Update Esperanto translation from translation project.
34026 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34028         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34029         and FEATURE_INDEX_MAX to 1.
34030         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34032 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34034         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34035         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34036         * iconvdata/big5.c (ONE_DIRECTION): Define.
34037         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34038         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34039         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34040         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34041         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34042         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34043         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34044         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34045         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34046         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34047         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34048         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34049         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34050         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34051         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34052         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34053         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34054         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34055         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34056         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34057         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34058         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34059         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34060         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34061         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34062         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34063         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34064         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34065         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34066         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34067         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34068         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34069         * iconvdata/johab.c (ONE_DIRECTION): Define.
34070         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34071         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34072         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34073         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34074         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34075         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34076         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34077         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34078         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34079         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34081 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34083         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34084         (_IO_JUMPS_OFFSET): Define to 0.
34086         * nptl/sysdeps/pthread/bits/libc-lock.h
34087         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34088         (__libc_lock_define_initialized_recursive): Always define using
34089         initializer.  Modern compilers treat uninitialized (implicit zero) and
34090         explicit zero initializers the same (i.e. put the datum in bss).
34092 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34094         * nscd/nscd-client.h: Include <string.h>.
34096 2014-05-01  David S. Miller  <davem@davemloft.net>
34098         [BZ #16885]
34099         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34100         multiple zero bytes exist at the end of a string.
34101         Reported by Aurelien Jarno <aurelien@aurel32.net>
34103         * string/test-strcmp.c (check): Add explicit test for situations where
34104         there are multiple zero bytes after the first.
34106 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34108         [BZ #16890]
34109         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34110         when compiling wprintf.
34111         * stdio-common/tstdiomisc.c (t3): New function.
34112         (main): Call it.
34114 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34116         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34117         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34118         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34119         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34121 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34123         * stdlib/longlong.h: Updated from GCC.
34125 2014-05-01  Will Newton  <will.newton@linaro.org>
34126             Bernard Ogden  <bernie.ogden@linaro.org>
34128         * NEWS: Update fixed bug list.
34130         [BZ #15119]
34131         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34133 2014-04-30  David S. Miller  <davem@davemloft.net>
34135         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34136         (libc_feholdexcept_setround_sparc_ctx): New function.
34137         (libc_fesetenv_sparc_ctx): Likewise.
34138         (libc_feupdateenv_sparc_ctx): Likewise.
34139         (libc_feholdsetround_sparc_ctx): Likewise.
34140         (libc_feholdexcept_setround_ctx): Define.
34141         (libc_feholdexcept_setroundf_ctx): Likewise.
34142         (libc_feholdexcept_setroundl_ctx): Likewise.
34143         (libc_fesetenv_ctx): Likewise.
34144         (libc_fesetenvf_ctx): Likewise.
34145         (libc_fesetenvl_ctx): Likewise.
34146         (libc_feupdateenv_ctx): Likewise.
34147         (libc_feupdateenvf_ctx): Likewise.
34148         (libc_feupdateenvl_ctx): Likewise.
34149         (libc_feresetround_ctx): Likewise.
34150         (libc_feresetroundf_ctx): Likewise.
34151         (libc_feresetroundl_ctx): Likewise.
34152         (libc_feholdsetround_ctx): Likewise.
34153         (libc_feholdsetroundf_ctx): Likewise.
34154         (libc_feholdsetroundl_ctx): Likewise.
34156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34157         with __USE_GNU instead of XOPEN cpp guards.
34159         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34160         0.
34162         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34163         with XOPEN cpp guards.
34165 2014-04-30  Julian Brown  <julian@codesourcery.com>
34167         [BZ #16888]
34168         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34169         handling.
34171 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34173         [BZ #9894]
34174         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34175         Change to 2.6.32.
34176         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34177         * sysdeps/unix/sysv/linux/configure: Regenerated.
34178         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34179         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34180         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34181         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34182         * README: Update reference to required Linux kernel version.
34183         * manual/install.texi (Linux): Update reference to required Linux
34184         kernel headers version.
34185         * INSTALL: Regenerated.
34187         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34188         header inclusion.
34189         [POSIX] (limits.h): Likewise.
34190         [POSIX] (math.h): Likewise.
34191         [POSIX] (sys/wait.h): Likewise.
34192         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34193         function.
34194         [POSIX] (stddef.h): Do not allow header inclusion.
34196 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34198         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34200 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34202         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34203         Return immediately after lll_futex_wake.
34205 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34207         [BZ #16791]
34208         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34209         structure.
34210         (datahead_init_pos): Call datahead_init_common early.
34211         (datahead_init_neg): Likewise.
34213         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34214         datahead_init_neg): New functions.
34215         * nscd/aicache.c (addhstaiX): Use them.
34216         * nscd/grpcache.c (cache_addgr): Likewise.
34217         * nscd/hstcache.c (cache_addhst): Likewise.
34218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34219         * nscd/netgroupcache.c (do_notfound): Likewise.
34220         (addgetnetgrentX): Likewise.
34221         (addinnetgrX): Likewise.
34222         * nscd/pwdcache.c (cache_addpw): Likewise.
34223         * nscd/servicescache.c (cache_addserv): Likewise.
34225 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34226             Atsushi Onoe  <atsushi@onoe.org>
34228         [BZ #14308]
34229         [BZ #12994]
34230         [BZ #13651]
34231         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34232         one response is valid.
34233         * resolv/res_send.c (send_dg): Check for validity of other
34234         response if the current response is a referral.
34236 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34238         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34240 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34242         [BZ #16823]
34243         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34244         Always divide by positive zero when computing -Inf result.
34245         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34246         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34248 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34250         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34251         FPSCR if value do not change.
34252         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34253         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34254         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34255         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34256         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34257         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34258         function.
34260 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34262         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34263         * sysdeps/unix/sysv/linux/hppa: Move directory from
34264         ports/systeps/unix/sysv/linux/hppa.
34265         * README: Update listing for hppa-*-linux-gnu.
34267 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34269         [BZ #16754]
34270         * manual/stdio.texi (Hook functions): Fix types of stream hook
34271         functions.
34272         [BZ #16854]
34273         * socket/sys/socket.h: Fix typo in comment.
34275 2014-04-28  Wilco  <wdijkstr@arm.com>
34277         * sysdeps/arm/fenv_private.h: New file.
34278         * sysdeps/arm/math_private.h: New file.
34279         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34281 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34283         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34284         with __int128_t.
34285         (La_x86_64_retval): Likewise.
34287 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34289         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34290         fpsr if value didn't change.
34291         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34292         to fpcr if value didn't change.
34293         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34294         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34295         fpsr or fpcr if value didn't change.
34296         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34297         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34298         fpcr if value didn't change.
34299         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34300         to fpsr if value didn't change.
34302 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34304         * nptl/tst-sem3.c: Use test-skeleton.c
34305         (main): Rename to do_test.  Use return instead of
34306         exit.
34307         * nptl/tst-sem4.c: Use test-skeleton.c
34308         (main): Rename to do_test.
34310 2014-04-22  David S. Miller  <davem@davemloft.net>
34312         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34313         (struct sigaction): New struct member __glibc_reserved0, change
34314         type of sa_flags to int.
34316 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34318         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34319         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34321 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34323         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34324         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34326 2014-04-22  Will Newton  <will.newton@linaro.org>
34327             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34329         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34330         (__longjmp): Add longjmp and longjmp_target SystemTap
34331         probes.
34332         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34333         (__sigsetjmp): Add setjmp SystemTap probe.
34335 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34337         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34338         match manual order.
34340 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34342         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34344         * sysdeps/powerpc/fpu/fenv_private.h
34345         (libc_feholdexcept_setroundl_ctx): Define to
34346         libc_feholdexcept_setround_ppc_ctx.
34347         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34348         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34349         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34350         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34352 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34354         * sysdeps/aarch64/math-tests.h: New file.
34356 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34358         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34359         New.
34360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34361         Check and set bit_AVX2_Usable.
34362         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34363         macro.
34364         (bit_AVX2): Likewise.
34365         (index_AVX2_Usable): Likewise.
34366         (CPUID_AVX2): Likewise.
34367         (HAS_AVX2): Likewise.
34369 2014-04-17  Will Newton  <will.newton@linaro.org>
34371         * manual/setjmp.texi (System V contexts): Add note that
34372         calling setcontext on a context created by a call to a
34373         signal handler is undefined.  Update text to note that
34374         setcontext from a signal handler is possible but not
34375         recommended.
34377         [BZ #16629]
34378         * stdlib/tst-setcontext.c: Include signal.h.
34379         (main): Check that the signal stack before and
34380         after swapcontext is the same.
34382         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34383         Re-implement to restore registers in user code and avoid
34384         rt_sigreturn system call.
34386 2014-04-17  Wilco  <wdijkstr@arm.com>
34388         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34389         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34390         * math/test-fenv.c: Skip exception trap tests on targets which only
34391         support non-stop mode.
34393 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34394             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34396         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34397         (libc_feholdsetround_aarch64_ctx)
34398         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34399         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34400         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34401         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34402         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34403         (libc_feresetround_noexl_ctx): Define.
34405 2014-04-16  Richard Henderson  <rth@redhat.com>
34407         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34409         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34410         unwind tables.
34412         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34413         const from the non-libc, non-ldso copy.
34415         * sysdeps/alpha/libm-test-ulps: Regenerate.
34417 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34418             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34420         * sysdeps/aarch64/fpu/math_private.h: New file.
34422 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34424         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34426 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34428         [BZ #16275]
34429         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34430         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34432         Intel MPX bound registers before _dl_profile_fixup.
34433         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34434         registers after _dl_profile_fixup.  Save and restore bound
34435         registers bnd0/bnd1 when calling _dl_call_pltexit.
34436         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34437         (LR_BND_OFFSET): Likewise.
34438         (LRV_BND0_OFFSET): Likewise.
34439         (LRV_BND1_OFFSET): Likewise.
34441 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34443         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34444         to...
34445         * sysdeps/mach/hurd/i386/tls.h: ... here.
34446         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34447         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34448         fields.
34450 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34452         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34454 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34458 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34460         [BZ #14770]
34461         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34462         * sysdeps/s390/configure: Regenerate.
34464         [BZ #16824]
34465         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34466         Set round-to-nearest internally to reduce error accumulation.
34468 2014-04-16  Alan Modra  <amodra@gmail.com>
34470         [BZ #16740]
34471         [BZ #16619]
34472         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34473         * math/libm-test.inc (frexp_test_data): Add tests.
34474         * NEWS: Update fixed bug list.
34476 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34478         * benchtests/Makefile: Depend on libraries in build directory.
34479         (bench-math): Separate out math tests.
34480         (bench-pthread): Separate out pthread tests.
34481         (bench): Include math and pthread tests.
34483 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34485         [BZ #16831]
34486         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34487         _dl_debug_initialize.
34489         * configure.ac: Remove SELinux header check.
34490         * configure: Regenerate.
34491         * nscd/selinux.c (perms): Array of const char* to permission names.
34492         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34493         default policy. Call string_to_security_class and string_to_av_perm to
34494         translate strings. Enforce default policy and call avs_has_perm with
34495         results of translated strings.
34497 2014-04-13  David S. Miller  <davem@davemloft.net>
34499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34501 2014-04-12  Allan McRae  <allan@archlinux.org>
34503         [BZ #16838]
34504         * manual/string.texi (Collation Functions): Fix qsort argument
34505         order in example.
34506         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34508 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34510         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34511         Make the test a no-op if there are no exceptions defined.
34513 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34515         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34516         enable-hardcoded-path-in-tests
34518 2014-04-11  Will Newton  <will.newton@linaro.org>
34520         * benchtests/Makefile (extra-objs): Add json-lib.o.
34521         (bench-func): Tidy up JSON output.
34522         * benchtests/bench-skeleton.c: Include json-lib.h.
34523         (main): Use JSON library functions to do output of
34524         benchmark results.
34525         * benchtests/bench-timing-type.c (main): Output the
34526         timing type simply, leaving formatting to the user.
34527         * benchtests/json-lib.c: New file.
34528         * benchtests/json-lib.h: Likewise.
34530 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34532         [BZ #15215]
34533         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34534         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34535         memory barriers.  Add comments.
34536         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34537         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34538         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34539         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34540         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34541         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34543 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34545         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34546         * sysdeps/s390/s390-64/configure.ac: ... this ...
34547         * sysdeps/s390/configure.ac: ... to here.
34548         * sysdeps/s390/s390-32/configure: Delete file.
34549         * sysdeps/s390/s390-64/configure: Delete file.
34550         * sysdeps/s390/configure: Regenerate.
34552 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34554         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34556 2014-04-11  Will Newton  <will.newton@linaro.org>
34558         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34559         to zero if it is not defined elsewhere.  (mtrim): Test
34560         the value of MALLOC_DEBUG with #if rather than #ifdef.
34562 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34564         * benchtests/pthread_once-inputs: New file.
34565         * benchtests/pthread_once-source.c: New file.
34566         * benchtests/README: Update documentation.
34568 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34569             H.J. Lu  <hongjiu.lu@intel.com>
34571         [BZ #16275]
34572         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34573         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34574         * sysdeps/x86_64/configure: Regenerated.
34575         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34576         macro.
34577         (REGISTER_SAVE_RAX): Likewise.
34578         (REGISTER_SAVE_RCX): Likewise.
34579         (REGISTER_SAVE_RDX): Likewise.
34580         (REGISTER_SAVE_RSI): Likewise.
34581         (REGISTER_SAVE_RDI): Likewise.
34582         (REGISTER_SAVE_R8): Likewise.
34583         (REGISTER_SAVE_R9): Likewise.
34584         (REGISTER_SAVE_BND0): Likewise.
34585         (REGISTER_SAVE_BND1): Likewise.
34586         (REGISTER_SAVE_BND2): Likewise.
34587         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34588         bound registers when calling _dl_fixup.
34590 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34592         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34593         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34594         of its definition.
34595         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34596         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34597         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34598         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34599         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34600         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34601         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34603 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34605         [BZ #15514]
34606         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34607         pathconf(_PC_NAME_MAX).
34609 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34611         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34612         Remove macro usage.
34613         (__PTHREAD_SPINS): Move definition to ...
34614         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34615         (__PTHREAD_SPINS): ... here.
34616         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34617         (__PTHREAD_SPIN): Likewise.
34618         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34619         (__PTHREAD_SPIN): Likewise.
34620         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34621         (__PTHREAD_SPIN): Likewise.
34622         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34623         (__PTHREAD_SPIN): Likewise.
34624         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34625         (__PTHREAD_SPIN): Likewise.
34626         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34627         (__PTHREAD_SPIN): Likewise.
34628         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34629         (__PTHREAD_SPIN): Likewise.
34630         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34631         (__PTHREAD_SPIN): Likewise.
34632         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34633         (__PTHREAD_SPIN): Likewise.
34634         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34635         (__PTHREAD_SPIN): Likewise.
34636         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34637         (__PTHREAD_SPIN): Likewise.
34638         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34639         (__PTHREAD_SPIN): Likewise.
34641         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34642         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34643         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34644         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34645         imply folder.
34646         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34647         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34648         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34649         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34650         correct imply path.
34651         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34652         strlen symbol for non multi-arch builds.
34653         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34654         missing hidden_def and weak_alias.
34656 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34658         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34660 2014-04-07  Will Newton  <will.newton@linaro.org>
34662         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34663         and contents.  [!_LIBC] Remove #ifndef and contents.
34664         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34665         * string/memccpy.c (__memccpy): Use ANSI prototype.
34666         * string/memfrob.c (memfrob): Likewise.
34667         * string/strcoll.c (STRCOLL): Likewise.
34668         * string/strlen.c (strlen): Likewise.
34669         * string/strtok.c (STRTOK): Likewise.
34670         * string/strcat.c: Remove unused #include of memcopy.h.
34671         (strcat): Use ANSI prototype.
34672         * string/strchr.c: Remove unused #include of memcopy.h.
34673         (strchr): Use ANSI prototype.
34674         * string/strcmp.c: Remove unused #include of memcopy.h.
34675         (strcmp): Use ANSI prototype.
34676         * string/strcpy.c: Remove unused #include of memcopy.h.
34677         (strcpy): Use ANSI prototype.
34679 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34681         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34682         * config.make.in (config-extra-cppflags): Set it from
34683         libc_extra_cppflags.
34684         * configure.ac (libc_extra_cflags): Make it accumulate over
34685         configure fragments.
34686         (libc_extra_cppflags): New flag.
34687         * configure. Regenerate.
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34689         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34690         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34693         [BZ #16815]
34694         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34695         result for FE_DOWNWARD rounding mode.
34696         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34697         Likewise.
34698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34700 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34702         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34703         in function argument name.
34705 2014-04-03  David Svoboda  <svoboda@cert.org>
34707         [BZ #5666]
34708         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34709         explicitly.
34711 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34713         * elf/dl-unmap-segments.h: New file.
34714         * sysdeps/generic/ldsodefs.h
34715         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34716         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34717         * elf/dl-fptr.c: Likewise.
34718         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34719         * sysdeps/aarch64/tlsdesc.c: Likewise.
34720         * sysdeps/arm/tlsdesc.c: Likewise.
34721         * sysdeps/i386/tlsdesc.c: Likewise.
34722         * sysdeps/tile/dl-runtime.c: Likewise.
34723         * sysdeps/x86_64/tlsdesc.c: Likewise.
34724         * elf/dl-load.h: New file.
34725         * elf/dl-load.c: Include it.
34726         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34727         Macros moved to dl-load.h.
34728         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34729         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34730         Use _dl_unmap_segments in place of __munmap.
34731         Break out segment-mapping loop into ...
34732         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34734 2014-04-03  Will Newton  <will.newton@linaro.org>
34736         * elf/dl-lookup.c (do_lookup_x): Remove comment
34737         referring to nested function and move variable
34738         declarations down to before first use.
34740 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34742         [BZ #16799]
34743         [BZ #16800]
34744         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34745         with 0 numerator.
34746         * math/s_catanf.c (__catanf): Likewise.
34747         * math/s_catanh.c (__catanh): Likewise.
34748         * math/s_catanhf.c (__catanhf): Likewise.
34749         * math/s_catanhl.c (__catanhl): Likewise.
34750         * math/s_catanl.c (__catanl): Likewise.
34751         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34752         by positive zero when computing -Inf result.
34753         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34754         (catanh_test): Likewise.
34755         * sysdeps/i386/fpu/libm-test-ulps: Update.
34756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34758         [BZ #16789]
34759         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34760         instead of using underflowing value in computing result.
34761         * math/s_clog10.c (__clog10): Likewise.
34762         * math/s_clog10f.c (__clog10f): Likewise.
34763         * math/s_clog10l.c (__clog10l): Likewise.
34764         * math/s_clogf.c (__clogf): Likewise.
34765         * math/s_clogl.c (__clogl): Likewise.
34766         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34767         (clog10_test): Likewise.
34768         * sysdeps/i386/fpu/libm-test-ulps: Update.
34769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34771 2014-04-02  Alan Modra  <amodra@gmail.com>
34773         [BZ #16739]
34774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34775         output when value is near a power of two.  Use int64_t for lx and
34776         remove casts.  Use decimal rather than hex exponent constants.
34777         Don't use long double multiplication when double will suffice.
34778         * math/libm-test.inc (nextafter_test_data): Add tests.
34779         * NEWS: Add 16739 and 16786 to bug list.
34781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34783         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34785 2014-04-01  Will Newton  <will.newton@linaro.org>
34787         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34788         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34790 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34792         [BZ #13347]
34793         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34794         * nptl/tst-setuid2.c: New file.
34795         * nptl/Makefile (xtests): Add tst-setuid2.
34797 2014-04-01  Alan Modra  <amodra@gmail.com>
34799         [BZ #16786]
34800         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34802 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34804         [BZ #6803]
34805         [BZ #6804]
34806         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34807         set errno as appropriate.
34808         * math/w_scalbf.c (__scalbf): Likewise.
34809         * math/w_scalbl.c (__scalbl): Likewise.
34810         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34811         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34812         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34813         Add more NaN tests.
34815         [BZ #16349]
34816         * math/w_atan2.c: Include <errno.h>.
34817         (__atan2): Set errno for result underflowing to zero.
34818         * math/w_atan2f.c: Include <errno.h>.
34819         (__atan2f): Set errno for result underflowing to zero.
34820         * math/w_atan2l.c: Include <errno.h>.
34821         (__atan2l): Set errno for result underflowing to zero.
34822         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34823         tests.
34824         * math/auto-libm-test-out: Regenerated.
34826 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34828         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34829         Encode instruction correctly in little endian.
34830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34831         Likewise.
34832         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34833         Likewise.
34834         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34835         Likewise.
34836         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34837         Likewise.
34839 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34841         [BZ #9894]
34842         * sysdeps/unix/sysv/linux/kernel-features.h
34843         [__sparc__ && !__arch64__ && !__sparc_v9__]
34844         (__ASSUME_SET_ROBUST_LIST): Do not define.
34845         [__sparc__ && !__arch64__ && !__sparc_v9__]
34846         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34847         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34848         Likewise.
34849         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34850         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34851         (__ASSUME_REQUEUE_PI): Likewise.
34852         (__ASSUME_SET_ROBUST_LIST): Likewise.
34853         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34854         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34855         Undefine.
34856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34857         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34858         Likewise.
34859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34860         Likewise.
34861         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34862         Likewise.
34863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34864         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34865         Undefine.
34866         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34867         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34868         Likewise.
34870         [BZ #16648]
34871         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34872         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34873         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34875 2014-03-31  Will Newton  <will.newton@linaro.org>
34877         * benchtests/Makefile (bench): Add ffs and ffsll to list
34878         of tests.
34879         * benchtests/ffs-inputs: New file.
34880         * benchtests/ffsll-inputs: Likewise.
34882 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34884         [BZ #16770]
34885         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34886         too large before casting to int.
34887         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34888         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34889         * math/libm-test.inc (scalb_test_data): Add more tests.
34891 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34893         * benchtests/Makefile (DETAILED_OPT): New make option.
34894         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34895         set.
34896         * benchtests/bench-skeleton.c: Include stdbool.h.
34897         (main): Store and print timings per input.
34898         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34899         member to each argument value.
34900         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34901         (_print_arg_data): Initialize per-input timing to 0.
34903         * benchtests/Makefile (timing-type): New binary.
34904         (bench-clean): Also remove bench-timing-type.
34905         (bench): New target for timing-type.
34906         (bench-func): Print output in JSON format.
34907         * benchtests/bench-skeleton.c (main): Print output in JSON
34908         format.
34909         * benchtests/bench-timing-type.c: New file.
34910         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34911         (TIMING_PRINT_STATS): Remove.
34912         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34913         name separately.
34915         * benchtests/bench-modf.c: Remove.
34916         * benchtests/modf-inputs: New inputs file.
34918 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34920         [BZ #16362]
34921         * math/s_clog10.c (M_PI_LOG10E): New macro.
34922         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34923         imaginary parts are 0.
34924         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34925         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34926         imaginary parts are 0.
34927         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34928         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34929         imaginary parts are 0.
34930         * math/libm-test.inc (clog10_test_data): Update expected results
34931         for when real and imaginary parts are 0.
34933 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34935         * elf/dl-load.c: Finish conversion of __builtin_expect into
34936         __glibc_{un}likely.
34938 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34940         [BZ #16348]
34941         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34942         1+x for argument with exponent below -67.
34943         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34944         Likewise.
34945         * math/auto-libm-test-in: Add more tests of exp.
34946         * math/auto-libm-test-out: Regenerated.
34948 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34950         [BZ #16759]
34951         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34952         (nscd_getnetgrent): Use it.
34954         [BZ #16760]
34955         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34956         of stpcpy.
34958 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34960         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34961         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34962         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34963         (lll_robust_unlock): Remove out of line section. Use cfi
34964         intrinsics.
34965         (LLL_STUB_UNWIND_INFO*): Remove.
34966         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34967         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34968         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34969         (lll_robust_unlock): Remove out of line section. Use cfi
34970         intrinsics.
34971         (LLL_STUB_UNWIND_INFO*): Remove.
34973 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34975         [BZ #16758]
34976         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34977         blank values.
34979 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34981         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34983 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34985         [BZ #16198]
34986         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34987         fnstenv.
34988         * math/test-fenv-preserve.c: New file.
34989         * math/Makefile (tests): Add test-fenv-preserve.
34991 2014-03-26  Will Newton <will.newton@linaro.org>
34993         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34995 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34997         * scripts/versionlist.awk: Partition the version sets and emit all
34998         GLIBC_* (sorted) before all others (sorted).
35000 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35002         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35003         GLIBC_2.2.5 version.
35005 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35007         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35008         calls.
35010         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35011         previous change.
35013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35015 2014-03-25  Andreas Schwab  <schwab@suse.de>
35017         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35018         label to be used after in6ailist is initialized.
35020 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35022         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35023         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35025 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35027         [BZ #16357]
35028         [BZ #16599]
35029         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35030         min_plus_half.
35031         (fp_formats): Update initializers.
35032         (init_fp_formats): Initialize new field.
35033         (output_for_one_input_case): Allow underflow for results up to
35034         min_plus_half.
35035         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35036         * math/auto-libm-test-in: Don't mark some underflows from asin and
35037         atanh as spurious.
35038         * math/auto-libm-test-out: Regenerated.
35039         * sysdeps/i386/fpu/libm-test-ulps: Update.
35040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35042 2014-03-25  Andreas Schwab  <schwab@suse.de>
35044         * libio/Makefile (tst-ftell-partial-wide-ENV)
35045         (tst-ftell-active-handler-ENV): Define.
35047 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35049         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35051 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35053         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35055 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35057         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35058         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35059         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35061 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35063         [BZ #16634]
35064         * elf/dl-load.c (open_verify): Add mode parameter.
35065         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35066         (open_path): Change from boolean 'secure' to complete flag 'mode'
35067         (_dl_map_object): Adjust.
35068         * elf/Makefile (tests): Add tst-dlopen-aout.
35069         * elf/tst-dlopen-aout.c: New test.
35071 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35073         [BZ #16714]
35074         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35075         (struct stat): Rename member pad0 to __glibc_reserved0.
35077         [BZ #16712]
35078         * sysdeps/s390/s390-32/bits/wordsize.h
35079         (__WORDSIZE32_SIZE_ULONG): New define.
35080         * sysdeps/s390/s390-64/bits/wordsize.h
35081         (__WORDSIZE32_SIZE_ULONG): Likewise.
35082         * sysdeps/generic/stdint.h (SIZE_MAX):
35083         Define as UL if __WORDSIZE32_SIZE_ULONG.
35085         [BZ #16713]
35086         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35087         (__glibc_reserved0): New variable.
35088         (sa_flags): Change type to int.
35090         * posix/Makefile (before-compile): Use += before-compile instead
35091         of a :=.
35093         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35094         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35096 2014-03-20  Andreas Schwab  <schwab@suse.de>
35098         [BZ #16743]
35099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35100         non-matching result from nscd.
35102 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35104         * scripts/bench.py: Moved to ...
35105         * benchtests/scripts/bench.py: ... here.
35106         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35108 2014-03-24  Andreas Schwab  <schwab@suse.de>
35110         [BZ #16002]
35111         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35112         alloca_account and account alloca use for struct in6ailist.
35114 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35116         [BZ #16284]
35117         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35118         rounding mode to recompute results that overflow to infinity or
35119         underflow to zero.
35120         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35121         bug 16284.
35122         * math/auto-libm-test-out: Regenerated.
35123         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35124         (ccosh_test): Likewise.
35125         (csin_test_data): Use plus_oflow.
35126         (csin_test): Use ALL_RM_TEST.
35127         (csinh_test_data): Use plus_oflow.
35128         (csinh_test): Use ALL_RM_TEST.
35129         * sysdeps/i386/fpu/libm-test-ulps: Update.
35130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35132 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35134         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35135         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35136         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35138         [BZ #16731]
35139         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35140         when x - 1 is zero.
35141         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35142         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35143         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35144         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35145         argument is 1.
35146         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35147         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35148         zero.
35149         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35150         * sysdeps/i386/fpu/libm-test-ulps: Update.
35151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35153 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35155         * scripts/bench.pl: Remove file.
35156         * scripts/bench.py: New benchmark script.
35157         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35158         * benchtests/README: Mention python dependency.
35159         * scripts/pylintrc: New file.
35160         * scripts/pylint: New file.
35162         * bits/mathdef.h: Use #ifdef instead of #if.
35163         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35164         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35165         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35166         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35167         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35168         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35170 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35171             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35173         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35175         and strpbrk-ppc64 objects.
35176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35177         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35178         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35179         multiarch strpbrk for POWER7.
35180         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35181         multiarch strpbrk for PPC64.
35182         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35183         ifunc selector.
35184         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35185         strpbrk for POWER7.
35187 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35189         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35190         (atan_test): Likewise.
35191         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35192         (atanh_test): Use ALL_RM_TEST.
35193         (atan2_test_data): Likewise.
35194         (cabs_test): Likewise.
35195         (cacosh_test): Likewise.
35196         (carg_test): Likewise.
35197         (casin_test): Likewise.
35198         (casinh_test): Likewise.
35199         (cbrt_test): Likewise.
35200         (csqrt_test): Likewise.
35201         (erf_test): Likewise.
35202         (erfc_test): Likewise.
35203         (pow10_test): Likewise.
35204         (exp2_test): Likewise.
35205         (hypot_test): Likewise.
35206         (j0_test): Likewise.
35207         (j1_test): Likewise.
35208         (lgamma_test): Likewise.
35209         (gamma_test): Likewise.
35210         (sincos_test): Likewise.
35211         (tanh_test): Likewise.
35212         (y0_test): Likewise.
35213         (y1_test): Likewise.
35214         * sysdeps/i386/fpu/libm-test-ulps: Update.
35215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35217 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35219         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35221         and strcspn-ppc64 objects.
35222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35223         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35224         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35225         multiarch strcspn for POWER7.
35226         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35227         multiarch strcspn for PPC64.
35228         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35229         ifunc selector.
35230         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35231         strcspn for POWER7.
35233 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35235         * math/gen-libm-test.pl (generate_testfile): Expect only function
35236         name as argument to AUTO_TESTS_* and pass results for all rounding
35237         modes to parse_args.
35238         (parse_auto_input): Separate inputs of automatic tests from
35239         outputs before storing in %auto_tests.
35240         * math/libm-test.inc (acos_test_data): Update call to
35241         AUTO_TESTS_f_f.
35242         (acos_test): Use ALL_RM_TEST.
35243         (acos_tonearest_test_data): Remove.
35244         (acos_test_tonearest): Likewise.
35245         (acos_towardzero_test_data): Likewise.
35246         (acos_test_towardzero): Likewise.
35247         (acos_downward_test_data): Likewise.
35248         (acos_test_downward): Likewise.
35249         (acos_upward_test_data): Likewise.
35250         (acos_test_upward): Likewise.
35251         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35252         (asin_test_data): Likewise.
35253         (asin_test): Use ALL_RM_TEST.
35254         (asin_tonearest_test_data): Remove.
35255         (asin_test_tonearest): Likewise.
35256         (asin_towardzero_test_data): Likewise.
35257         (asin_test_towardzero): Likewise.
35258         (asin_downward_test_data): Likewise.
35259         (asin_test_downward): Likewise.
35260         (asin_upward_test_data): Likewise.
35261         (asin_test_upward): Likewise.
35262         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35263         (atan_test_data): Likewise.
35264         (atanh_test_data): Likewise.
35265         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35266         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35267         (carg_test_data): Likewise.
35268         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35269         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35270         (ccosh_test_data): Likewise.
35271         (cexp_test_data): Likewise.
35272         (clog_test_data): Likewise.
35273         (clog10_test_data): Likewise.
35274         (cos_test_data): Update call to AUTO_TESTS_f_f.
35275         (cos_test): Use ALL_RM_TEST.
35276         (cos_tonearest_test_data): Remove.
35277         (cos_test_tonearest): Likewise.
35278         (cos_towardzero_test_data): Likewise.
35279         (cos_test_towardzero): Likewise.
35280         (cos_downward_test_data): Likewise.
35281         (cos_test_downward): Likewise.
35282         (cos_upward_test_data): Likewise.
35283         (cos_test_upward): Likewise.
35284         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35285         (cosh_test): Use ALL_RM_TEST.
35286         (cosh_tonearest_test_data): Remove.
35287         (cosh_test_tonearest): Likewise.
35288         (cosh_towardzero_test_data): Likewise.
35289         (cosh_test_towardzero): Likewise.
35290         (cosh_downward_test_data): Likewise.
35291         (cosh_test_downward): Likewise.
35292         (cosh_upward_test_data): Likewise.
35293         (cosh_test_upward): Likewise.
35294         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35295         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35296         (ctan_test_data): Likewise.
35297         (ctan_test): Use ALL_RM_TEST.
35298         (ctan_tonearest_test_data): Remove.
35299         (ctan_test_tonearest): Likewise.
35300         (ctan_towardzero_test_data): Likewise.
35301         (ctan_test_towardzero): Likewise.
35302         (ctan_downward_test_data): Likewise.
35303         (ctan_test_downward): Likewise.
35304         (ctan_upward_test_data): Likewise.
35305         (ctan_test_upward): Likewise.
35306         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35307         (ctanh_test): Use ALL_RM_TEST.
35308         (ctanh_tonearest_test_data): Remove.
35309         (ctanh_test_tonearest): Likewise.
35310         (ctanh_towardzero_test_data): Likewise.
35311         (ctanh_test_towardzero): Likewise.
35312         (ctanh_downward_test_data): Likewise.
35313         (ctanh_test_downward): Likewise.
35314         (ctanh_upward_test_data): Likewise.
35315         (ctanh_test_upward): Likewise.
35316         (erf_test_data): Update call to AUTO_TESTS_f_f.
35317         (erfc_test_data): Likewise.
35318         (exp_test_data): Likewise.
35319         (exp_test): Use ALL_RM_TEST.
35320         (exp_tonearest_test_data): Remove.
35321         (exp_test_tonearest): Likewise.
35322         (exp_towardzero_test_data): Likewise.
35323         (exp_test_towardzero): Likewise.
35324         (exp_downward_test_data): Likewise.
35325         (exp_test_downward): Likewise.
35326         (exp_upward_test_data): Likewise.
35327         (exp_test_upward): Likewise.
35328         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35329         (exp10_test): Use ALL_RM_TEST.
35330         (exp10_tonearest_test_data): Remove.
35331         (exp10_test_tonearest): Likewise.
35332         (exp10_towardzero_test_data): Likewise.
35333         (exp10_test_towardzero): Likewise.
35334         (exp10_downward_test_data): Likewise.
35335         (exp10_test_downward): Likewise.
35336         (exp10_upward_test_data): Likewise.
35337         (exp10_test_upward): Likewise.
35338         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35339         (expm1_test_data): Likewise.
35340         (expm1_test): Use ALL_RM_TEST.
35341         (expm1_tonearest_test_data): Remove.
35342         (expm1_test_tonearest): Likewise.
35343         (expm1_towardzero_test_data): Likewise.
35344         (expm1_test_towardzero): Likewise.
35345         (expm1_downward_test_data): Likewise.
35346         (expm1_test_downward): Likewise.
35347         (expm1_upward_test_data): Likewise.
35348         (expm1_test_upward): Likewise.
35349         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35350         (fma_test): Use ALL_RM_TEST.
35351         (fma_towardzero_test_data): Remove.
35352         (fma_test_towardzero): Likewise.
35353         (fma_downward_test_data): Likewise.
35354         (fma_test_downward): Likewise.
35355         (fma_upward_test_data): Likewise.
35356         (fma_test_upward): Likewise.
35357         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35358         (j0_test_data): Update call to AUTO_TESTS_f_f.
35359         (j1_test_data): Likewise.
35360         (jn_test_data): Update call to AUTO_TESTS_if_f.
35361         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35362         (log_test_data): Update call to AUTO_TESTS_f_f.
35363         (log10_test_data): Likewise.
35364         (log1p_test_data): Likewise.
35365         (log2_test_data): Likewise.
35366         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35367         (pow_tonearest_test_data): Likewise.
35368         (sin_test_data): Update call to AUTO_TESTS_f_f.
35369         (sin_test): Use ALL_RM_TEST.
35370         (sin_tonearest_test_data): Remove.
35371         (sin_test_tonearest): Likewise.
35372         (sin_towardzero_test_data): Likewise.
35373         (sin_test_towardzero): Likewise.
35374         (sin_downward_test_data): Likewise.
35375         (sin_test_downward): Likewise.
35376         (sin_upward_test_data): Likewise.
35377         (sin_test_upward): Likewise.
35378         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35379         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35380         (sinh_test): Use ALL_RM_TEST.
35381         (sinh_tonearest_test_data): Remove.
35382         (sinh_test_tonearest): Likewise.
35383         (sinh_towardzero_test_data): Likewise.
35384         (sinh_test_towardzero): Likewise.
35385         (sinh_downward_test_data): Likewise.
35386         (sinh_test_downward): Likewise.
35387         (sinh_upward_test_data): Likewise.
35388         (sinh_test_upward): Likewise.
35389         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35390         (sqrt_test): Use ALL_RM_TEST.
35391         (sqrt_tonearest_test_data): Remove.
35392         (sqrt_test_tonearest): Likewise.
35393         (sqrt_towardzero_test_data): Likewise.
35394         (sqrt_test_towardzero): Likewise.
35395         (sqrt_downward_test_data): Likewise.
35396         (sqrt_test_downward): Likewise.
35397         (sqrt_upward_test_data): Likewise.
35398         (sqrt_test_upward): Likewise.
35399         (tan_test_data): Update call to AUTO_TESTS_f_f.
35400         (tan_test): Use ALL_RM_TEST.
35401         (tan_tonearest_test_data): Remove.
35402         (tan_test_tonearest): Likewise.
35403         (tan_towardzero_test_data): Likewise.
35404         (tan_test_towardzero): Likewise.
35405         (tan_downward_test_data): Likewise.
35406         (tan_test_downward): Likewise.
35407         (tan_upward_test_data): Likewise.
35408         (tan_test_upward): Likewise.
35409         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35410         (tgamma_test_data): Likewise.
35411         (y0_test_data): Likewise.
35412         (y1_test_data): Likewise.
35413         (yn_test_data): Update call to AUTO_TESTS_if_f.
35414         (main): Do not call removed functions.
35416 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35418         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35419         (ldexp_test_data): Remove.
35420         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35421         scalbn_test_data.
35422         (scalb_test): Use ALL_RM_TEST.
35424 2014-03-19  Andreas Schwab  <schwab@suse.de>
35426         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35428 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35430         [BZ #16649]
35431         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35432         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35433         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35434         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35435         (__ASSUME_PREADV): Undefine.
35436         (__ASSUME_PWRITEV): Likewise.
35438 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35440         * bits/mman-linux.h: Add comment about non-Linux use.
35441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35442         bits/mman-linux.h resting place.
35444         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35445         * bits/mman-linux.h: ... here.
35447 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449         * conform/conformtest.pl: Add standard definition when calling C
35450         preprocessor on data files.
35451         (checknamespace): Remove unused variable.
35453 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35455         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35456         minus_oflow, plus_uflow and minus_uflow in expected results.
35457         * math/libm-test.inc (scalbn_test_data): Add more tests of
35458         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35459         minus_uflow.
35460         (scalbn_test): Use ALL_RM_TEST.
35461         (scalbln_test_data): Add more tests of negative arguments.  Use
35462         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35463         (scalbln_test): Use ALL_RM_TEST.
35465 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35467         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35469 2014-03-18  Will Newton  <will.newton@linaro.org>
35471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35472         inaccurate comment.
35474 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35476         * Makerules [!subdir] (check-abi): Exit with error status if a
35477         test failed.
35479 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35481         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35482         for rint.  Include results for all rounding modes.
35483         (nearbyint_test): Use ALL_RM_TEST.
35484         (rint_test_data): Include all tests used for nearbyint.
35486 2014-03-17  Will Newton  <will.newton@linaro.org>
35488         * nptl/sysdeps/pthread/pthread.h: Revert previous
35489         change.
35491         * sysdeps/generic/ldsodefs.h: Revert previous
35492         change.
35494         * libio/genops.c: Revert previous change.
35495         * libio/libioP.h: Likewise.
35496         * stdio-common/vfprintf.c: Likewise.
35498         * sysdeps/generic/math_private.h: Revert previous
35499         change.
35501         * sysdeps/generic/math_private.h: Check whether
35502         HAVE_RM_CTX is defined with #ifdef rather
35503         than #if.
35505         * argp/argp-fmtstream.h: Check whether
35506         __STRICT_ANSI__ is defined with #ifdef rather
35507         than #if.
35508         * argp/argp.h: Likewise.
35510         * libio/genops.c: Check whether
35511         _IO_JUMPS_OFFSET is defined with #ifdef rather
35512         than #if.
35513         * libio/libioP.h: Likewise.
35514         * stdio-common/vfprintf.c: Likewise.
35516         * sysdeps/generic/ldsodefs.h: Check whether
35517         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35518         than #if.
35520         * nptl/sysdeps/pthread/pthread.h: Check
35521         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35522         its value.
35524 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35526         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35527         setting O_APPEND.
35528         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35529         test case.
35531         [BZ #16680]
35532         * libio/fileops.c (_IO_file_open): Seek to end of file but
35533         don't cache the offset.
35534         (get_file_offset): Remove function.
35535         (do_ftell): Use cached offset when available.
35536         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35537         don't cache the offset.
35538         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35539         case.
35540         (do_one_test): Call it.
35541         (do_ftell_test): Fix up expected old offset for a+ mode.
35542         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35543         available.
35545         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35546         up test status with function return status.
35547         (do_write_test): Likewise.
35548         (do_append_test): Likewise.
35550         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35551         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35552         Remove.
35554 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35556         * math/gen-libm-test.pl (parse_args): Handle results specified for
35557         each rounding mode separately.
35558         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35559         tests and results from lrint_tonearest_test_data,
35560         lrint_towardzero_test_data, lrint_downward_test_data and
35561         lrint_upward_test_data.
35562         (lrint_test): Use ALL_RM_TEST.
35563         (lrint_tonearest_test_data): Remove.
35564         (lrint_test_tonearest): Likewise.
35565         (lrint_towardzero_test_data): Likewise.
35566         (lrint_test_towardzero): Likewise.
35567         (lrint_downward_test_data): Likewise.
35568         (lrint_test_downward): Likewise.
35569         (lrint_upward_test_data): Likewise.
35570         (lrint_test_upward): Likewise.
35571         (llrint_test_data): Merge in per-rounding-mode tests and results
35572         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35573         llrint_downward_test_data and llrint_upward_test_data.
35574         (llrint_test): Use ALL_RM_TEST.
35575         (llrint_tonearest_test_data): Remove.
35576         (llrint_test_tonearest): Likewise.
35577         (llrint_towardzero_test_data): Likewise.
35578         (llrint_test_towardzero): Likewise.
35579         (llrint_downward_test_data): Likewise.
35580         (llrint_test_downward): Likewise.
35581         (llrint_upward_test_data): Likewise.
35582         (llrint_test_upward): Likewise.
35583         (rint_test_data): Merge in per-rounding-mode tests and results
35584         from rint_tonearest_test_data, rint_towardzero_test_data,
35585         rint_downward_test_data and rint_upward_test_data.  Add
35586         per-rounding-mode results for tests not in those arrays.
35587         (rint_test): Use ALL_RM_TEST.
35588         (rint_tonearest_test_data): Remove.
35589         (rint_test_tonearest): Likewise.
35590         (rint_towardzero_test_data): Likewise.
35591         (rint_test_towardzero): Likewise.
35592         (rint_downward_test_data): Likewise.
35593         (rint_test_downward): Likewise.
35594         (rint_upward_test_data): Likewise.
35595         (rint_test_upward): Likewise.
35596         (main): Don't call removed functions.
35598 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35600         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35601         "Compiled on ..." crapola.  It is anti-useful.
35603 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35605         * scripts/evaluate-test.sh: Handle fourth argument to determine
35606         whether test run should stop on failure.
35607         * Makeconfig (stop-on-test-failure): New variable.
35608         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35609         $(stop-on-test-failure).
35610         * Makefile (tests): Give a summary of results from testing and
35611         exit with failure status if they include an ERROR or FAIL.
35612         (xtests): Likewise.
35613         * manual/install.texi (Configuring and compiling): Mention
35614         stop-on-test-failure=y.
35615         * INSTALL: Regenerated.
35617 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35619         * scripts/versionlist.awk: New file.
35620         * Makerules [$(build-shared) = yes]
35621         (postclean-generated): Add Versions.def, not Versions.def.v and
35622         Versions.def.v.i.
35623         ($(common-objpfx)Versions.def.v.i): Target removed.
35624         ($(common-objpfx)Versions.def): New target.
35625         ($(common-objpfx)Versions.all): Depend on that rather that
35626         $(common-objpfx)Versions.def.v.
35627         * Versions.def: File removed.
35629         * Makeconfig (+gccwarn): Add -Wundef.
35630         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35631         a dl-sysdep.h breaking its contract.
35632         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35633         * include/stackinfo.h: New file.
35634         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35635         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35636         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35637         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35638         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35639         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35640         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35641         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35642         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35643         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35644         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35645         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35646         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35647         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35648         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35650 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35652         [BZ #16707]
35653         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35654         implementation.
35655         * math/libm-test.inc (round_test_data): Add more tests.
35657         [BZ #16706]
35658         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35659         implementation.
35660         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35662         [BZ #16701]
35663         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35664         implementation.
35665         * math/libm-test.inc (ceil_test_data): Add more tests.
35667         * math/libm-test.inc (trunc_test_data): Add more tests related to
35668         BZ#16414.
35670 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35672         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35673         with #if rather than #ifdef.
35674         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35676 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35678         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35679         first.  Disable AVX-512 GCC support if assembler doesn't support
35680         it.
35681         * sysdeps/x86_64/configure: Regenerated.
35683 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35685         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35686         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35687         (__old_pthread_attr_setstack): Likewise.
35688         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35689         [!_STACK_GROWS_DOWN]: Likewise.
35691 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35693         * config.make.in (have-bash2): Delete.
35694         * configure.ac (libc_cv_have_bash2): Delete.
35695         * configure: Regenerate.
35696         * elf/Makefile (common-ldd-rewrite): Rename to ...
35697         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35698         (sh-ldd-rewrite): Delete.
35699         (bash-ldd-rewrite): Delete.
35700         (have-bash2): Delete checks.
35701         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35702         ldd-rewrite.
35704         * config.make.in (have-ksh): Delete.
35705         (KSH): Delete.
35706         * configure.ac (libc_cv_have_ksh): Delete.
35707         * configure: Regenerate.
35709         * elf/Makefile: Delete $(have-ksh) check.
35710         ($(objpfx)sotruss): Change KSH to BASH.
35711         * elf/sotruss.ksh: Rename to ...
35712         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35713         function style to match POSIX.  Drop ksh vim mode setting.
35715         * manual/time.texi (Specifying the Time Zone with TZ): Change
35716         Tuesday to Thursday.
35718         * debug/tst-longjmp_chk2.c: Update header comment.
35719         (stackoverflow_handler): Add comment.  Call assert on pass value.
35721 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35723         [BZ #16194]
35724         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35725         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35726         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35727         (La_x86_64_vector): Add zmm.
35728         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35729         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35730         ($(objpfx)tst-audit10): New target.
35731         ($(objpfx)tst-audit10.out): Likewise.
35732         (tst-audit10-ENV): New.
35733         (AVX512-CFLAGS): Likewise.
35734         (CFLAGS-tst-audit10.c): Likewise.
35735         (CFLAGS-tst-auditmod10a.c): Likewise.
35736         (CFLAGS-tst-auditmod10b.c): Likewise.
35737         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35738         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35739         * sysdeps/x86_64/configure: Regenerated.
35740         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35741         AVX-512 zmm register support.
35742         (_dl_x86_64_save_sse): Likewise.
35743         (_dl_x86_64_restore_sse): Likewise.
35744         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35745         size vector registers.
35746         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35747         (ZMM_SIZE): Likewise.
35748         * sysdeps/x86_64/tst-audit10.c: New file.
35749         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35750         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35752 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35754         * configure.ac (HAVE_EHDR_START): New check.
35755         * configure: Regenerated.
35756         * config.h.in (HAVE_EHDR_START): New #undef.
35757         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35758         assuming the lowest-addressed segment maps the start of the file.
35760 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35762         * INSTALL: Regenerated.
35764 2014-03-13  Will Newton  <will.newton@linaro.org>
35766         * manual/setjmp.texi (System V contexts): Improve
35767         clarity and grammar of documentation.
35769 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35771         [BZ #16381]
35772         * elf/Makefile (tests): Add tst-pie2.
35773         (tests-pie): Add tst-pie2.
35774         * elf/tst-pie2.c: New file.
35775         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35776         for ET_EXEC.
35777         * elf/rtld.c (map_doit): Load executable as lt_executable.
35778         (dl_main): Likewise.
35780 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35782         [BZ #16642]
35783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35784         (__ASSUME_PSELECT): Undefine.
35786 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35788         [BZ #16689]
35789         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35790         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35791         static build.
35792         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35793         selector for static builds.
35795 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35797         [BZ #16695]
35798         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35799         key in the buffer.
35801 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35803         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35804         IFUNC selector for static builds.
35806 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35808         * sysdeps/mips/math_private.h [__mips_hard_float]
35809         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35810         libc_feresetround_mips_ctx.
35811         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35812         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35813         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35815         [BZ #16677]
35816         * math/s_nextafter.c (__nextafter): Do not return value from
35817         overflowing computation.
35818         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35819         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35820         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35821         Likewise.
35822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35823         Likewise.
35824         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35825         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35827 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35829         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35830         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35831         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35832         the new mov targetting sp.
35834 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35836         [BZ #16683]
35837         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35838         Define it for static builds as well.
35839         (NO_BZERO_IMPL): Likewise.
35841 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35843         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35844         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35845         multiarch strspn for PPC64.
35846         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35847         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35849         (__libc_ifunc_impl_list): Likewise.
35850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35851         multiarch optimizations
35852         * string/strspn.c (strspn): Using macro to redefine symbol name.
35854 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35855             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35857         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35858         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35859         multiarch strncat for PPC64.
35860         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35861         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35863         (__libc_ifunc_impl_list): Likewise.
35864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35865         multiarch optimizations
35867 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35869         [BZ #16639]
35870         * nscd/nscd.service: Make service type forking.
35872 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35874         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35875         sign in non default rounding modes.
35876         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35878 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35880         * math/libm-test.inc (ALL_RM_TEST): New macro.
35881         (ceil_test): Use ALL_RM_TEST.
35882         (cimag_test): Likewise.
35883         (conj_test): Likewise.
35884         (copysign_test): Likewise.
35885         (cproj_test): Likewise.
35886         (creal_test): Likewise.
35887         (fabs_test): Likewise.
35888         (floor_test): Likewise.
35889         (fmax_test): Likewise.
35890         (fmin_test): Likewise.
35891         (fmod_test): Likewise.
35892         (fpclassify_test): Likewise.
35893         (frexp_test): Likewise.
35894         (ilogb_test): Likewise.
35895         (isfinite_test): Likewise.
35896         (finite_test): Likewise.
35897         (isgreater_test): Likewise.
35898         (isgreaterequal_test): Likewise.
35899         (isinf_test): Likewise.
35900         (isless_test): Likewise.
35901         (islessequal_test): Likewise.
35902         (islessgreater_test): Likewise.
35903         (isnan_test): Likewise.
35904         (isnormal_test): Likewise.
35905         (issignaling_test): Likewise.
35906         (isunordered_test): Likewise.
35907         (logb_test): Likewise.
35908         (logb_downward_test_data): Remove.
35909         (logb_test_downward): Likewise.
35910         (lround_test): Use ALL_RM_TEST.
35911         (llround_test): Likewise.
35912         (modf_test): Likewise.
35913         (nexttoward_test): Likewise.
35914         (remainder_test): Likewise.
35915         (drem_test): Likewise.
35916         (remainder_tonearest_test_data): Likewise.
35917         (remainder_test_tonearest): Likewise.
35918         (drem_test_tonearest): Likewise.
35919         (remainder_towardzero_test_data): Likewise.
35920         (remainder_test_towardzero): Likewise.
35921         (drem_test_towardzero): Likewise.
35922         (remainder_downward_test_data): Likewise.
35923         (remainder_test_downward): Likewise.
35924         (drem_test_downward): Likewise.
35925         (remainder_upward_test_data): Likewise.
35926         (remainder_test_upward): Likewise.
35927         (drem_test_upward): Likewise.
35928         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35929         (round_test): Use ALL_RM_TEST.
35930         (signbit_test): Likewise.
35931         (trunc_test): Likewise.
35932         (significand_test): Likewise.
35933         (main): Don't call removed functions.
35935 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35937         [BZ #16674]
35938         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35939         || __USE_XOPEN2K8].
35940         (ILL_ILLOPN): Likewise.
35941         (ILL_ILLADR): Likewise.
35942         (ILL_ILLTRP): Likewise.
35943         (ILL_PRVOPC): Likewise.
35944         (ILL_PRVREG): Likewise.
35945         (ILL_COPROC): Likewise.
35946         (ILL_BADSTK): Likewise.
35947         (FPE_INTDIV): Likewise.
35948         (FPE_INTOVF): Likewise.
35949         (FPE_FLTDIV): Likewise.
35950         (FPE_FLTOVF): Likewise.
35951         (FPE_FLTUND): Likewise.
35952         (FPE_FLTRES): Likewise.
35953         (FPE_FLTINV): Likewise.
35954         (FPE_FLTSUB): Likewise.
35955         (SEGV_MAPERR): Likewise.
35956         (SEGV_ACCERR): Likewise.
35957         (BUS_ADRALN): Likewise.
35958         (BUS_ADRERR): Likewise.
35959         (BUS_OBJERR): Likewise.
35960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35961         (TRAP_TRACE): Likewise.
35962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35963         __USE_XOPEN2K8].
35964         (CLD_KILLED): Likewise.
35965         (CLD_DUMPED): Likewise.
35966         (CLD_TRAPPED): Likewise.
35967         (CLD_STOPPED): Likewise.
35968         (CLD_CONTINUED): Likewise.
35969         (POLL_IN): Likewise.
35970         (POLL_OUT): Likewise.
35971         (POLL_MSG): Likewise.
35972         (POLL_ERR): Likewise.
35973         (POLL_PRI): Likewise.
35974         (POLL_HUP): Likewise.
35975         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35976         Likewise.
35977         (ILL_ILLOPN): Likewise.
35978         (ILL_ILLADR): Likewise.
35979         (ILL_ILLTRP): Likewise.
35980         (ILL_PRVOPC): Likewise.
35981         (ILL_PRVREG): Likewise.
35982         (ILL_COPROC): Likewise.
35983         (ILL_BADSTK): Likewise.
35984         (FPE_INTDIV): Likewise.
35985         (FPE_INTOVF): Likewise.
35986         (FPE_FLTDIV): Likewise.
35987         (FPE_FLTOVF): Likewise.
35988         (FPE_FLTUND): Likewise.
35989         (FPE_FLTRES): Likewise.
35990         (FPE_FLTINV): Likewise.
35991         (FPE_FLTSUB): Likewise.
35992         (SEGV_MAPERR): Likewise.
35993         (SEGV_ACCERR): Likewise.
35994         (BUS_ADRALN): Likewise.
35995         (BUS_ADRERR): Likewise.
35996         (BUS_OBJERR): Likewise.
35997         (BUS_MCEERR_AR): Likewise.
35998         (BUS_MCEERR_AO): Likewise.
35999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36000         (TRAP_TRACE): Likewise.
36001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36002         __USE_XOPEN2K8].
36003         (CLD_KILLED): Likewise.
36004         (CLD_DUMPED): Likewise.
36005         (CLD_TRAPPED): Likewise.
36006         (CLD_STOPPED): Likewise.
36007         (CLD_CONTINUED): Likewise.
36008         (POLL_IN): Likewise.
36009         (POLL_OUT): Likewise.
36010         (POLL_MSG): Likewise.
36011         (POLL_ERR): Likewise.
36012         (POLL_PRI): Likewise.
36013         (POLL_HUP): Likewise.
36014         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36015         (ILL_ILLOPN): Likewise.
36016         (ILL_ILLADR): Likewise.
36017         (ILL_ILLTRP): Likewise.
36018         (ILL_PRVOPC): Likewise.
36019         (ILL_PRVREG): Likewise.
36020         (ILL_COPROC): Likewise.
36021         (ILL_BADSTK): Likewise.
36022         (FPE_INTDIV): Likewise.
36023         (FPE_INTOVF): Likewise.
36024         (FPE_FLTDIV): Likewise.
36025         (FPE_FLTOVF): Likewise.
36026         (FPE_FLTUND): Likewise.
36027         (FPE_FLTRES): Likewise.
36028         (FPE_FLTINV): Likewise.
36029         (FPE_FLTSUB): Likewise.
36030         (SEGV_MAPERR): Likewise.
36031         (SEGV_ACCERR): Likewise.
36032         (BUS_ADRALN): Likewise.
36033         (BUS_ADRERR): Likewise.
36034         (BUS_OBJERR): Likewise.
36035         (BUS_MCEERR_AR): Likewise.
36036         (BUS_MCEERR_AO): Likewise.
36037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36038         (TRAP_TRACE): Likewise.
36039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36040         __USE_XOPEN2K8].
36041         (CLD_KILLED): Likewise.
36042         (CLD_DUMPED): Likewise.
36043         (CLD_TRAPPED): Likewise.
36044         (CLD_STOPPED): Likewise.
36045         (CLD_CONTINUED): Likewise.
36046         (POLL_IN): Likewise.
36047         (POLL_OUT): Likewise.
36048         (POLL_MSG): Likewise.
36049         (POLL_ERR): Likewise.
36050         (POLL_PRI): Likewise.
36051         (POLL_HUP): Likewise.
36052         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36053         Likewise.
36054         (ILL_ILLOPN): Likewise.
36055         (ILL_ILLADR): Likewise.
36056         (ILL_ILLTRP): Likewise.
36057         (ILL_PRVOPC): Likewise.
36058         (ILL_PRVREG): Likewise.
36059         (ILL_COPROC): Likewise.
36060         (ILL_BADSTK): Likewise.
36061         (ILL_BADIADDR): Likewise.
36062         (ILL_BREAK): Likewise.
36063         (FPE_INTDIV): Likewise.
36064         (FPE_INTOVF): Likewise.
36065         (FPE_FLTDIV): Likewise.
36066         (FPE_FLTOVF): Likewise.
36067         (FPE_FLTUND): Likewise.
36068         (FPE_FLTRES): Likewise.
36069         (FPE_FLTINV): Likewise.
36070         (FPE_FLTSUB): Likewise.
36071         (FPE_DECOVF): Likewise.
36072         (FPE_DECDIV): Likewise.
36073         (FPE_DECERR): Likewise.
36074         (FPE_INVASC): Likewise.
36075         (FPE_INVDEC): Likewise.
36076         (SEGV_MAPERR): Likewise.
36077         (SEGV_ACCERR): Likewise.
36078         (SEGV_PSTKOVF): Likewise.
36079         (BUS_ADRALN): Likewise.
36080         (BUS_ADRERR): Likewise.
36081         (BUS_OBJERR): Likewise.
36082         (BUS_MCEERR_AR): Likewise.
36083         (BUS_MCEERR_AO): Likewise.
36084         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36085         (TRAP_TRACE): Likewise.
36086         (TRAP_BRANCH): Likewise.
36087         (TRAP_HWBKPT): Likewise.
36088         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36089         __USE_XOPEN2K8].
36090         (CLD_KILLED): Likewise.
36091         (CLD_DUMPED): Likewise.
36092         (CLD_TRAPPED): Likewise.
36093         (CLD_STOPPED): Likewise.
36094         (CLD_CONTINUED): Likewise.
36095         (POLL_IN): Likewise.
36096         (POLL_OUT): Likewise.
36097         (POLL_MSG): Likewise.
36098         (POLL_ERR): Likewise.
36099         (POLL_PRI): Likewise.
36100         (POLL_HUP): Likewise.
36101         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36102         (ILL_ILLOPN): Likewise.
36103         (ILL_ILLADR): Likewise.
36104         (ILL_ILLTRP): Likewise.
36105         (ILL_PRVOPC): Likewise.
36106         (ILL_PRVREG): Likewise.
36107         (ILL_COPROC): Likewise.
36108         (ILL_BADSTK): Likewise.
36109         (FPE_INTDIV): Likewise.
36110         (FPE_INTOVF): Likewise.
36111         (FPE_FLTDIV): Likewise.
36112         (FPE_FLTOVF): Likewise.
36113         (FPE_FLTUND): Likewise.
36114         (FPE_FLTRES): Likewise.
36115         (FPE_FLTINV): Likewise.
36116         (FPE_FLTSUB): Likewise.
36117         (SEGV_MAPERR): Likewise.
36118         (SEGV_ACCERR): Likewise.
36119         (BUS_ADRALN): Likewise.
36120         (BUS_ADRERR): Likewise.
36121         (BUS_OBJERR): Likewise.
36122         (BUS_MCEERR_AR): Likewise.
36123         (BUS_MCEERR_AO): Likewise.
36124         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36125         (TRAP_TRACE): Likewise.
36126         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36127         __USE_XOPEN2K8].
36128         (CLD_KILLED): Likewise.
36129         (CLD_DUMPED): Likewise.
36130         (CLD_TRAPPED): Likewise.
36131         (CLD_STOPPED): Likewise.
36132         (CLD_CONTINUED): Likewise.
36133         (POLL_IN): Likewise.
36134         (POLL_OUT): Likewise.
36135         (POLL_MSG): Likewise.
36136         (POLL_ERR): Likewise.
36137         (POLL_PRI): Likewise.
36138         (POLL_HUP): Likewise.
36139         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36140         (ILL_ILLOPN): Likewise.
36141         (ILL_ILLADR): Likewise.
36142         (ILL_ILLTRP): Likewise.
36143         (ILL_PRVOPC): Likewise.
36144         (ILL_PRVREG): Likewise.
36145         (ILL_COPROC): Likewise.
36146         (ILL_BADSTK): Likewise.
36147         (FPE_INTDIV): Likewise.
36148         (FPE_INTOVF): Likewise.
36149         (FPE_FLTDIV): Likewise.
36150         (FPE_FLTOVF): Likewise.
36151         (FPE_FLTUND): Likewise.
36152         (FPE_FLTRES): Likewise.
36153         (FPE_FLTINV): Likewise.
36154         (FPE_FLTSUB): Likewise.
36155         (SEGV_MAPERR): Likewise.
36156         (SEGV_ACCERR): Likewise.
36157         (BUS_ADRALN): Likewise.
36158         (BUS_ADRERR): Likewise.
36159         (BUS_OBJERR): Likewise.
36160         (BUS_MCEERR_AR): Likewise.
36161         (BUS_MCEERR_AO): Likewise.
36162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36163         (TRAP_TRACE): Likewise.
36164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36165         __USE_XOPEN2K8].
36166         (CLD_KILLED): Likewise.
36167         (CLD_DUMPED): Likewise.
36168         (CLD_TRAPPED): Likewise.
36169         (CLD_STOPPED): Likewise.
36170         (CLD_CONTINUED): Likewise.
36171         (POLL_IN): Likewise.
36172         (POLL_OUT): Likewise.
36173         (POLL_MSG): Likewise.
36174         (POLL_ERR): Likewise.
36175         (POLL_PRI): Likewise.
36176         (POLL_HUP): Likewise.
36177         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36178         (ILL_ILLOPN): Likewise.
36179         (ILL_ILLADR): Likewise.
36180         (ILL_ILLTRP): Likewise.
36181         (ILL_PRVOPC): Likewise.
36182         (ILL_PRVREG): Likewise.
36183         (ILL_COPROC): Likewise.
36184         (ILL_BADSTK): Likewise.
36185         (FPE_INTDIV): Likewise.
36186         (FPE_INTOVF): Likewise.
36187         (FPE_FLTDIV): Likewise.
36188         (FPE_FLTOVF): Likewise.
36189         (FPE_FLTUND): Likewise.
36190         (FPE_FLTRES): Likewise.
36191         (FPE_FLTINV): Likewise.
36192         (FPE_FLTSUB): Likewise.
36193         (SEGV_MAPERR): Likewise.
36194         (SEGV_ACCERR): Likewise.
36195         (BUS_ADRALN): Likewise.
36196         (BUS_ADRERR): Likewise.
36197         (BUS_OBJERR): Likewise.
36198         (BUS_MCEERR_AR): Likewise.
36199         (BUS_MCEERR_AO): Likewise.
36200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36201         (TRAP_TRACE): Likewise.
36202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36203         __USE_XOPEN2K8].
36204         (CLD_KILLED): Likewise.
36205         (CLD_DUMPED): Likewise.
36206         (CLD_TRAPPED): Likewise.
36207         (CLD_STOPPED): Likewise.
36208         (CLD_CONTINUED): Likewise.
36209         (POLL_IN): Likewise.
36210         (POLL_OUT): Likewise.
36211         (POLL_MSG): Likewise.
36212         (POLL_ERR): Likewise.
36213         (POLL_PRI): Likewise.
36214         (POLL_HUP): Likewise.
36215         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36216         (ILL_ILLOPN): Likewise.
36217         (ILL_ILLADR): Likewise.
36218         (ILL_ILLTRP): Likewise.
36219         (ILL_PRVOPC): Likewise.
36220         (ILL_PRVREG): Likewise.
36221         (ILL_COPROC): Likewise.
36222         (ILL_BADSTK): Likewise.
36223         (ILL_DBLFLT): Likewise.
36224         (ILL_HARDWALL): Likewise.
36225         (FPE_INTDIV): Likewise.
36226         (FPE_INTOVF): Likewise.
36227         (FPE_FLTDIV): Likewise.
36228         (FPE_FLTOVF): Likewise.
36229         (FPE_FLTUND): Likewise.
36230         (FPE_FLTRES): Likewise.
36231         (FPE_FLTINV): Likewise.
36232         (FPE_FLTSUB): Likewise.
36233         (SEGV_MAPERR): Likewise.
36234         (SEGV_ACCERR): Likewise.
36235         (BUS_ADRALN): Likewise.
36236         (BUS_ADRERR): Likewise.
36237         (BUS_OBJERR): Likewise.
36238         (BUS_MCEERR_AR): Likewise.
36239         (BUS_MCEERR_AO): Likewise.
36240         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36241         (TRAP_TRACE): Likewise.
36242         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36243         __USE_XOPEN2K8].
36244         (CLD_KILLED): Likewise.
36245         (CLD_DUMPED): Likewise.
36246         (CLD_TRAPPED): Likewise.
36247         (CLD_STOPPED): Likewise.
36248         (CLD_CONTINUED): Likewise.
36249         (POLL_IN): Likewise.
36250         (POLL_OUT): Likewise.
36251         (POLL_MSG): Likewise.
36252         (POLL_ERR): Likewise.
36253         (POLL_PRI): Likewise.
36254         (POLL_HUP): Likewise.
36255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36256         (ILL_ILLOPN): Likewise.
36257         (ILL_ILLADR): Likewise.
36258         (ILL_ILLTRP): Likewise.
36259         (ILL_PRVOPC): Likewise.
36260         (ILL_PRVREG): Likewise.
36261         (ILL_COPROC): Likewise.
36262         (ILL_BADSTK): Likewise.
36263         (FPE_INTDIV): Likewise.
36264         (FPE_INTOVF): Likewise.
36265         (FPE_FLTDIV): Likewise.
36266         (FPE_FLTOVF): Likewise.
36267         (FPE_FLTUND): Likewise.
36268         (FPE_FLTRES): Likewise.
36269         (FPE_FLTINV): Likewise.
36270         (FPE_FLTSUB): Likewise.
36271         (SEGV_MAPERR): Likewise.
36272         (SEGV_ACCERR): Likewise.
36273         (BUS_ADRALN): Likewise.
36274         (BUS_ADRERR): Likewise.
36275         (BUS_OBJERR): Likewise.
36276         (BUS_MCEERR_AR): Likewise.
36277         (BUS_MCEERR_AO): Likewise.
36278         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36279         (TRAP_TRACE): Likewise.
36280         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36281         __USE_XOPEN2K8].
36282         (CLD_KILLED): Likewise.
36283         (CLD_DUMPED): Likewise.
36284         (CLD_TRAPPED): Likewise.
36285         (CLD_STOPPED): Likewise.
36286         (CLD_CONTINUED): Likewise.
36287         (POLL_IN): Likewise.
36288         (POLL_OUT): Likewise.
36289         (POLL_MSG): Likewise.
36290         (POLL_ERR): Likewise.
36291         (POLL_PRI): Likewise.
36292         (POLL_HUP): Likewise.
36293         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36294         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36296         [BZ #16670]
36297         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36298         before #include of <time.h>.
36299         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36300         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36301         (test-xfail-UNIX98/sched.h/conform): Likewise.
36303 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36305         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36306         error absence of trapping exception support.
36307         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36309 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36311         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36312         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36313         * timezone/Makefile (testdata): Move definition above include of
36314         Rules.
36315         (test-zones): New variable.
36316         (tests-special): Add zone files.
36317         (build-testdata): Use $(evaluate-test).
36319         * elf/Makefile (tests-special): Rename tests to end with .out.
36320         ($(objpfx)noload-mem): Likewise.
36321         ($(objpfx)tst-leaks1-mem): Likewise.
36322         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36323         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36324         $(objpfx)test-iconvconfig.out.
36325         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36326         set -e inside subshell and redirect output to file.
36327         * iconvdata/Makefile (generated): Rename tests to end with .out.
36328         Correct type.
36329         (tests-special): Rename tests to end with .out.
36330         ($(objpfx)mtrace-tst-loading): Likewise.
36331         * intl/Makefile (generated): Likewise.
36332         (tests-special): Likewise.
36333         ($(objpfx)mtrace-tst-gettext): Likewise.
36334         * misc/Makefile (generated): Likewise.
36335         (tests-special): Likewise.
36336         ($(objpfx)tst-error1-mem): Likewise.
36337         * nptl/Makefile (tests-special): Likewise.
36338         ($(objpfx)tst-stack3-mem): Likewise.
36339         (generated): Likewise.
36340         * posix/Makefile (generated): Likewise.
36341         (tests-special): Likewise.
36342         (xtests-special): Likewise.
36343         ($(objpfx)tst-fnmatch-mem): Likewise.
36344         ($(objpfx)bug-regex2-mem): Likewise.
36345         ($(objpfx)bug-regex14-mem): Likewise.
36346         ($(objpfx)bug-regex21-mem): Likewise.
36347         ($(objpfx)bug-regex31-mem): Likewise.
36348         ($(objpfx)tst-vfork3-mem): Likewise.
36349         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36350         ($(objpfx)tst-pcre-mem): Likewise.
36351         ($(objpfx)tst-boost-mem): Likewise.
36352         ($(objpfx)bug-ga2-mem): Likewise.
36353         ($(objpfx)bug-glob2-mem): Likewise.
36354         * resolv/Makefile (generate): Likewise.
36355         (tests-special): Likewise.
36356         (xtests-special): Likewise.
36357         (generated): Likewise.
36358         ($(objpfx)mtrace-tst-leaks): Likewise.
36359         ($(objpfx)mtrace-tst-leaks2): Likewise.
36361         * scripts/merge-test-results.sh: New file.
36362         * Makefile (tests-special-notdir): New variable.
36363         (tests): Run merge-test-results.sh.
36364         (xtests): Likewise.
36365         * Rules (tests-special-notdir): New variable.
36366         (xtests-special-notdir): Likewise.
36367         (tests): Run merge-test-results.sh
36368         (xtests): Likewise.
36370         * Makeconfig (test-xfail-name): New variable.
36371         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36372         compute variable name for expected failures.
36373         * conform/Makefile (conformtest-headers-data): New variable.
36374         (conformtest-standards): Likewise.
36375         (conformtest-headers-ISO): Likewise.
36376         (conformtest-headers-ISO99): Likewise.
36377         (conformtest-headers-ISO11): Likewise.
36378         (conformtest-headers-POSIX): Likewise.
36379         (conformtest-headers-XPG3): Likewise.
36380         (conformtest-headers-XPG4): Likewise.
36381         (conformtest-headers-UNIX98): Likewise.
36382         (conformtest-headers-XOPEN2K): Likewise.
36383         (conformtest-headers-POSIX2008): Likewise.
36384         (conformtest-headers-XOPEN2K8): Likewise.
36385         (conformtest-header-list-base): Likewise.
36386         (conformtest-header-list-tests): Likewise.
36387         (conformtest-header-base): Likewise.
36388         (conformtest-header-tests): Likewise.
36389         (tests-special): Add $(conformtest-header-list-tests).  If
36390         [$(fast-check) && !$(cross-compiling)], add
36391         $(conformtest-header-tests) instead of
36392         $(objpfx)run-conformtest.out.
36393         (generated): Add $(conformtest-header-list-base).  If
36394         [$(fast-check) && !$(cross-compiling)], add
36395         $(conformtest-header-base).  Remove previous setting.
36396         ($(conformtest-header-list-tests)): New target.
36397         (test-xfail-run-conformtest): Remove variable.
36398         ($(objpfx)run-conformtest.out): Remove target.
36399         (test-xfail-ISO11/complex.h/conform): New variable.
36400         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36401         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36402         (test-xfail-XPG3/varargs.h/conform): Likewise.
36403         (test-xfail-XPG4/varargs.h/conform): Likewise.
36404         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36405         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36406         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36407         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36408         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36409         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36410         (test-xfail-XPG3/ftw.h/conform): Likewise.
36411         (test-xfail-XPG3/grp.h/conform): Likewise.
36412         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36413         (test-xfail-XPG3/limits.h/conform): Likewise.
36414         (test-xfail-XPG3/pwd.h/conform): Likewise.
36415         (test-xfail-XPG3/search.h/conform): Likewise.
36416         (test-xfail-XPG3/signal.h/conform): Likewise.
36417         (test-xfail-XPG3/stdio.h/conform): Likewise.
36418         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36419         (test-xfail-XPG3/string.h/conform): Likewise.
36420         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36421         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36422         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36423         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36424         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36425         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36426         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36427         (test-xfail-XPG3/termios.h/conform): Likewise.
36428         (test-xfail-XPG3/time.h/conform): Likewise.
36429         (test-xfail-XPG3/unistd.h/conform): Likewise.
36430         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36431         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36432         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36433         (test-xfail-XPG4/netdb.h/conform): Likewise.
36434         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36435         (test-xfail-XPG4/signal.h/conform): Likewise.
36436         (test-xfail-XPG4/stdio.h/conform): Likewise.
36437         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36438         (test-xfail-XPG4/stropts.h/conform): Likewise.
36439         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36440         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36441         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36442         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36443         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36444         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36445         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36446         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36447         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36448         (test-xfail-XPG4/termios.h/conform): Likewise.
36449         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36450         (test-xfail-XPG4/unistd.h/conform): Likewise.
36451         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36452         (test-xfail-POSIX/sched.h/conform): Likewise.
36453         (test-xfail-POSIX/signal.h/conform): Likewise.
36454         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36455         (test-xfail-POSIX/tar.h/conform): Likewise.
36456         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36457         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36458         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36459         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36460         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36461         (test-xfail-UNIX98/sched.h/conform): Likewise.
36462         (test-xfail-UNIX98/signal.h/conform): Likewise.
36463         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36464         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36465         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36466         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36467         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36468         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36469         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36470         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36471         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36472         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36473         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36474         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36475         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36476         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36477         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36478         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36479         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36480         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36481         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36482         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36483         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36484         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36485         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36486         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36487         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36488         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36489         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36490         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36491         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36492         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36493         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36494         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36495         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36496         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36497         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36498         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36499         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36500         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36501         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36502         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36503         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36504         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36505         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36506         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36507         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36508         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36509         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36510         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36511         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36512         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36513         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36514         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36515         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36516         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36517         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36518         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36519         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36520         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36521         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36522         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36523         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36524         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36525         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36526         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36527         (conformtest-cc-flags): Likewise.
36528         ($(conformtest-header-tests): New target.
36529         * conform/check-header-lists.sh: New file.
36530         * conform/run-conformtest.sh: Remove.
36532         * conform/conformtest.pl: Allow ' and \ in values given for
36533         constants.
36534         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36535         inclusion.
36536         [POSIX] (sys/types.h): Likewise.
36537         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36538         inclusion.
36539         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36540         inclusion.
36541         * conform/data/signal.h-data (SIGIO): Remove expectation.
36542         [XPG3] (SIGBUS): Do not expect.
36543         [POSIX || XPG3] (SIGPOLL): Likewise.
36544         [POSIX || XPG3] (SIGPROF): Likewise.
36545         [POSIX || XPG3] (SIGSYS): Likewise.
36546         [XPG3] (SIGTRAP): Likewise.
36547         [POSIX || XPG3] (SIGURG): Likewise.
36548         [POSIX || XPG3] (SIGVTALRM): Likewise.
36549         [POSIX || XPG3] (SIGXCPU): Likewise.
36550         [POSIX || XPG3] (SIGXFSZ): Likewise.
36551         [POSIX] (SA_SIGINFO): Expect.
36552         [XPG3] (siginfo_t): Do not expect type or contents.
36553         [POSIX] (si_pid): Do not expect element.
36554         [POSIX] (si_uid): Likewise.
36555         [POSIX] (si_addr): Likewise.
36556         [POSIX] (si_status): Likewise.
36557         [POSIX] (si_band): Likewise.
36558         [XPG4] (si_value): Likewise.
36559         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36560         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36561         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36562         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36563         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36564         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36565         [POSIX || XPG3] (ILL_COPROC): Likewise.
36566         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36567         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36568         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36569         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36570         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36571         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36572         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36573         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36574         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36575         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36576         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36577         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36578         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36579         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36580         [POSIX || XPG3] (CLD_EXITED): Likewise.
36581         [POSIX || XPG3] (CLD_KILLED): Likewise.
36582         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36583         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36584         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36585         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36586         [POSIX || XPG3] (POLL_IN): Likewise.
36587         [POSIX || XPG3] (POLL_OUT): Likewise.
36588         [POSIX || XPG3] (POLL_MSG): Likewise.
36589         [POSIX || XPG3] (POLL_ERR): Likewise.
36590         [POSIX || XPG3] (POLL_PRI): Likewise.
36591         [POSIX || XPG3] (POLL_HUP): Likewise.
36592         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36593         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36594         (SIG*): Do not allow.
36595         [XPG3] (si_*): Likewise.
36596         [XPG3] (SI_*): Likewise.
36597         [XPG3 || XPG4] (sigev_*): Likewise.
36598         [XPG3 || XPG4] (SIGEV_*): Likewise.
36599         [XPG3 || XPG4] (sival_*): Likewise.
36600         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36601         [POSIX || XPG3] (BUS_*): Likewise.
36602         [POSIX || XPG3] (CLD_*): Likewise.
36603         [POSIX || XPG3] (FPE_*): Likewise.
36604         [POSIX || XPG3] (ILL_*): Likewise.
36605         [POSIX || XPG3] (POLL_*): Likewise.
36606         [POSIX || XPG3] (SEGV_*): Likewise.
36607         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36608         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36609         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36610         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36611         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36612         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36613         Specify type and value.
36614         (TVERSLEN): Likewise.
36615         (REGTYPE): Likewise.
36616         (AREGTYPE): Likewise.
36617         (LNKTYPE): Likewise.
36618         (SYMTYPE): Likewise.
36619         (CHRTYPE): Likewise.
36620         (BLKTYPE): Likewise.
36621         (DIRTYPE): Likewise.
36622         (FIFOTYPE): Likewise.
36623         (CONTTYPE): Likewise.
36624         (TSUID): Likewise.
36625         (TSGID): Likewise.
36626         (TSVTX): Likewise.
36627         (TUREAD): Likewise.
36628         (TUWRITE): Likewise.
36629         (TUEXEC): Likewise.
36630         (TGREAD): Likewise.
36631         (TGWRITE): Likewise.
36632         (TGEXEC): Likewise.
36633         (TOREAD): Likewise.
36634         (TOWRITE): Likewise.
36635         (TOEXEC): Likewise.
36636         [POSIX] (TSVTX): Expect constant.
36638 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36640         * Makefile (tests): Change dependencies to ....
36641         (tests-special): ... additions to this variable.
36642         (tests): Depend on $(tests-special).
36643         * Makerules (check-abi-list): New variable.
36644         (check-abi): Depend on $(check-abi-list).
36645         [$(subdir) = elf] (tests-special): Add
36646         $(objpfx)check-abi-libc.out.
36647         [$(build-shared) = yes && subdir] (tests-special): Add
36648         $(check-abi-list).
36649         [$(build-shared) = yes && subdir] (tests): Do not depend on
36650         check-abi.
36651         * Rules (tests): Depend on $(tests-special).
36652         (xtests): Depend on $(xtests-special).
36653         * catgets/Makefile (tests): Change dependencies to ....
36654         (tests-special): ... additions to this variable.
36655         * conform/Makefile (tests): Change dependencies to ....
36656         (tests-special): ... additions to this variable.
36657         * elf/Makefile (tests): Change dependencies to ....
36658         (tests-special): ... additions to this variable.
36659         * grp/Makefile (tests): Change dependencies to ....
36660         (tests-special): ... additions to this variable.
36661         * iconv/Makefile (xtests): Change dependencies to ....
36662         (xtests-special): ... additions to this variable.
36663         * iconvdata/Makefile (tests): Change dependencies to ....
36664         (tests-special): ... additions to this variable.
36665         * intl/Makefile (tests): Change dependencies to ....
36666         (tests-special): ... additions to this variable.  Also add
36667         $(objpfx)tst-gettext.out.
36668         * io/Makefile (tests): Change dependencies to ....
36669         (tests-special): ... additions to this variable.
36670         * libio/Makefile (tests): Change dependencies to ....
36671         (tests-special): ... additions to this variable.
36672         * malloc/Makefile (tests): Change dependencies to ....
36673         (tests-special): ... additions to this variable.
36674         * misc/Makefile (tests): Change dependencies to ....
36675         (tests-special): ... additions to this variable.
36676         * nptl/Makefile (tests): Change dependencies to ....
36677         (tests-special): ... additions to this variable.
36678         * nptl_db/Makefile (tests): Change dependencies to ....
36679         (tests-special): ... additions to this variable.
36680         * posix/Makefile (tests): Change dependencies to ....
36681         (tests-special): ... additions to this variable.
36682         (xtests): Change dependencies to ....
36683         (xtests-special): ... additions to this variable.
36684         * resolv/Makefile (tests): Change dependencies to ....
36685         (tests-special): ... additions to this variable.
36686         (xtests): Change dependencies to ....
36687         (xtests-special): ... additions to this variable.
36688         * stdio-common/Makefile (tests): Change dependencies to ....
36689         (tests-special): ... additions to this variable.
36690         (do-tst-unbputc): Remove target.
36691         (do-tst-printf): Likewise.
36692         * stdlib/Makefile (tests): Change dependencies to ....
36693         (tests-special): ... additions to this variable.
36694         * string/Makefile (tests): Change dependencies to ....
36695         (tests-special): ... additions to this variable.
36696         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36697         (tests-special): ... additions to this variable.
36699         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36700         whole file.
36701         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36702         whole file.
36703         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36704         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36706         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36707         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36708         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36709         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36710         * conform/data/libgen.h-data [XPG3]: Likewise.
36711         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36712         * conform/data/ndbm.h-data [XPG3]: Likewise.
36713         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36714         * conform/data/netdb.h-data [XPG3]: Likewise.
36715         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36716         * conform/data/poll.h-data [XPG3]: Likewise.
36717         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36718         * conform/data/strings.h-data [XPG3]: Likewise.
36719         * conform/data/stropts.h-data [XPG3]: Likewise.
36720         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36721         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36722         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36723         Likewise.
36724         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36725         * conform/data/sys/time.h-data [XPG3]: Likewise.
36726         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36727         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36728         * conform/data/sys/un.h-data [XPG3]: Likewise.
36729         * conform/data/syslog.h-data [XPG3]: Likewise.
36730         * conform/data/ucontext.h-data [XPG3]: Likewise.
36731         * conform/data/utmpx.h-data [XPG3]: Likewise.
36732         * conform/data/varargs.h-data [UNIX98]: Enable file.
36734         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36736         * math/libm-test.inc (struct test_f_f_data): Move expected results
36737         into structure for each rounding mode.
36738         (struct test_ff_f_data): Likewise.
36739         (struct test_ff_f_data_nexttoward): Likewise.
36740         (struct test_fi_f_data): Likewise.
36741         (struct test_fl_f_data): Likewise.
36742         (struct test_if_f_data): Likewise.
36743         (struct test_fff_f_data): Likewise.
36744         (struct test_c_f_data): Likewise.
36745         (struct test_f_f1_data): Likewise.
36746         (struct test_fF_f1_data): Likewise.
36747         (struct test_ffI_f1_data): Likewise.
36748         (struct test_c_c_data): Likewise.
36749         (struct test_cc_c_data): Likewise.
36750         (struct test_f_i_data): Likewise.
36751         (struct test_ff_i_data): Likewise.
36752         (struct test_f_l_data): Likewise.
36753         (struct test_f_L_data): Likewise.
36754         (struct test_fFF_11_data): Likewise.
36755         (RM_): New macro.
36756         (RM_FE_DOWNWARD): Likewise.
36757         (RM_FE_TONEAREST): Likewise.
36758         (RM_FE_TOWARDZERO): Likewise.
36759         (RM_FE_UPWARD): Likewise.
36760         (RUN_TEST_LOOP_f_f): Update references to expected results.
36761         (RUN_TEST_LOOP_2_f): Likewise.
36762         (RUN_TEST_LOOP_fff_f): Likewise.
36763         (RUN_TEST_LOOP_c_f): Likewise.
36764         (RUN_TEST_LOOP_f_f1): Likewise.
36765         (RUN_TEST_LOOP_fF_f1): Likewise.
36766         (RUN_TEST_LOOP_fI_f1): Likewise.
36767         (RUN_TEST_LOOP_ffI_f1): Likewise.
36768         (RUN_TEST_LOOP_c_c): Likewise.
36769         (RUN_TEST_LOOP_cc_c): Likewise.
36770         (RUN_TEST_LOOP_f_i): Likewise.
36771         (RUN_TEST_LOOP_f_i_tg): Likewise.
36772         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36773         (RUN_TEST_LOOP_f_b): Likewise.
36774         (RUN_TEST_LOOP_f_b_tg): Likewise.
36775         (RUN_TEST_LOOP_f_l): Likewise.
36776         (RUN_TEST_LOOP_f_L): Likewise.
36777         (RUN_TEST_LOOP_fFF_11): Likewise.
36778         * math/gen-libm-test.pl (parse_args): Output four copies of
36779         expected results for each test.
36781         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36782         (__ASSUME_UTIMES): Remove.
36783         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36784         (__ASSUME_UTIMES): Likewise.
36786         * math/gen-auto-libm-tests.c: Update comment on output format.
36787         (output_for_one_input_case): Generate before-rounding and
36788         after-rounding information as conditions on output flags not
36789         floating-point format.
36790         * math/auto-libm-test-out: Regenerated.
36791         * math/gen-libm-test.pl (cond_value): New function.
36792         (or_cond_value): Use cond_value.
36793         (generate_testfile): Handle conditional exceptions.
36795 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36797         * math/libm-test.inc (max_valid_error): New variable.
36798         (init_max_error): Take new argument specifying whether function
36799         results are exactly determined.  Set max_valid_error and bound
36800         other variables for errors based on this argument.
36801         (set_max_error): Do not record results above max_valid_error.
36802         (check_float_internal): Only accept errors of up to 0.5ulps if
36803         also at most max_valid_error.
36804         (START): Take new argument EXACT and pass it to init_max_error.
36805         (acos_test): Update call to START.
36806         (acos_test_tonearest): Likewise.
36807         (acos_test_towardzero): Likewise.
36808         (acos_test_downward): Likewise.
36809         (acos_test_upward): Likewise.
36810         (acosh_test): Likewise.
36811         (asin_test): Likewise.
36812         (asin_test_tonearest): Likewise.
36813         (asin_test_towardzero): Likewise.
36814         (asin_test_downward): Likewise.
36815         (asin_test_upward): Likewise.
36816         (asinh_test): Likewise.
36817         (atan_test): Likewise.
36818         (atanh_test): Likewise.
36819         (atan2_test): Likewise.
36820         (cabs_test): Likewise.
36821         (cacos_test): Likewise.
36822         (cacosh_test): Likewise.
36823         (carg_test): Likewise.
36824         (casin_test): Likewise.
36825         (casinh_test): Likewise.
36826         (catan_test): Likewise.
36827         (catanh_test): Likewise.
36828         (cbrt_test): Likewise.
36829         (ccos_test): Likewise.
36830         (ccosh_test): Likewise.
36831         (ceil_test): Likewise.
36832         (cexp_test): Likewise.
36833         (cimag_test): Likewise.
36834         (clog_test): Likewise.
36835         (clog10_test): Likewise.
36836         (conj_test): Likewise.
36837         (copysign_test): Likewise.
36838         (cos_test): Likewise.
36839         (cos_test_tonearest): Likewise.
36840         (cos_test_towardzero): Likewise.
36841         (cos_test_downward): Likewise.
36842         (cos_test_upward): Likewise.
36843         (cosh_test): Likewise.
36844         (cosh_test_tonearest): Likewise.
36845         (cosh_test_towardzero): Likewise.
36846         (cosh_test_downward): Likewise.
36847         (cosh_test_upward): Likewise.
36848         (cpow_test): Likewise.
36849         (cproj_test): Likewise.
36850         (creal_test): Likewise.
36851         (csin_test): Likewise.
36852         (csinh_test): Likewise.
36853         (csqrt_test): Likewise.
36854         (ctan_test): Likewise.
36855         (ctan_test_tonearest): Likewise.
36856         (ctan_test_towardzero): Likewise.
36857         (ctan_test_downward): Likewise.
36858         (ctan_test_upward): Likewise.
36859         (ctanh_test): Likewise.
36860         (ctanh_test_tonearest): Likewise.
36861         (ctanh_test_towardzero): Likewise.
36862         (ctanh_test_downward): Likewise.
36863         (ctanh_test_upward): Likewise.
36864         (erf_test): Likewise.
36865         (erfc_test): Likewise.
36866         (exp_test): Likewise.
36867         (exp_test_tonearest): Likewise.
36868         (exp_test_towardzero): Likewise.
36869         (exp_test_downward): Likewise.
36870         (exp_test_upward): Likewise.
36871         (exp10_test): Likewise.
36872         (exp10_test_tonearest): Likewise.
36873         (exp10_test_towardzero): Likewise.
36874         (exp10_test_downward): Likewise.
36875         (exp10_test_upward): Likewise.
36876         (pow10_test): Likewise.
36877         (exp2_test): Likewise.
36878         (expm1_test): Likewise.
36879         (expm1_test_tonearest): Likewise.
36880         (expm1_test_towardzero): Likewise.
36881         (expm1_test_downward): Likewise.
36882         (expm1_test_upward): Likewise.
36883         (fabs_test): Likewise.
36884         (fdim_test): Likewise.
36885         (floor_test): Likewise.
36886         (fma_test): Likewise.
36887         (fma_test_towardzero): Likewise.
36888         (fma_test_downward): Likewise.
36889         (fma_test_upward): Likewise.
36890         (fmax_test): Likewise.
36891         (fmin_test): Likewise.
36892         (fmod_test): Likewise.
36893         (fpclassify_test): Likewise.
36894         (frexp_test): Likewise.
36895         (hypot_test): Likewise.
36896         (ilogb_test): Likewise.
36897         (isfinite_test): Likewise.
36898         (finite_test): Likewise.
36899         (isgreater_test): Likewise.
36900         (isgreaterequal_test): Likewise.
36901         (isinf_test): Likewise.
36902         (isless_test): Likewise.
36903         (islessequal_test): Likewise.
36904         (islessgreater_test): Likewise.
36905         (isnan_test): Likewise.
36906         (isnormal_test): Likewise.
36907         (issignaling_test): Likewise.
36908         (isunordered_test): Likewise.
36909         (j0_test): Likewise.
36910         (j1_test): Likewise.
36911         (jn_test): Likewise.
36912         (ldexp_test): Likewise.
36913         (lgamma_test): Likewise.
36914         (gamma_test): Likewise.
36915         (lrint_test): Likewise.
36916         (lrint_test_tonearest): Likewise.
36917         (lrint_test_towardzero): Likewise.
36918         (lrint_test_downward): Likewise.
36919         (lrint_test_upward): Likewise.
36920         (llrint_test): Likewise.
36921         (llrint_test_tonearest): Likewise.
36922         (llrint_test_towardzero): Likewise.
36923         (llrint_test_downward): Likewise.
36924         (llrint_test_upward): Likewise.
36925         (log_test): Likewise.
36926         (log10_test): Likewise.
36927         (log1p_test): Likewise.
36928         (log2_test): Likewise.
36929         (logb_test): Likewise.
36930         (logb_test_downward): Likewise.
36931         (lround_test): Likewise.
36932         (llround_test): Likewise.
36933         (modf_test): Likewise.
36934         (nearbyint_test): Likewise.
36935         (nextafter_test): Likewise.
36936         (nexttoward_test): Likewise.
36937         (pow_test): Likewise.
36938         (pow_test_tonearest): Likewise.
36939         (pow_test_towardzero): Likewise.
36940         (pow_test_downward): Likewise.
36941         (pow_test_upward): Likewise.
36942         (remainder_test): Likewise.
36943         (drem_test): Likewise.
36944         (remainder_test_tonearest): Likewise.
36945         (drem_test_tonearest): Likewise.
36946         (remainder_test_towardzero): Likewise.
36947         (drem_test_towardzero): Likewise.
36948         (remainder_test_downward): Likewise.
36949         (drem_test_downward): Likewise.
36950         (remainder_test_upward): Likewise.
36951         (drem_test_upward): Likewise.
36952         (remquo_test): Likewise.
36953         (rint_test): Likewise.
36954         (rint_test_tonearest): Likewise.
36955         (rint_test_towardzero): Likewise.
36956         (rint_test_downward): Likewise.
36957         (rint_test_upward): Likewise.
36958         (round_test): Likewise.
36959         (scalb_test): Likewise.
36960         (scalbn_test): Likewise.
36961         (scalbln_test): Likewise.
36962         (signbit_test): Likewise.
36963         (sin_test): Likewise.
36964         (sin_test_tonearest): Likewise.
36965         (sin_test_towardzero): Likewise.
36966         (sin_test_downward): Likewise.
36967         (sin_test_upward): Likewise.
36968         (sincos_test): Likewise.
36969         (sinh_test): Likewise.
36970         (sinh_test_tonearest): Likewise.
36971         (sinh_test_towardzero): Likewise.
36972         (sinh_test_downward): Likewise.
36973         (sinh_test_upward): Likewise.
36974         (sqrt_test): Likewise.
36975         (sqrt_test_tonearest): Likewise.
36976         (sqrt_test_towardzero): Likewise.
36977         (sqrt_test_downward): Likewise.
36978         (sqrt_test_upward): Likewise.
36979         (tan_test): Likewise.
36980         (tan_test_tonearest): Likewise.
36981         (tan_test_towardzero): Likewise.
36982         (tan_test_downward): Likewise.
36983         (tan_test_upward): Likewise.
36984         (tanh_test): Likewise.
36985         (tgamma_test): Likewise.
36986         (trunc_test): Likewise.
36987         (y0_test): Likewise.
36988         (y1_test): Likewise.
36989         (yn_test): Likewise.
36990         (significand_test): Likewise.
36992         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36993         individual tests in comment.
36994         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36995         (prev_max_error): New variable.
36996         (prev_real_max_error): Likewise.
36997         (prev_imag_max_error): Likewise.
36998         (compare_ulp_data): Don't refer to test names in comment.
36999         (find_test_ulps): Remove function.
37000         (find_function_ulps): Likewise.
37001         (find_complex_function_ulps): Likewise.
37002         (init_max_error): Take function name as argument.  Look up ulps
37003         for that function.
37004         (print_ulps): Remove function.
37005         (print_max_error): Use prev_max_error instead of calling
37006         find_function_ulps.
37007         (print_complex_max_error): Use prev_real_max_error and
37008         prev_imag_max_error instead of calling find_complex_function_ulps.
37009         (check_float_internal): Take max_ulp parameter instead of calling
37010         find_test_ulps.  Don't call print_ulps.
37011         (check_float): Update call to check_float_internal.
37012         (check_complex): Update calls to check_float_internal.
37013         (START): Pass argument to init_max_error.
37014         * math/gen-libm-test.pl (%results): Don't include "kind"
37015         information.
37016         (parse_ulps): Don't handle ulps of individual tests.
37017         (print_ulps_file): Likewise.
37018         (output_ulps): Likewise.
37019         * math/README.libm-test: Update.
37020         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37021         individual tests.
37022         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37023         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37024         * sysdeps/arm/libm-test-ulps: Likewise.
37025         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37026         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37027         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37028         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37029         * sysdeps/microblaze/libm-test-ulps: Likewise.
37030         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37031         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37033         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37034         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37035         * sysdeps/sh/libm-test-ulps: Likewise.
37036         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37037         * sysdeps/tile/libm-test-ulps: Likewise.
37038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37040 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37042         * math/libm-test.inc (print_complex_max_error): Check separately
37043         whether real and imaginary errors are within allowed range and
37044         pass 0 to print_complex_function_ulps instead of value within
37045         allowed range.
37047 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37049         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37050         formatting.
37051         (get_handles_fopen): Likewise.
37052         (do_write_test): Likewise.
37054         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37056         * libio/fileops.c (do_ftell): Use cached offset when
37057         available.
37058         * libio/iofwide.c (do_ftell_wide): Likewise.
37059         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37060         _IO_file_attach.
37061         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37063         [BZ #16532]
37064         * libio/libioP.h (get_file_offset): New function.
37065         * libio/fileops.c (get_file_offset): Likewise.
37066         (do_ftell): Likewise.
37067         (_IO_new_file_seekoff): Split out ftell logic.
37068         * libio/wfileops.c (do_ftell_wide): Likewise.
37069         (_IO_wfile_seekoff): Split out ftell logic.
37070         * libio/tst-ftell-active-handler.c: New test case.
37071         * libio/Makefile (tests): Add it.
37073 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37075         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37076         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37078 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37080         [BZ #16639]
37081         * nscd/connections.c (nscd_init): Call do_exit.
37082         (start_threads): Call do_exit and notify_parent.
37083         (begin_drop_privileges): Call do_exit.
37084         (finish_drop_privileges): Likewise.
37085         * nscd/selinux.c (preserve_capabilities): Likewise.
37086         (install_real_capabilities): Likewise.
37087         (nscd_selinux_enabled): Likewise.
37088         (avc_create_thread): Likewise.
37089         (avc_alloc_lock): Likewise.
37090         (nscd_avc_init): Likewise.
37091         * nscd/nscd.c (parent_fd): New static variable.
37092         (main): Create a pipe between parent and child processes.
37093         Skip closing parent_fd.
37094         (monitor_child): New function.
37095         (do_exit): Likewise.
37096         (notify_parent): Likewise.
37097         * nscd/nscd.h (notify_parent): Likewise.
37098         (do_exit): Likewise.
37100 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37102         * malloc/malloc.c (__libc_calloc): Revert last change.
37104 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37108 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37110         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37112         implementation.
37113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37114         (__libc_ifunc_impl_list): Likewise.
37115         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37116         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37117         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37118         * string/strrchr.c: Define STRRCHR.
37120 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37122         * benchtest/bench-strtok.c (simple_strtok): Delete.
37123         (strtok_string): Use as benchmark.
37124         * string/strtok (STRTOK): New macro.
37126 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37128         * manual/threads.texi: Add header and standard comments to all
37129         functions.
37131         * elf/dl-lookup.c (check_match): New function.
37132         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37133         (do_lookup_x): Remove nested function check_match. Use non-nested
37134         function check_match.
37136 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37138         * csu/Makefile (generated, before-compile): Use += rather than =.
37139         * catgets/Makefile (generated, generated-dirs): Likewise.
37140         * debug/Makefile (generated): Likewise.
37141         * dlfcn/Makefile (generated): Likewise.
37142         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37143         * iconvdata/Makefile (before-compile, generated): Likewise.
37144         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37145         * libio/Makefile (generated): Likewise.
37146         * malloc/Makefile (generated): Likewise.
37147         * manual/Makefile (generated, generated-dirs): Likewise.
37148         * misc/Makefile (generated): Likewise.
37149         * posix/Makefile (generated): Likewise.
37150         * resolv/Makefile (generated): Likewise.
37151         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37152         * timezone/Makefile (generated, generated-dirs): Likewise.
37154         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37156 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37159         power8 implementation.
37160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37161         file: POWER8 llround ifunc implementation.
37162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37163         (__lllround): Add POWER8 implementation.
37164         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37165         POWER8 llround implementation.
37167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37168         power8 implementation.
37169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37170         file: POWER8 llrint ifunc implementation.
37171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37172         Add POWER8 implementation.
37173         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37174         POWER8 llrint implementation.
37176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37177         power8 implementation.
37178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37179         file: POWER8 finite ifunc implementation.
37180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37181         Add POWER8 implementation.
37182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37183         Likewise.
37184         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37185         POWER8 finite implementation.
37186         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37189         power8 implementation.
37190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37191         file: POWER8 isinf ifunc implementation.
37192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37193         POWER8 implementation.
37194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37195         Likewise.
37196         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37197         isinf implementation.
37198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37200         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37201         (INIT_ARCH): Add hwcap2 initialization.
37202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37203         power8 implementation.
37204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37205         file: POWER8 isnan ifunc implementation.
37206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37207         POWER8 implementation.
37208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37209         Likewise.
37210         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37211         isnan implementation.
37212         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37214 2014-02-27  Joey Ye  <joey.ye@arm.com>
37216         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37217         (_FP_NANFRAC_Q): Set to zero.
37219 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37221         [BZ #16623]
37222         * math/auto-libm-test-in: New test inputs.
37223         * math/auto-libm-test-out: Regenerate.
37224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37225         and DA.
37226         (__cos): Likewise.
37227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37229 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37231         * scripts/evaluate-test.sh: Take new argument indicating whether
37232         failure is expected.
37233         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37234         indicating whether failure is expected.
37235         * conform/Makefile (test-xfail-run-conformtest): New variable.
37236         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37237         level.
37238         * posix/Makefile (test-xfail-annexc): New variable.
37239         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37241 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37243         * argp/Makefile: Include Makeconfig immediately after defining
37244         subdir.
37245         * assert/Makefile: Likewise.
37246         * benchtests/Makefile: Likewise.
37247         * catgets/Makefile: Likewise.
37248         * conform/Makefile: Likewise.
37249         * crypt/Makefile: Likewise.
37250         * csu/Makefile: Likewise.
37251         (all): Remove target.
37252         * ctype/Makefile: Include Makeconfig immediately after defining
37253         subdir.
37254         * debug/Makefile: Likewise.
37255         * dirent/Makefile: Likewise.
37256         * dlfcn/Makefile: Likewise.
37257         * gmon/Makefile: Likewise.
37258         * gnulib/Makefile: Likewise.
37259         * grp/Makefile: Likewise.
37260         * gshadow/Makefile: Likewise.
37261         * hesiod/Makefile: Likewise.
37262         * hurd/Makefile: Likewise.
37263         (all): Remove target.
37264         * iconvdata/Makefile: Include Makeconfig immediately after
37265         defining subdir.
37266         * inet/Makefile: Likewise.
37267         * intl/Makefile: Likewise.
37268         * io/Makefile: Likewise.
37269         * libio/Makefile: Likewise.
37270         (all): Remove target.
37271         * locale/Makefile: Include Makeconfig immediately after defining
37272         subdir.
37273         * login/Makefile: Likewise.
37274         * mach/Makefile: Likewise.
37275         (all): Remove target.
37276         * malloc/Makefile: Include Makeconfig immediately after defining
37277         subdir.
37278         (all): Remove target.
37279         * manual/Makefile: Include Makeconfig immediately after defining
37280         subdir.
37281         * math/Makefile: Likewise.
37282         * misc/Makefile: Likewise.
37283         * nis/Makefile: Likewise.
37284         * nss/Makefile: Likewise.
37285         * po/Makefile: Likewise.
37286         (all): Remove target.
37287         * posix/Makefile: Include Makeconfig immediately after defining
37288         subdir.
37289         * pwd/Makefile: Likewise.
37290         * resolv/Makefile: Likewise.
37291         * resource/Makefile: Likewise.
37292         * rt/Makefile: Likewise.
37293         * setjmp/Makefile: Likewise.
37294         * shadow/Makefile: Likewise.
37295         * signal/Makefile: Likewise.
37296         * socket/Makefile: Likewise.
37297         * soft-fp/Makefile: Likewise.
37298         * stdio-common/Makefile: Likewise.
37299         * stdlib/Makefile: Likewise.
37300         * streams/Makefile: Likewise.
37301         * string/Makefile: Likewise.
37302         * sunrpc/Makefile: Likewise.
37303         (all): Remove target.
37304         * sysvipc/Makefile: Include Makeconfig immediately after defining
37305         subdir.
37306         * termios/Makefile: Likewise.
37307         * time/Makefile: Likewise.
37308         * timezone/Makefile: Likewise.
37309         (all): Remove target.
37310         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37311         subdir.
37312         * wctype/Makefile: Likewise.
37314 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37316         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37317         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37318         (libc_feholdexcept_setround_mips): Ditto.
37319         (libc_feholdsetround): New.
37320         (libc_feholdsetroundf): New.
37321         (libc_feholdsetroundl): New.
37322         (libc_feupdateenv_test_mips): New.
37323         (libc_feupdateenv_test): New.
37324         (libc_feupdateenv_testf): New.
37325         (libc_feupdateenv_testl): New.
37326         (libc_feresetround): New.
37327         (libc_feresetroundf): New.
37328         (libc_feresetroundl): New.
37329         (libc_fetestexcept_mips): New.
37330         (libc_fetestexcept): New.
37331         (libc_fetestexceptf): New.
37332         (libc_fetestexceptl): New.
37333         (HAVE_RM_CTX): New.
37334         (libc_feholdexcept_setround_mips_ctx): New.
37335         (libc_feholdexcept_setround_ctx): New.
37336         (libc_feholdexcept_setroundf_ctx): New.
37337         (libc_feholdexcept_setroundl_ctx): New.
37338         (libc_fesetenv_mips_ctx): New.
37339         (libc_fesetenv_ctx): New.
37340         (libc_fesetenv_ctxf): New.
37341         (libc_fesetenv_ctxl): New.
37342         (libc_feupdateenv_mips_ctx): New.
37343         (libc_feupdateenv_ctx): New.
37344         (libc_feupdateenvf_ctx): New.
37345         (libc_feupdateenvl_ctx): New.
37346         (libc_feholdsetround_mips_ctx): New.
37347         (libc_feholdsetround_ctx): New.
37348         (libc_feholdsetroundf_ctx): New.
37349         (libc_feholdsetroundl_ctx): New.
37350         (libc_feresetround_mips_ctx): New.
37351         (libc_feresetround_ctx): New.
37352         (libc_feresetroundf_ctx): New.
37353         (libc_feresetroundl_ctx): New.
37355 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37357         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37359         * manual/ipc.texi: New file.
37360         * manual/Makefile (chapters): Add ipc.
37361         * manual/job.texi: Add "Inter-Process Communication" to next.
37362         * manual/process.texi: Add "Inter-Process Communication" to prev.
37364 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37368 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37370         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37372         * manual/arith.texi: Fix spaces after sentences.
37373         * manual/charset.texi: Likewise.
37374         * manual/errno.texi: Likewise.
37375         * manual/install.texi: Likewise.
37376         * manual/llio.texi: Likewise.
37377         * manual/locale.texi: Likewise.
37378         * manual/maint.texi: Likewise.
37379         * manual/math.texi: Likewise.
37380         * manual/memory.texi: Likewise.
37381         * manual/message.texi: Likewise.
37382         * manual/probes.texi: Likewise.
37383         * manual/resource.texi: Likewise.
37384         * manual/signal.texi: Likewise.
37385         * manual/socket.texi: Likewise.
37386         * manual/stdio.texi: Likewise.
37387         * manual/string.texi: Likewise.
37388         * manual/time.texi: Likewise.
37389         * manual/users.texi: Likewise.
37391 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37393         [BZ #16632]
37394         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37395         _DEFAULT_SOURCE is defined.
37397 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37398             Carlos O'Donell  <carlos@redhat.com>
37400         [BZ #16613]
37401         * elf/dl-tls.c (_dl_count_modids): New function.
37402         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37403         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37404         audit library and increment generation counter.
37405         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37406         * elf/tst-audit9.c: New file.
37407         * elf/tst-auditmod9a.c: New file.
37408         * elf/tst-auditmod9b.c: New file.
37409         * elf/Makefile: Add rules to build and run tst-audit9.
37411 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37413         [BZ #15347]
37414         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37416 2014-02-25  Will Newton  <will.newton@linaro.org>
37418         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37419         (__longjmp): Restore sp and lr before restoring callee
37420         saved registers.  Add longjmp and longjmp_target
37421         SystemTap probe point.
37422         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37423         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37424         Define to zero to match jmpbuf layout.
37425         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37426         (__sigsetjmp): Save sp and lr before saving callee
37427         saved registers.  Add setjmp SystemTap probe point.
37429 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37431         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37433 2014-02-24  Andreas Schwab  <schwab@suse.de>
37435         [BZ #15804]
37436         * elf/pldd.c (wait_for_ptrace_stop): New function.
37437         (main): Call it after attaching.
37439 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37441         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37442         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37443         Versions files is now verboten.
37444         * hurd/Versions (libc: GLIBC_2.0):
37445         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37446         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37447         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37448         * mach/Versions: Likewise.
37450         * csu/Versions: Remove unused %include.
37451         * resolv/Versions: Likewise.
37453 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37455         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37456         ($(objpfx)check-local-headers.out): Likewise.
37457         ($(objpfx)begin-end-check.out): Likewise.
37458         * Makerules (check-abi-%.out): Likewise.
37459         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37460         ($(objpfx)test2.cat): Likewise.
37461         ($(objpfx)de/libc.cat): Likewise.
37462         ($(objpfx)test-gencat.out): Likewise.
37463         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37464         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37465         ($(objpfx)noload-mem): Likewise.
37466         ($(objpfx)tst-pathopt.out): Likewise.
37467         ($(objpfx)tst-rtld-load-self.out): Likewise.
37468         ($(objpfx)tst-array1-cmp.out): Likewise.
37469         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37470         ($(objpfx)tst-array2-cmp.out): Likewise.
37471         ($(objpfx)tst-array3-cmp.out): Likewise.
37472         ($(objpfx)tst-array4-cmp.out): Likewise.
37473         ($(objpfx)tst-array5-cmp.out): Likewise.
37474         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37475         ($(objpfx)check-textrel.out): Likewise.
37476         ($(objpfx)check-execstack.out): Likewise.
37477         ($(objpfx)check-localplt.out): Likewise.
37478         ($(objpfx)order2-cmp.out): Likewise.
37479         ($(objpfx)tst-leaks1-mem): Likewise.
37480         ($(objpfx)tst-leaks1-static-mem): Likewise.
37481         ($(objpfx)tst-initorder-cmp.out): Likewise.
37482         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37483         ($(objpfx)tst-unused-dep.out): Likewise.
37484         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37485         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37486         * iconv/Makefile (test-iconvconfig): Likewise.
37487         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37488         ($(objpfx)iconv-test.out): Likewise.
37489         ($(objpfx)tst-tables.out): Likewise.
37490         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37491         ($(objpfx)tst-gettext.out): Likewise.
37492         ($(objpfx)tst-translit.out): Likewise.
37493         ($(objpfx)tst-gettext2.out): Likewise.
37494         ($(objpfx)tst-gettext4.out): Likewise.
37495         ($(objpfx)tst-gettext6.out): Likewise.
37496         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37497         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37498         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37499         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37500         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37501         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37502         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37503         ($(objpfx)wordexp-tst.out): Likewise.
37504         ($(objpfx)annexc.out): Likewise.
37505         ($(objpfx)tst-fnmatch-mem): Likewise.
37506         ($(objpfx)bug-regex2-mem): Likewise.
37507         ($(objpfx)bug-regex14-mem): Likewise.
37508         ($(objpfx)bug-regex21-mem): Likewise.
37509         ($(objpfx)bug-regex31-mem): Likewise.
37510         ($(objpfx)tst-vfork3-mem): Likewise.
37511         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37512         ($(objpfx)tst-pcre-mem): Likewise.
37513         ($(objpfx)tst-boost-mem): Likewise.
37514         ($(objpfx)tst-getconf.out): Likewise.
37515         ($(objpfx)bug-ga2-mem): Likewise.
37516         ($(objpfx)bug-glob2-mem): Likewise.
37517         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37518         ($(objpfx)mtrace-tst-leaks2): Likewise.
37519         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37520         ($(objpfx)tst-printf.out): Likewise.
37521         ($(objpfx)tst-setvbuf1.out): Likewise.
37522         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37523         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37524         ($(objpfx)tst-fmtmsg.out): Likewise.
37525         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37526         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37528         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37529         * bits/sigaction.h [__USE_MISC]: Likewise.
37530         * bits/waitstatus.h: Update #endif comments.
37531         * ctype/ctype.h: Likewise.
37532         * dirent/dirent.h: Likewise.
37533         [__USE_MISC]: Remove redundant conditionals.
37534         * grp/grp.h: Update #endif comments.
37535         [__USE_GNU]: Remove redundant conditionals.
37536         [__USE_MISC]: Likewise.
37537         * inet/netinet/in.h [__USE_GNU]: Likewise.
37538         * io/sys/stat.h [__USE_MISC]: Likewise.
37539         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37540         * libio/bits/stdio.h: Update #endif comments.
37541         [__USE_MISC]: Remove redundant conditionals.
37542         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37543         * libio/stdio.h: Update #endif comments.
37544         [__USE_MISC]: Remove redundant conditionals.
37545         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37546         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37547         * math/math.h: Update #else and #endif comments.
37548         [__USE_MISC]: Remove redundant conditionals.
37549         * misc/sys/uio.h: Update #endif comments.
37550         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37551         * posix/glob.h [__USE_MISC]: Likewise.
37552         * posix/sys/types.h: Update #endif comments.
37553         [__USE_MISC]: Remove redundant conditionals.
37554         * posix/sys/wait.h: Update #endif comments.
37555         [__USE_MISC]: Remove redundant conditionals.
37556         * posix/unistd.h: Update #endif comments.
37557         [__USE_MISC]: Remove redundant conditionals.
37558         * pwd/pwd.h [__USE_GNU]: Likewise.
37559         [__USE_MISC]: Likewise.
37560         * resolv/netdb.h [__USE_GNU]: Likewise.
37561         * signal/signal.h: Update #endif comments.
37562         [__USE_MISC]: Remove redundant conditionals.
37563         * stdlib/stdlib.h: Update #else and #endif comments.
37564         [__USE_MISC]: Remove redundant conditionals.
37565         [__USE_GNU]: Likewise.
37566         * string/bits/string2.h [__USE_MISC]: Likewise.
37567         * string/string.h: Update #endif comments.
37568         [__USE_MISC]: Remove redundant conditionals.
37569         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37570         Likewise.
37571         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37572         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37573         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37574         Likewise.
37575         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37576         Likewise.
37577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37578         comments.
37579         [__USE_MISC]: Remove redundant conditionals.
37580         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37581         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37582         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37583         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37584         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37585         Likewise.
37586         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37587         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37588         Likewise.
37589         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37590         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37591         Likewise.
37592         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37593         Likewise.
37594         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37595         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37596         Likewise.
37597         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37598         Likewise.
37599         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37600         * sysdeps/x86/bits/string.h: Update #endif comments.
37601         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37602         conditionals.
37603         * time/sys/time.h: Update #endif comments.
37604         * time/time.h: Likewise.
37605         [__USE_MISC]: Remove redundant conditionals.
37607 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37609         [BZ #16600]
37610         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37612 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37614         * Versions.def (librt): Add GLIBC_2.17.
37616 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37618         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37619         synonym for _SYS_AUXV_H to allow direct inclusion.
37620         * sysdeps/sparc/bits/hwcap.h: Likewise.
37621         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37622         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37623         * sysdeps/sparc/sysdep.h: Likewise.
37625 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37627         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37629 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37631         * benchtests/bench-strrchr.c: Print length instead of position.
37633 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37635         [BZ #16611]
37636         * sysdeps/unix/sysv/linux/kernel-features.h
37637         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37638         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37639         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37640         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37641         Likewise.
37642         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37643         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37644         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37645         (__ASSUME_SENDMMSG): Define instead of using previous
37646         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37647         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37648         (__ASSUME_SENDMMSG_SYSCALL): Define.
37649         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37650         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37651         Likewise.
37652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37653         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37654         Likewise.
37655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37656         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37657         Likewise.
37658         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37659         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37660         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37661         [__ASSUME_SENDMMSG]: Change conditionals to
37662         [__ASSUME_SENDMMSG_SOCKETCALL].
37663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37664         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37665         Define.
37666         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37667         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37668         Likewise.
37669         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37670         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37671         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37672         [!__ASSUME_SENDMMSG]: Change conditional to
37673         [!__ASSUME_SENDMMSG_SOCKETCALL].
37674         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37675         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37676         Define.
37678         [BZ #16610]
37679         * sysdeps/unix/sysv/linux/kernel-features.h
37680         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37681         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37682         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37683         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37684         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37685         [__i386__ || __sparc__]
37686         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37687         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37688         (__ASSUME_RECVMMSG): Define instead of using previous
37689         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37690         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37691         (__ASSUME_RECVMMSG_SYSCALL): Define.
37692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37694         Likewise.
37695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37697         Likewise.
37698         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37700         Likewise.
37701         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37702         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37703         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37704         [__ASSUME_RECVMMSG]: Change condition to
37705         [__ASSUME_RECVMMSG_SOCKETCALL].
37706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37707         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37708         Define.
37709         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37712         Likewise.
37713         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37714         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37715         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37716         [!__ASSUME_RECVMMSG]: Change condition to
37717         [!__ASSUME_RECVMMSG_SOCKETCALL].
37718         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37719         (__ASSUME_RECVMMSG_SYSCALL): Define.
37721         [BZ #16609]
37722         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37723         __powerpc__ || __s390__ || __sh__ || __sparc__]
37724         (__ASSUME_SOCKETCALL): Define.
37725         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37726         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37727         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37728         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37729         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37730         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37731         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37732         (__ASSUME_ACCEPT4): Define instead of using previous
37733         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37734         __powerpc__ || __sparc__ || __s390__)] condition.
37735         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37736         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37737         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37738         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37739         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37740         [!__ASSUME_ACCEPT4]: Change condition to
37741         [!__ASSUME_ACCEPT4_SOCKETCALL].
37742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37743         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37744         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37745         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37746         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37747         __ASSUME_ACCEPT4_SYSCALL.
37748         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37749         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37751         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37752         __ASSUME_ACCEPT4_SYSCALL.
37753         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37754         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37755         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37756         [__ASSUME_ACCEPT4]: Change condition to
37757         [__ASSUME_ACCEPT4_SOCKETCALL].
37758         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37759         (__ASSUME_SOCKETCALL): Define.
37760         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37762         (__ASSUME_SOCKETCALL): Define.
37763         (__ASSUME_ACCEPT4): Remove.
37764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37765         Define.
37766         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37767         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37768         Likewise.
37769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37770         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37772         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37773         macro.
37774         (HWCAP_ARM_LPAE): Likewise.
37775         (HWCAP_ARM_EVTSTRM): Likewise.
37776         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37777         Add vpfd32, lpae and evtstrm.
37778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37779         Increase to 22.
37781 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37783         * math/auto-libm-test-in: Add tests of clog10.
37784         * math/auto-libm-test-out: Regenerated.
37785         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37789 2014-02-18  Andreas Schwab  <schwab@suse.de>
37791         [BZ #16574]
37792         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37793         Store non-zero if the second buffer was newly allocated.
37794         (send_dg): Likewise.
37795         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37796         to send_vc and send_dg.
37797         (res_nsend): Pass NULL for ansp2_malloced.
37798         * resolv/res_query.c (__libc_res_nquery): Add parameter
37799         answerp2_malloced and pass it down to __libc_res_nsend.
37800         (res_nquery): Pass additional NULL to __libc_res_nquery.
37801         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37802         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37803         second answer buffer if answerp2_malloced was set.
37804         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37805         (__libc_res_nquerydomain): Add parameter
37806         answerp2_malloced and pass it down to __libc_res_nquery.
37807         (res_nquerydomain): Pass additional NULL to
37808         __libc_res_nquerydomain.
37809         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37810         additional NULL to __libc_res_nsend and __libc_res_nquery.
37811         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37812         additional NULL to __libc_res_nsearch.
37813         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37814         parameter of __libc_res_nsearch to check for separately allocated
37815         second buffer.
37816         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37817         __libc_res_nquery.
37818         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37819         additional NULL to __libc_res_nquery.
37820         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37821         __libc_res_nsearch.
37822         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37823         * include/resolv.h: Update prototypes of __libc_res_nquery,
37824         __libc_res_nsearch, __libc_res_nsend.
37826 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37828         * math/auto-libm-test-in: Add tests of fma.
37829         * math/auto-libm-test-out: Regenerated.
37830         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37831         (fma_towardzero_test_data): Likewise.
37832         (fma_downward_test_data): Likewise.
37833         (fma_upward_test_data): Likewise.
37834         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37835         mpc_mode.
37836         (rounding_modes): Add values for new field.
37837         (func_calc_method): Add value mpfr_fff_f.
37838         (func_calc_desc): Add mpfr_fff_f union field.
37839         (test_function): Add field exact_args.
37840         (FUNC): Add macro argument EXACT_ARGS.
37841         (FUNC_mpfr_f_f): Update call to FUNC.
37842         (FUNC_mpfr_f_f): Likewise.
37843         (FUNC_mpfr_ff_f): Likewise.
37844         (FUNC_mpfr_if_f): Likewise.
37845         (FUNC_mpc_c_f): Likewise.
37846         (FUNC_mpc_c_c): Likewise.
37847         (test_functions): Add fma.  Update calls to FUNC.
37848         (handle_input_arg): Add argument exact_args.
37849         (add_test): Update call to handle_input_arg.
37850         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37851         (output_for_one_input_case): Update call to calc_generic_results.
37852         Recalculate exact zero results in each rounding mode.
37854         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37855         non-negative before setting low bit.
37856         * math/auto-libm-test-in: Mark one asin test possibly having
37857         spurious underflow.
37858         * math/auto-libm-test-out: Regenerated.
37859         * sysdeps/i386/fpu/libm-test-ulps: Update.
37860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37862 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37864         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37865         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37866         ports/sysdeps/unix/sysv/linux/microblaze.
37867         * README: Add missing listing for microblaze*-*-linux-gnu.
37869 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37872         duplicate code
37874 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37876         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37877         * sysdeps/unix/sysv/linux/ia64: Move directory from
37878         ports/sysdeps/unix/sysv/linux/ia64.
37879         * README: Update listing for ia64-*-linux-gnu.
37881 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37882             Joseph Myers  <joseph@codesourcery.com>
37884         * Makeconfig (test-name): New variable.
37885         (evaluate-test): Likewise.
37886         * Makerules (do-test-clean): Remove .test-result files.
37887         (common-mostlyclean): Likewise.
37888         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37889         * scripts/evaluate-test.sh: New file.
37891 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37893         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37894         separate $(objpfx)tst-fopenloc-cmp.out and
37895         $(objpfx)tst-fopenloc-mem.out targets.
37896         (tests): Update dependencies.
37897         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37898         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37899         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37900         (tst-rxspencer-no-utf8-ARGS): New variable.
37901         (tst-rxspencer-no-utf8-ENV): Likewise.
37902         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37903         instead of $(objpfx)tst-rxspencer-mem.
37904         ($(objpfx)tst-rxspencer-mem): Change target to
37905         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37906         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37907         * posix/tst-rxspencer-no-utf8.c: New file.
37909         * elf/Makefile ($(objpfx)order.out): Remove rule.
37910         [$(run-built-tests) = yes] (tests): Depend on
37911         $(objpfx)order-cmp.out.
37912         ($(objpfx)order-cmp.out): New rule.
37913         [$(run-built-tests) = yes] (tests): Depend on
37914         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37915         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37916         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37917         $(objpfx)tst-array5-static-cmp.out.
37918         ($(objpfx)tst-array1.out): Remove rule.
37919         ($(objpfx)tst-array1-cmp.out): New rule.
37920         ($(objpfx)tst-array1-static.out): Remove rule.
37921         ($(objpfx)tst-array1-static-cmp.out): New rule.
37922         ($(objpfx)tst-array2.out): Remove rule.
37923         ($(objpfx)tst-array2-cmp.out): New rule.
37924         ($(objpfx)tst-array3.out): Remove rule.
37925         ($(objpfx)tst-array3-cmp.out): New rule.
37926         ($(objpfx)tst-array4.out): Remove rule.
37927         ($(objpfx)tst-array4-cmp.out): New rule.
37928         ($(objpfx)tst-array5.out): Remove rule.
37929         ($(objpfx)tst-array5-cmp.out): New rule.
37930         ($(objpfx)tst-array5-static.out): Remove rule.
37931         ($(objpfx)tst-array5-static-cmp.out): New rule.
37932         [$(run-built-tests) = yes] (tests): Depend on
37933         $(objpfx)order2-cmp.out.
37934         ($(objpfx)order2.out): Remove rule.
37935         ($(objpfx)order2-cmp.out): New rule.
37936         ($(objpfx)tst-initorder.out): Remove rule.
37937         [$(run-built-tests) = yes] (tests): Depend on
37938         $(objpfx)tst-initorder-cmp.out.
37939         ($(objpfx)tst-initorder-cmp.out): New rule.
37940         ($(objpfx)tst-initorder2.out): Remove rule.
37941         [$(run-built-tests) = yes] (tests): Depend on
37942         $(objpfx)tst-initorder2-cmp.out.
37943         ($(objpfx)tst-initorder2-cmp.out): New rule.
37944         [$(run-built-tests) = yes] (tests): Depend on
37945         $(objpfx)tst-unused-dep-cmp.out.
37946         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37947         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37948         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37949         on $(objpfx)tst-setvbuf1-cmp.out.
37950         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37951         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37952         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37953         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37954         ($(objpfx)tst-svc.out): Remove rule.
37955         ($(objpfx)tst-svc-cmp.out): New rule.
37957 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37959         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37960         * ctype/ctype.h [__USE_MISC]: Likewise.
37961         * dirent/dirent.h [__USE_MISC]: Likewise.
37962         * grp/grp.h [__USE_MISC]: Likewise.
37963         * io/fcntl.h [__USE_MISC]: Likewise.
37964         * io/sys/stat.h [__USE_MISC]: Likewise.
37965         * libio/stdio.h [__USE_MISC]: Likewise.
37966         * posix/unistd.h [__USE_MISC]: Likewise.
37967         * pwd/pwd.h [__USE_MISC]: Likewise.
37968         * stdlib.h [__USE_MISC]: Likewise.
37969         * string/bits/string2.h [__USE_MISC]: Likewise.
37970         * string/string.h [__USE_MISC]: Likewise.
37971         * time/time.h [__USE_MISC]: Likewise.
37973 2014-02-13  Andreas Schwab  <schwab@suse.de>
37975         [BZ #16574]
37976         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37977         second answer buffer if it was separately allocated.
37979 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37981         * sysdeps/mips/math-tests.h: Include <features.h>.
37982         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37983         (ROUNDING_TESTS_long_double): Do not define.
37984         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37985         (EXCEPTION_TESTS_long_double): Likewise.
37986         * sysdeps/mips/mips64/libm-test-ulps: Update.
37988         * include/features.h (__USE_BSD): Remove macro definitions.
37989         (__USE_SVID): Likewise.
37990         (_BSD_SOURCE): Likewise.
37991         (_SVID_SOURCE): Likewise.
37992         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37993         from definition of _DEFAULT_SOURCE.
37994         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37995         [_DEFAULT_SOURCE].
37996         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37997         * bits/mman.h [__USE_BSD]: Likewise.
37998         * bits/termios.h [__USE_BSD]: Likewise.
37999         * bits/waitstatus.h [__USE_BSD]: Likewise.
38000         * ctype/ctype.h [__USE_SVID]: Likewise.
38001         * dirent/dirent.h [__USE_BSD]: Likewise.
38002         * grp/grp.h [__USE_SVID]: Likewise.
38003         [__USE_BSD]: Likewise.
38004         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38005         * io/fcntl.h [__USE_BSD]: Likewise.
38006         * io/ftw.h [__USE_BSD]: Likewise.
38007         * io/sys/stat.h [__USE_BSD]: Likewise.
38008         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38009         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38010         * libio/stdio.h [__USE_SVID]: Likewise.
38011         [__USE_BSD]: Likewise.
38012         * math/math.h [__USE_SVID]: Likewise.
38013         [__USE_BSD]: Likewise.
38014         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38015         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38016         * misc/search.h [__USE_SVID]: Likewise.
38017         * misc/sys/mman.h [__USE_BSD]: Likewise.
38018         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38019         * misc/sys/uio.h [__USE_BSD]: Likewise.
38020         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38021         * posix/glob.h [__USE_BSD]: Likewise.
38022         * posix/regex.h [__USE_BSD]: Likewise.
38023         * posix/sys/types.h [__USE_BSD]: Likewise.
38024         [__USE_SVID]: Likewise.
38025         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38026         * posix/sys/wait.h [__USE_BSD]: Likewise.
38027         [__USE_SVID]: Likewise.
38028         * posix/unistd.h [__USE_BSD]: Likewise.
38029         [__USE_SVID]: Likewise.
38030         * pwd/pwd.h [__USE_SVID]: Likewise.
38031         * resolv/netdb.h [__USE_BSD]: Likewise.
38032         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38033         * signal/signal.h [__USE_BSD]: Likewise.
38034         [__USE_SVID]: Likewise.
38035         * socket/sys/socket.h [__USE_BSD]: Likewise.
38036         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38037         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38038         [__USE_SVID]: Likewise.
38039         * string/bits/string2.h [__USE_BSD]: Likewise.
38040         [__USE_SVID]: Likewise.
38041         * string/bits/string3.h [__USE_BSD]: Likewise.
38042         * string/endian.h [__USE_BSD]: Likewise.
38043         * string/string.h [__USE_SVID]: Likewise.
38044         [__USE_BSD]: Likewise.
38045         * string/strings.h [__USE_BSD]: Likewise.
38046         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38047         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38048         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38049         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38050         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38051         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38052         Likewise.
38053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38054         Likewise.
38055         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38056         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38057         Likewise.
38058         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38059         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38060         Likewise.
38061         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38062         Likewise.
38063         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38064         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38065         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38066         Likewise.
38067         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38068         Likewise.
38069         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38070         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38071         * termios/termios.h [__USE_BSD]: Likewise.
38072         * time/sys/time.h [__USE_BSD]: Likewise.
38073         * time/time.h [__USE_BSD]: Likewise.
38074         [__USE_SVID]: Likewise.
38076         * Makefile (subdir_targets): Remove subdir_lint.out.
38078         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38079         (do-tst-printf): Likewise.
38080         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38081         $(objpfx)tst-printf.out.
38083         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38085         * Makerules (check-abi-%): Change target to
38086         $(objpfx)check-abi-%.out.
38087         (check-abi target): Update dependencies.
38088         (check-abi-pattern variable): Redirect output of diff to $@.
38089         (check-abi variable): Likewise.
38090         * elf/Makefile (check-abi): Update dependencies.
38092         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38093         unused.
38094         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38095         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38096         subnormal range.
38097         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38098         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38099         value has largest subnormal exponent.
38100         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38101         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38102         * sysdeps/aarch64/soft-fp/sfp-machine.h
38103         (_FP_TININESS_AFTER_ROUNDING): New macro.
38104         * sysdeps/alpha/soft-fp/sfp-machine.h
38105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38106         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38107         Likewise.
38108         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38109         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38110         * sysdeps/mips/soft-fp/sfp-machine.h
38111         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38112         * sysdeps/powerpc/soft-fp/sfp-machine.h
38113         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38114         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38115         Likewise.
38116         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38117         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38118         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38119         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38120         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38121         Likewise.
38123 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38125         [BZ #16545]
38126         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38127         model 1.
38129 2014-02-12  Richard Henderson  <rth@redhat.com>
38131         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38132         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38133         * sysdeps/unix/sysv/linux/alpha: Move directory from
38134         ports/sysdeps/unix/sysv/linux/alpha.
38135         * README: Update listing for alpha-*-linux-gnu.
38137 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38139         * include/features.h: Update comment documenting feature test
38140         macros.
38141         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38142         _DEFAULT_SOURCE.
38143         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38144         (_SVID_SOURCE): Likewise.
38145         (_DEFAULT_SOURCE): Update description of default features.
38146         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38147         with _GNU_SOURCE.
38148         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38149         (S_ISVTX): Likewise.
38150         * manual/math.texi (Mathematical Constants): Likewise.
38151         * manual/signal.texi (Interrupted Primitives): Likewise.
38152         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38153         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38154         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38155         Don't refer to _SVID_SOURCE in warning text.
38157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38159         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38160         already defined.
38161         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38162         * sysdeps/mips/dl-lookup.c: Remove.
38163         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38165 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38167         [BZ #16447]
38168         * math/auto-libm-test-in: Add testcase for expl.
38169         * math/auto-libm-test-out: Regenerate.
38170         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38171         calculation of unsafe.
38172         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38174 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38176         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38177         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38178         ports/sysdeps/unix/sysv/linux/aarch64.
38179         * README: Update listing for aarch64*-*-linux-gnu.
38181 2014-02-11  Will Newton  <will.newton@linaro.org>
38183         * manual/probes.texi (Mathematical Function Probes): Use
38184         "triggered" instead of "hit".
38186         * manual/probes.texi (Internal Probes): Add documentation
38187         of setjmp, longjmp and longjmp_target probes.
38189         * include/stap-probe.h: Add comment about probe argument
38190         format.
38192         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38193         definition.  (tr_where, tr_freehook, tr_mallochook,
38194         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38196 2014-02-11  David S. Miller  <davem@davemloft.net>
38198         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38199         processing int_tests.
38201 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38203         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38204         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38205         * sysdeps/unix/sysv/linux/mips: Move directory from
38206         ports/sysdeps/unix/sysv/linux/mips.
38207         * README: Update listing for mips-*-linux-gnu and
38208         mips64-*-linux-gnu.
38210 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38212         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38213         * sysdeps/unix/sysv/linux/m68k: Move directory from
38214         ports/sysdeps/unix/sysv/linux/m68k.
38215         * README: Update listing for m68k-*-linux-gnu.
38217 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38219         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38220         * sysdeps/unix/sysv/linux/generic: Move directory from
38221         ports/sysdeps/unix/sysv/linux/generic.
38222         * sysdeps/unix/sysv/linux/tile: Move directory from
38223         ports/sysdeps/unix/sysv/linux/tile.
38224         * README: Update listing for tile*-*-linux-gnu.
38226 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38228         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38229         __builtin_expect.
38230         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38231         * catgets/open_catalog.c (__open_catalog): Likewise.
38232         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38233         * debug/confstr_chk.c: Likewise.
38234         * debug/fread_chk.c (__fread_chk): Likewise.
38235         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38236         * debug/getgroups_chk.c: Likewise.
38237         * debug/mbsnrtowcs_chk.c: Likewise.
38238         * debug/mbsrtowcs_chk.c: Likewise.
38239         * debug/mbstowcs_chk.c: Likewise.
38240         * debug/memcpy_chk.c: Likewise.
38241         * debug/memmove_chk.c: Likewise.
38242         * debug/mempcpy_chk.c: Likewise.
38243         * debug/memset_chk.c: Likewise.
38244         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38245         * debug/strcat_chk.c (__strcat_chk): Likewise.
38246         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38247         * debug/strncat_chk.c (__strncat_chk): Likewise.
38248         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38249         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38250         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38251         * debug/wcpncpy_chk.c: Likewise.
38252         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38253         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38254         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38255         * debug/wcsncpy_chk.c: Likewise.
38256         * debug/wcsnrtombs_chk.c: Likewise.
38257         * debug/wcsrtombs_chk.c: Likewise.
38258         * debug/wcstombs_chk.c: Likewise.
38259         * debug/wmemcpy_chk.c: Likewise.
38260         * debug/wmemmove_chk.c: Likewise.
38261         * debug/wmempcpy_chk.c: Likewise.
38262         * debug/wmemset_chk.c: Likewise.
38263         * dirent/scandirat.c (SCANDIRAT): Likewise.
38264         * dlfcn/dladdr1.c (dladdr1): Likewise.
38265         * dlfcn/dladdr.c (dladdr): Likewise.
38266         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38267         * dlfcn/dlerror.c (__dlerror): Likewise.
38268         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38269         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38270         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38271         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38272         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38273         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38274         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38275         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38276         Likewise.
38277         * elf/dl-conflict.c: Likewise.
38278         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38279         * elf/dl-dst.h: Likewise.
38280         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38281         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38282         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38283         * elf/dl-init.c (call_init, _dl_init): Likewise.
38284         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38285         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38286         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38287         Likewise.
38288         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38289         Likewise.
38290         * elf/dl-minimal.c (__libc_memalign): Likewise.
38291         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38292         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38293         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38294         * elf/dl-sym.c (do_sym): Likewise.
38295         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38296         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38297         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38298         * elf/dl-writev.h (_dl_writev): Likewise.
38299         * elf/ldconfig.c (search_dir): Likewise.
38300         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38301         (dl_main): Likewise.
38302         * elf/setup-vdso.h (setup_vdso): Likewise.
38303         * grp/compat-initgroups.c (compat_call): Likewise.
38304         * grp/fgetgrent.c (fgetgrent): Likewise.
38305         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38306         * grp/putgrent.c (putgrent): Likewise.
38307         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38308         Likewise.
38309         * hurd/hurdinit.c: Likewise.
38310         * iconvdata/8bit-gap.c (struct): Likewise.
38311         * iconvdata/ansi_x3.110.c : Likewise.
38312         * iconvdata/big5.c : Likewise.
38313         * iconvdata/big5hkscs.c : Likewise.
38314         * iconvdata/cp1255.c: Likewise.
38315         * iconvdata/cp1258.c : Likewise.
38316         * iconvdata/cp932.c : Likewise.
38317         * iconvdata/euc-cn.c: Likewise.
38318         * iconvdata/euc-jisx0213.c : Likewise.
38319         * iconvdata/euc-jp.c: Likewise.
38320         * iconvdata/euc-jp-ms.c : Likewise.
38321         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38322         * iconvdata/gb18030.c : Likewise.
38323         * iconvdata/gbbig5.c (const): Likewise.
38324         * iconvdata/gbgbk.c: Likewise.
38325         * iconvdata/gbk.c : Likewise.
38326         * iconvdata/ibm1364.c : Likewise.
38327         * iconvdata/ibm930.c : Likewise.
38328         * iconvdata/ibm932.c: Likewise.
38329         * iconvdata/ibm933.c : Likewise.
38330         * iconvdata/ibm935.c : Likewise.
38331         * iconvdata/ibm937.c : Likewise.
38332         * iconvdata/ibm939.c : Likewise.
38333         * iconvdata/ibm943.c: Likewise.
38334         * iconvdata/iso_11548-1.c: Likewise.
38335         * iconvdata/iso-2022-cn.c : Likewise.
38336         * iconvdata/iso-2022-cn-ext.c : Likewise.
38337         * iconvdata/iso-2022-jp-3.c: Likewise.
38338         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38339         * iconvdata/iso-2022-kr.c : Likewise.
38340         * iconvdata/iso646.c (gconv_end): Likewise.
38341         * iconvdata/iso_6937-2.c : Likewise.
38342         * iconvdata/iso_6937.c : Likewise.
38343         * iconvdata/iso8859-1.c: Likewise.
38344         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38345         * iconvdata/shift_jisx0213.c : Likewise.
38346         * iconvdata/sjis.c : Likewise.
38347         * iconvdata/t.61.c : Likewise.
38348         * iconvdata/tcvn5712-1.c : Likewise.
38349         * iconvdata/tscii.c: Likewise.
38350         * iconvdata/uhc.c : Likewise.
38351         * iconvdata/unicode.c (gconv_end): Likewise.
38352         * iconvdata/utf-16.c (gconv_end): Likewise.
38353         * iconvdata/utf-32.c (gconv_end): Likewise.
38354         * iconvdata/utf-7.c (base64): Likewise.
38355         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38356         * iconv/gconv_close.c (__gconv_close): Likewise.
38357         * iconv/gconv_open.c (__gconv_open): Likewise.
38358         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38359         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38360         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38361         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38362         (ucs4le_internal_loop_single): Likewise.
38363         * iconv/iconv.c (iconv): Likewise.
38364         * iconv/iconv_close.c: Likewise.
38365         * iconv/loop.c (SINGLE): Likewise.
38366         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38367         * include/atomic.h: Likewise.
38368         * inet/inet6_option.c (option_alloc): Likewise.
38369         * intl/bindtextdom.c (set_binding_values): Likewise.
38370         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38371         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38372         * intl/localealias.c (read_alias_file): Likewise.
38373         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38374         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38375         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38376         * libio/fmemopen.c (fmemopen): Likewise.
38377         * libio/iofgets.c (_IO_fgets): Likewise.
38378         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38379         * libio/iofgetws.c (fgetws): Likewise.
38380         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38381         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38382         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38383         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38384         * locale/findlocale.c (_nl_find_locale): Likewise.
38385         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38386         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38387         Likewise.
38388         * locale/setlocale.c (setlocale): Likewise.
38389         * login/programs/pt_chown.c (main): Likewise.
38390         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38391         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38392         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38393         (mmap, mmap64, mremap, munmap): Likewise.
38394         * math/e_exp2l.c: Likewise.
38395         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38396         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38397         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38398         * math/s_catan.c (__catan): Likewise.
38399         * math/s_catanf.c (__catanf): Likewise.
38400         * math/s_catanh.c (__catanh): Likewise.
38401         * math/s_catanhf.c (__catanhf): Likewise.
38402         * math/s_catanhl.c (__catanhl): Likewise.
38403         * math/s_catanl.c (__catanl): Likewise.
38404         * math/s_ccosh.c (__ccosh): Likewise.
38405         * math/s_ccoshf.c (__ccoshf): Likewise.
38406         * math/s_ccoshl.c (__ccoshl): Likewise.
38407         * math/s_cexp.c (__cexp): Likewise.
38408         * math/s_cexpf.c (__cexpf): Likewise.
38409         * math/s_cexpl.c (__cexpl): Likewise.
38410         * math/s_clog10.c (__clog10): Likewise.
38411         * math/s_clog10f.c (__clog10f): Likewise.
38412         * math/s_clog10l.c (__clog10l): Likewise.
38413         * math/s_clog.c (__clog): Likewise.
38414         * math/s_clogf.c (__clogf): Likewise.
38415         * math/s_clogl.c (__clogl): Likewise.
38416         * math/s_csin.c (__csin): Likewise.
38417         * math/s_csinf.c (__csinf): Likewise.
38418         * math/s_csinh.c (__csinh): Likewise.
38419         * math/s_csinhf.c (__csinhf): Likewise.
38420         * math/s_csinhl.c (__csinhl): Likewise.
38421         * math/s_csinl.c (__csinl): Likewise.
38422         * math/s_csqrt.c (__csqrt): Likewise.
38423         * math/s_csqrtf.c (__csqrtf): Likewise.
38424         * math/s_csqrtl.c (__csqrtl): Likewise.
38425         * math/s_ctan.c (__ctan): Likewise.
38426         * math/s_ctanf.c (__ctanf): Likewise.
38427         * math/s_ctanh.c (__ctanh): Likewise.
38428         * math/s_ctanhf.c (__ctanhf): Likewise.
38429         * math/s_ctanhl.c (__ctanhl): Likewise.
38430         * math/s_ctanl.c (__ctanl): Likewise.
38431         * math/w_pow.c: Likewise.
38432         * math/w_powf.c: Likewise.
38433         * math/w_powl.c: Likewise.
38434         * math/w_scalb.c (sysv_scalb): Likewise.
38435         * math/w_scalbf.c (sysv_scalbf): Likewise.
38436         * math/w_scalbl.c (sysv_scalbl): Likewise.
38437         * misc/error.c (error_tail): Likewise.
38438         * misc/pselect.c (__pselect): Likewise.
38439         * nis/nis_callback.c (__nis_create_callback): Likewise.
38440         * nis/nis_call.c (__nisfind_server): Likewise.
38441         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38442         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38443         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38444         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38445         * nis/nis_lookup.c (nis_lookup): Likewise.
38446         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38447         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38448         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38449         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38450         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38451         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38452         * nis/nss_compat/compat-initgroups.c (add_group)
38453         (internal_getgrent_r): Likewise.
38454         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38455         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38456         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38457         (internal_getspnam_r): Likewise.
38458         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38459         (_nss_nis_getaliasbyname_r): Likewise.
38460         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38461         (_nss_nis_getntohost_r): Likewise.
38462         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38463         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38464         (_nss_nis_getgrgid_r): Likewise.
38465         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38466         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38467         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38468         (_nss_nis_gethostbyname4_r): Likewise.
38469         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38470         (initgroups_netid): Likewise.
38471         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38472         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38473         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38474         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38475         (_nss_nis_getprotobynumber_r): Likewise.
38476         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38477         (_nss_nis_getsecretkey): Likewise.
38478         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38479         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38480         (_nss_nis_getpwuid_r): Likewise.
38481         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38482         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38483         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38484         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38485         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38486         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38487         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38488         Likewise.
38489         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38490         (_nss_nisplus_getntohost_r): Likewise.
38491         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38492         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38493         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38494         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38495         Likewise.
38496         * nis/nss_nisplus/nisplus-initgroups.c
38497         (_nss_nisplus_initgroups_dyn): Likewise.
38498         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38499         (_nss_nisplus_getnetbyaddr_r): Likewise.
38500         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38501         (_nss_nisplus_getprotobynumber_r): Likewise.
38502         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38503         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38504         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38505         Likewise.
38506         * nis/nss_nisplus/nisplus-service.c
38507         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38508         (_nss_nisplus_getservbyport_r): Likewise.
38509         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38510         (_nss_nisplus_getspnam_r): Likewise.
38511         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38512         Likewise.
38513         * nscd/aicache.c (addhstaiX): Likewise.
38514         * nscd/cache.c (cache_search, prune_cache): Likewise.
38515         * nscd/connections.c (register_traced_file, send_ro_fd)
38516         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38517         (main_loop_epoll): Likewise.
38518         * nscd/grpcache.c (addgrbyX): Likewise.
38519         * nscd/hstcache.c (addhstbyX): Likewise.
38520         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38521         * nscd/mem.c (gc, mempool_alloc): Likewise.
38522         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38523         (addinnetgrX): Likewise.
38524         * nscd/nscd-client.h (__nscd_acquire_maplock)
38525         (__nscd_drop_map_ref): Likewise.
38526         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38527         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38528         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38529         Likewise.
38530         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38531         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38532         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38533         (__nscd_get_map_ref): Likewise.
38534         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38535         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38536         Likewise.
38537         * nscd/pwdcache.c (addpwbyX): Likewise.
38538         * nscd/selinux.c (preserve_capabilities): Likewise.
38539         * nscd/servicescache.c (addservbyX): Likewise.
38540         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38541         * posix/fnmatch.c (fnmatch): Likewise.
38542         * posix/getopt.c (_getopt_internal_r): Likewise.
38543         * posix/glob.c (glob, glob_in_dir): Likewise.
38544         * posix/wordexp.c (exec_comm_child): Likewise.
38545         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38546         (getanswer_r, gaih_getanswer_slice): Likewise.
38547         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38548         * resolv/res_init.c: Likewise.
38549         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38550         * resolv/res_query.c (__libc_res_nquery): Likewise.
38551         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38552         Likewise.
38553         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38554         * stdio-common/perror.c (perror): Likewise.
38555         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38556         * stdio-common/tmpnam.c (tmpnam): Likewise.
38557         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38558         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38559         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38560         Likewise.
38561         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38562         * stdlib/putenv.c (putenv): Likewise.
38563         * stdlib/setenv.c (__add_to_environ): Likewise.
38564         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38565         * stdlib/strtol_l.c (INTERNAL): Likewise.
38566         * string/memmem.c (memmem): Likewise.
38567         * string/strerror.c (strerror): Likewise.
38568         * string/strnlen.c (__strnlen): Likewise.
38569         * string/test-memmem.c (simple_memmem): Likewise.
38570         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38571         * sunrpc/pm_getport.c (__get_socket): Likewise.
38572         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38573         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38574         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38575         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38576         Likewise.
38577         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38578         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38579         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38580         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38581         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38582         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38583         Likewise.
38584         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38585         Likewise.
38586         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38587         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38588         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38589         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38590         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38592         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38593         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38594         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38595         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38596         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38597         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38598         Likewise.
38599         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38600         Likewise.
38601         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38602         Likewise.
38603         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38604         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38605         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38606         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38607         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38608         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38609         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38610         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38612         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38613         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38616         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38618         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38619         Likewise.
38620         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38621         Likewise.
38622         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38623         Likewise.
38624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38625         Likewise.
38626         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38628         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38629         Likewise.
38630         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38631         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38632         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38633         * sysdeps/posix/sleep.c: Likewise.
38634         * sysdeps/posix/tempname.c: Likewise.
38635         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38636         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38637         Likewise.
38638         * sysdeps/powerpc/powerpc32/dl-machine.h
38639         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38640         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38642         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38643         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38644         Likewise.
38645         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38646         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38647         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38648         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38649         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38650         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38651         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38652         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38653         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38654         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38656         (elf_machine_lazy_rel): Likewise.
38657         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38659         (elf_machine_lazy_rel): Likewise.
38660         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38661         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38662         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38663         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38664         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38665         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38666         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38668         Likewise.
38669         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38670         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38671         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38672         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38673         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38674         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38675         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38676         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38677         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38678         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38679         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38680         Likewise.
38681         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38682         (__posix_fallocate64_l64): Likewise.
38683         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38684         (posix_fallocate): Likewise.
38685         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38686         Likewise.
38687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38688         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38689         (getifaddrs_internal): Likewise.
38690         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38691         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38692         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38693         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38694         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38695         (__posix_fallocate64_l64): Likewise.
38696         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38697         Likewise.
38698         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38700         (__get_clockfreq): Likewise.
38701         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38702         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38703         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38706         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38707         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38708         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38709         Likewise.
38710         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38711         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38712         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38713         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38714         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38715         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38716         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38717         Likewise.
38718         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38719         (posix_fallocate): Likewise.
38720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38721         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38722         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38723         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38724         (elf_machine_rela, elf_machine_rela_relative)
38725         (elf_machine_lazy_rel): Likewise.
38726         * time/asctime.c (asctime_internal): Likewise.
38727         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38728         * time/tzset.c (__tzset_parse_tz): Likewise.
38729         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38730         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38731         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38732         * wcsmbs/wcsmbsload.h: Likewise.
38734         [BZ #15894]
38735         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38737         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38738         (arena_get2): Remove THREAD_STATS conditionals.
38739         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38740         (__malloc_stats, int): Likewise.
38742 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38744         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38745         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38747         * manual/setjmp.texi: Fix typos/grammar errors.
38749         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38750         Only return early when n is <= 0.  Delete unused return statement.
38752         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38753         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38754         * debug/tst-longjmp_chk3.c: New file.
38756         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38757         (test_main): Replace code with set_fortify_handler call.
38758         * debug/test-strcpy_chk.c: Likewise.
38759         * debug/tst-chk1.c: Likewise.
38760         * debug/tst-longjmp_chk.c: Likewise.
38761         * test-skeleton.c: Include fcntl.h & paths.h
38762         (set_fortify_handler): Define.
38764         * debug/tst-longjmp_chk.c: Add header comment and include
38765         ../test-skeleton.c.
38766         (do_test): Mark static.
38767         (TEST_FUNCTION): Define.
38769         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38770         (IP_PMTUDISC_INTERFACE): Likewise.
38771         (IP_MULTICAST_IF): Likewise.
38772         (IP_MULTICAST_TTL): Likewise.
38773         (IP_MULTICAST_LOOP): Likewise.
38774         (IP_ADD_MEMBERSHIP): Likewise.
38775         (IP_DROP_MEMBERSHIP): Likewise.
38776         (IP_UNBLOCK_SOURCE): Likewise.
38777         (IP_BLOCK_SOURCE): Likewise.
38778         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38779         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38780         (IP_MSFILTER): Likewise.
38781         (MCAST_JOIN_GROUP): Likewise.
38782         (MCAST_BLOCK_SOURCE): Likewise.
38783         (MCAST_UNBLOCK_SOURCE): Likewise.
38784         (MCAST_LEAVE_GROUP): Likewise.
38785         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38786         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38787         (MCAST_MSFILTER): Likewise.
38788         (IP_MULTICAST_ALL): Likewise.
38789         (IP_UNICAST_IF): Likewise.
38791         * timezone/Makefile: Delete $(have-ksh) check.
38792         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38793         * timezone/tzselect.ksh: Add +x mode bits.
38795         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38796         (ANON_INODE_FS_MAGIC): Likewise.
38797         (BDEVFS_MAGIC): Likewise.
38798         (BINFMTFS_MAGIC): Likewise.
38799         (BTRFS_TEST_MAGIC): Likewise.
38800         (CRAMFS_MAGIC_WEND): Likewise.
38801         (DEBUGFS_MAGIC): Likewise.
38802         (ECRYPTFS_SUPER_MAGIC): Likewise.
38803         (EXT3_SUPER_MAGIC): Likewise.
38804         (EXT4_SUPER_MAGIC): Likewise.
38805         (FUTEXFS_SUPER_MAGIC): Likewise.
38806         (HOSTFS_SUPER_MAGIC): Likewise.
38807         (HUGETLBFS_MAGIC): Likewise.
38808         (MINIX3_SUPER_MAGIC): Likewise.
38809         (MTD_INODE_FS_MAGIC): Likewise.
38810         (NILFS_SUPER_MAGIC): Likewise.
38811         (OPENPROM_SUPER_MAGIC): Likewise.
38812         (PIPEFS_MAGIC): Likewise.
38813         (PSTOREFS_MAGIC): Likewise.
38814         (QNX6_SUPER_MAGIC): Likewise.
38815         (RAMFS_MAGIC): Likewise.
38816         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38817         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38818         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38819         (SECURITYFS_MAGIC): Likewise.
38820         (SELINUX_MAGIC): Likewise.
38821         (SMACK_MAGIC): Likewise.
38822         (SOCKFS_MAGIC): Likewise.
38823         (SQUASHFS_MAGIC): Likewise.
38824         (STACK_END_MAGIC): Likewise.
38825         (TMPFS_MAGIC): Likewise.
38826         (USBDEVICE_SUPER_MAGIC): Likewise.
38827         (V9FS_MAGIC): Likewise.
38828         (XENFS_SUPER_MAGIC): Likewise.
38829         (CRAMFS_MAGIC): Fix typo in comment.
38830         (EXT2_SUPER_MAGIC): Update comment.
38831         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38833 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38835         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38836         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38837         * sysdeps/unix/sysv/linux/arm: Move directory from
38838         ports/sysdeps/unix/sysv/linux/arm.
38839         * README: Update listing for arm-*-linux-gnueabi.
38841         * README: Remove mention of am33.
38843 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38845         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38846         than the comma operator, to avoid "rhs of comma has no effect"
38847         compiler warnings.
38848         (__sigfillset, __sigandset, __sigorset): Likewise.
38849         * include/signal.h (__sigemptyset): Likewise.
38850         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38852 2014-02-07  Allan McRae  <allan@archlinux.org>
38854         * version.h (RELEASE): Set to "development".
38855         (VERSION): Set to "2.19.90"
38856         * NEWS: Add 2.20 section.
38858 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38860         [BZ #16529]
38861         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38863 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38865         * manual/contrib.texi: Update entry for Carlos O'Donell,
38866         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38868 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38870         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38872         * sysdeps/unix/sysv/linux/kernel-features.h
38873         [__LINUX_KERNEL_VERSION >= 0x020621]
38874         (__ASSUME_PROC_PID_TASK_COMM): Define.
38876 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38878         [BZ #16398]
38879         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38880         conversion when destination buffer does not have enough space.
38881         * libio/tst-ftell-partial-wide.c: New test case.
38882         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38884         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38885         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38886         Leonard and Allan McRae.
38888 2014-02-04  David S. Miller  <davem@davemloft.net>
38890         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38891         32-bit.
38893 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38896         New file
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38898         New file
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38900         New file.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38902         New file.
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38904         New file.
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38906         New file.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38908         New file.
38909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38910         New file.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38912         New file.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38914         New file.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38916         New file.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38918         New file.
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38920         New file.
38922 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38924         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38925         * shlib-versions: Likewise.
38927 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38928             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38930         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38931         (abilist-pattern): New variable, set to %-le.abilist.
38933         * Makerules (abilist-pattern): New variable.
38934         (vpath): Use $(abilist-pattern) in place of %.abilist.
38935         (check-abi-% pattern rule): Likewise.
38936         (check-abi, update-abi): Likewise.
38938 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38942 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38944         * manual/startup.texi: Add next, previous, and top entries for
38945         the `Program Arguments' and `Environment Variables' nodes.
38947 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38949         * manual/macros.texi: Add comments before MTASC-safety macros.
38951         * manual/users.texi: Document MTASC-safety properties.
38953         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38954         (pthread_getspecific, pthread_setspecific): Format with
38955         @deftypefun, and add @safety note.
38956         * manual/signal.texi: Move comments that analyze the above
38957         functions to their home place.
38959 2014-02-03  Allan McRae  <allan@archlinux.org>
38961         * po/sl.po: Update Slovenian translation from translation project.
38963 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38965         * manual/time.texi (timegm): Add missing blank after @c.
38966         Reported by Joseph Myers <joseph@codesourcery.com>.
38968 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38970         * manual/check-safety.sh: New.
38971         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38973         * manual/terminal.texi: Document MTASC-safety properties.
38975         * manual/filesys.texi: Document MTASC-safety properties.
38977         * manual/errno.texi: Document MTASC-safety properties.
38979         * manual/intro.texi: Document safety identifiers and
38980         conditionals.
38982         * manual/string.texi (wcstok): Fix prototype.
38983         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38985         * manual/time.texi: Document MTASC-safety properties.
38987         * manual/string.texi: Document MTASC-safety properties.
38989         * manual/threads.texi: Document MTASC-safety properties.
38991         * manual/stdio.texi: Document MTASC-safety properties.
38993         * manual/syslog.texi: Document MTASC-safety properties.
38995         * manual/sysinfo.texi: Document MTASC-safety properties.
38997         * manual/startup.texi: Document MTASC-safety properties.
38999         * manual/socket.texi: Document MTASC-safety properties.
39001         * manual/signal.texi: Document MTASC-safety properties.
39003 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39005         * manual/setjmp.texi: Document MTASC-safety properties.
39007         * manual/search.texi: Document MTASC-safety properties.
39009         * manual/resource.texi: Document MTASC-safety properties.
39011         * manual/process.texi: Document MTASC-safety properties.
39013         * manual/platform.texi: Document MTASC-safety properties.
39015         * manual/pipe.texi: Document MTASC-safety properties.
39017         * manual/pattern.texi: Document MTASC-safety properties.
39019         * manual/message.texi: Document MTASC-safety properties.
39021         [BZ #12751]
39022         * manual/memory.texi: Document MTASC-safety properties.
39024         * manual/math.texi: Document MTASC-safety properties.
39026         * manual/locale.texi: Document MTASC-safety properties.
39028         * manual/llio.texi: Document MTASC-safety properties.
39030         * manual/libdl.texi: New.
39032         * manual/lang.texi: Document MTASC-safety properties.
39034         * manual/job.texi: Document MTASC-safety properties.
39036         * manual/getopt.texi: Document MTASC-safety properties.
39038         * manual/ctype.texi: Document MTASC-safety properties.
39040 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39042         [BZ #16046]
39043         * csu/libc-tls.c (static_map): Remove variable.
39044         (__libc_setup_tls): Use main executable's link map for TLS data.
39045         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39046         casing for LM_ID_BASE and GL(dl_nns).
39047         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39048         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39049         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39050         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39051         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39052         member.
39053         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39054         l_phnum members.
39056 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39058         * manual/debug.texi: Document MTASC-safety properties.
39060 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39062         [BZ #16510]
39063         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39064         of __x86_64__ when disabling x87 inline functions.
39066 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39068         * manual/charset.texi: Document MTASC-safety properties.
39070         * manual/crypt.texi: Document MTASC-safety properties.
39072         * manual/conf.texi: Document MTASC-safety properties.
39074         * manual/arith.texi: Document MTASC-safety properties.
39076         * manual/argp.texi: Document MTASC-safety properties.
39078         * manual/macros.texi: Introduce macros to document multi
39079         thread, asynchronous signal and asynchronous cancellation
39080         safety properties.
39081         * manual/intro.texi: Introduce the properties themselves.
39083 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39085         * sysdeps/sh/sh4/Makefile: New file.
39087 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39089         * math/gen-libm-test.pl ($srcdir): New variable.
39090         ($auto_input): Use it.
39092 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39094         [BZ #16506]
39095         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39096         access beyond array bounds when parsing netgroups file.
39098         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39099         the old buffer before realloc.
39101 2014-01-27  Allan McRae  <allan@archlinux.org>
39103         * po/fr.po: Update French translation from translation project.
39105 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39107         * sysdeps/sh/libm-test-ulps: Regenerate.
39109 2014-01-24  David S. Miller  <davem@davemloft.net>
39111         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39113 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39115         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39116         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39118 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39120         [BZ #16474]
39121         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39122         string pointers after reallocation.
39124 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39126         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39127         __SH4A__ instead of __SH_FPU_ANY__.
39129 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39131         * sysdeps/sh/fpu_control.h: New file.
39132         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39133         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39134         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39135         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39136         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39137         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39138         * sysdeps/sh/sys/ucontext.h: Remove.
39139         * sysdeps/sh/sys: Remove directory.
39141 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39143         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39144         s390/sys/ucontext.h.
39145         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39146         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39148 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39150         [BZ #15605]
39151         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39153 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39155         [BZ#16431]
39156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39157         Adjust the vDSO correctly for internal calls.
39158         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39160 2014-01-20  Allan McRae  <allan@archlinux.org>
39162         * po/ca.po: Update Catalan translation from translation project.
39164 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39166         * sysdeps/s390/sotruss-lib.c: New file.
39168 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39170         [BZ#16430]
39171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39172         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39173         local calls issues by not having a PLT stub required for IFUNC calls.
39174         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39176 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39178         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39179         * math/test-fpucw-static.c: Likewise.
39181 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39183         [BZ #16453]
39184         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39186 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39188         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39189         implementation for powerpc.
39191 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39193         [BZ #14782]
39194         * sysdeps/posix/system.c (__libc_system): Do not enable
39195         asynchronous cancellation.
39197 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39199         [BZ #16427]
39200         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39201         handling only for numbers special also in the IEEE case.
39203 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39205         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39207 2014-01-11  Allan McRae  <allan@archlinux.org>
39209         * po/bg.po: Update Bulgarian translation from translation project.
39211         * po/de.po: Update German translation from translation project.
39213 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39215         * sysdeps/generic/gcc-compat.h: New file.
39217 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39219         * benchtests/asin-inputs: Correct slow inputs.
39220         * benchtests/acos-inputs: Likewise.
39222 2014-01-10  Allan McRae  <allan@archlinux.org>
39224         * po:sv.po: Update Swedish translation from translation project.
39226         * po/vi.po: Update Vietnamese translation from translation project.
39228         * po/eo.po: Update Esperanto translation from translation project.
39230         * po/cs.po: Update Czech translation from translation project.
39232         * po/nl.po: Update Dutch translation from translation project.
39234         * po/pl.po: Update Polish translation from translation project.
39236         * po/ru.po: Update Russian translation from translation project.
39238         * po/uk.po: Update Ukrainian translation from translation project.
39240 2014-01-08  Brooks Moses  <bmoses@google.com>
39242         * elf/dl-load.c: Fix comment typo.
39244 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39246         * po/header.pot: Rename to...
39247         * po/pot.header: ... this.
39248         * po/Makefile: Use pot.header.
39250 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39251             Maxim Kuvyrkov  <maxim@kugelworks.com>
39253         [BZ #16394]
39254         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39255         SRC and DEST against LEN.
39257 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39259         [BZ #16414]
39260         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39261         implementation.
39262         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39264 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39268 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39270         [BZ #16408]
39271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39272         for large positive arguments.
39274 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39276         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39278         * math/auto-libm-test-in: Mark various tests with
39279         xfail-rounding:ldbl-128ibm.
39280         * math/auto-libm-test-out: Regenerated.
39282         [BZ #16407]
39283         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39284         Increase overflow threshold.
39286 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39288         [BZ #14286]
39289         * stdio-common/vfprintf.c: Check for integer overflow.
39291 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39293         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39294         the first argument and return value of __tls_get_addr_internal.
39296 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39298         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39299         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39301 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39303         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39304         * sysdeps/s390/rtld-global-offsets.sym: New file.
39305         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39306         GLIBC_2.19 symbol.
39307         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39308         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39309         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39310         ... this.
39311         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39312         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39313         ... this.
39314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39315         Regenerate.
39316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39317         Regenerate.
39318         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39319         halfs of GPRs for high_gprs contexts.
39320         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39321         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39322         field.
39323         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39324         uc_flags field.
39325         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39326         64 bit versions:
39327         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39328         for high GPRs (uc_high_gprs) and for future extensions
39329         (__reserved).
39330         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39331         for future extensions (__reserved).
39332         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39333         64 bit versions:
39334         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39335         SC_HIGHGPRS offset definition.
39336         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39337         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39339         * Versions.def: Add GLIBC_2.19 for libpthread.
39340         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39341         siglongjmp for libpthread with GLIBC_2.19 symver.
39342         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39343         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39344         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39345         * sysdeps/s390/__longjmp.c: New file.
39346         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39347         * sysdeps/s390/longjmp.c: New file.
39348         * sysdeps/s390/setjmp.S: New file.
39349         * sysdeps/s390/sigjmp.S: New file.
39350         * sysdeps/s390/v1-longjmp.c: New file.
39351         * sysdeps/s390/v1-setjmp.h: New file.
39352         * sysdeps/s390/v1-sigjmp.c: New file.
39353         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39354         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39355         GLIBC_2.19 version.
39356         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39357         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39358         versioned symbols for ____longjmp_chk.
39359         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39360         Likewise.
39361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39362         Regenerate.
39363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39364         Regenerate.
39365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39366         Regenerate.
39367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39368         Regenerate.
39369         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39370         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39371         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39372         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39373         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39374         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39375         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39376         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39377         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39378         * sysdeps/s390/rtld-__longjmp.c: New file.
39379         * sysdeps/s390/rtld-setjmp.S: New file.
39381 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39383         [BZ #16400]
39384         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39385         Return -__logl (x) for small positive arguments without evaluating
39386         a polynomial.
39388 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39390         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39391         Rename to ...
39392         (__ptrace_peeksiginfo_args): ... this.
39393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39397 2014-01-06  Allan McRae  <allan@archlinux.org>
39399         * inet/netinet/in.h: Fix typo in comment.
39401 2014-01-05  Andreas Jaeger  <aj@suse.de>
39403         * sysdeps/i386/fpu/libm-test-ulps: Update.
39405 2014-01-05  Allan McRae  <allan@archlinux.org>
39407         * po/libc.pot: Regenerated.
39409         * malloc/memusagestat.c: Fix gettext call formatting.
39411 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39413         * nscd/nscd.c: Improve usage() output.
39415 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39417         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39418         * sysdeps/unix/sysv/linux/configure: Regenerated.
39419         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39420         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39422 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39424         [BZ #16390]
39425         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39426         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39428 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39431         extra tokens at end of #undef directive.
39432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39433         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39434         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39436 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39438         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39440         * math/auto-libm-test-in: Mark various tests with
39441         xfail-rounding:ldbl-128ibm.
39442         * math/auto-libm-test-out: Regenerated.
39444 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39446         [BZ #16386]
39447         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39448         numbers with subnormal high part when calculating exponent.
39450         [BZ #16385]
39451         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39452         fabs.
39454         [BZ #16384]
39455         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39456         M_LN2l.
39457         (__ieee754_acoshl): Use __log1pl not __log1p.
39459 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39461         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39462         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39463         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39464         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39465         (reused_arena, arena_get2): Convert to GNU style.
39466         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39467         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39468         (memalign_check, __malloc_set_state): Likewise.
39469         * malloc/mallocbug.c (main): Likewise.
39470         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39471         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39472         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39473         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39474         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39475         (__posix_memalign, malloc_info): Likewise.
39476         * malloc/malloc.h: Likewise.
39477         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39478         (mallochook, memalignhook, reallochook, mabort): Likewise.
39479         * malloc/mcheck.h: Likewise.
39480         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39481         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39482         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39483         * malloc/morecore.c (__default_morecore): Likewise.
39484         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39485         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39486         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39487         (print_and_abort): Likewise.
39488         * malloc/obstack.h: Likewise.
39489         * malloc/set-freeres.c (__libc_freeres): Likewise.
39490         * malloc/tst-mallocstate.c (main): Likewise.
39491         * malloc/tst-mtrace.c (main): Likewise.
39492         * malloc/tst-realloc.c (do_test): Likewise.
39494 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39496         [BZ #16366]
39497         * nscd/netgroupcache.c (do_notfound): New function.
39498         (addgetnetgrentX): Use it.
39500         [BZ # 16365]
39501         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39502         NSS_STATUS_NOTFOUND.
39504 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39506         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39509 2014-01-01  Allan McRae  <allan@archlinux.org>
39511         * scripts/update-copyrights: Update configure input file suffix.
39513         * NEWS: Update copyright year.
39514         * catgets/gencat.c: Likewise.
39515         * csu/version.c: Likewise.
39516         * debug/catchsegv.sh: Likewise.
39517         * debug/pcprofiledump.c: Likewise.
39518         * debug/xtrace.sh: Likewise.
39519         * elf/ldconfig.c: Likewise.
39520         * elf/ldd.bash.in: Likewise.
39521         * elf/pldd.c: Likewise.
39522         * elf/sotruss.ksh: Likewise.
39523         * elf/sprof.c: Likewise.
39524         * iconv/iconv_prog.c: Likewise.
39525         * iconv/iconvconfig.c: Likewise.
39526         * locale/programs/locale.c: Likewise.
39527         * locale/programs/localedef.c: Likewise.
39528         * login/programs/pt_chown.c: Likewise.
39529         * malloc/memusage.sh: Likewise.
39530         * malloc/memusagestat.c: Likewise.
39531         * malloc/mtrace.pl: Likewise.
39532         * manual/libc.texinfo: Likewise.
39533         * nscd/nscd.c: Likewise.
39534         * nss/getent.c: Likewise.
39535         * nss/makedb.c: Likewise.
39536         * posix/getconf.c: Likewise.
39537         * scripts/test-installation.pl: Likewise.
39539         * All files with FSF copyright notices: Update copyright dates
39540         using scripts/update-copyrights.
39541         * intl/plural.c: Regenerated.
39542         * locale/programs/charmap-kw.h: Likewise.
39543         * locale/programs/locfile-kw.h: Likewise.
39545 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39547         * sysdeps/unix/sysv/linux/configure: Regenerated.
39548         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39549         the linux/fanotify.h header.
39550         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39551         HAVE_LINUX_FANOTIFY_H is defined.
39553 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39555         * benchtests/cos-inputs: New inputs.
39556         * benchtests/sin-inputs: Likewise.
39558         * benchtests/atan-inputs: New inputs. Fix name of multiple
39559         precision fallback inputs.
39561         * benchtests/atanh-inputs: New inputs.
39562         * benchtests/tanh-inputs: Likewise.
39564         * benchtests/acosh-inputs: New inputs.
39565         * benchtests/asinh-inputs: Likewise.
39567         * benchtests/cosh-inputs: New inputs.
39568         * benchtests/sinh-inputs: Likewise.
39570         * benchtests/acos-inputs: Add more inputs.
39571         * benchtests/asin-inputs: Likewise.
39573 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39575         [BZ #16375]
39576         * manual/arith.texi: Fix spelling.
39577         * manual/charset.texi: Likewise.
39578         * manual/errno.texi: Likewise.
39579         * manual/filesys.texi: Likewise.
39580         * manual/lang.texi: Likewise.
39581         * manual/llio.texi: Likewise.
39582         * manual/locale.texi: Likewise.
39583         * manual/message.texi: Likewise.
39584         * manual/resource.texi: Likewise.
39585         * manual/search.texi: Likewise.
39586         * manual/setjmp.texi: Likewise.
39587         * manual/stdio.texi: Likewise.
39588         * manual/string.texi: Likewise.
39589         * manual/sysinfo.texi: Likewise.
39590         * manual/time.texi: Likewise.
39592 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39594         * po/sl.po: New file.
39596 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39598         * .gitignore: Add core/.gdbinit/.gdb_history.
39600 2013-12-27  Allan McRae  <allan@archlinux.org>
39602         [BZ #16369]
39603         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39604         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39606 2013-12-24  Brooks Moses  <bmoses@google.com>
39608         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39609         all compilers that claim C++98 compliance, not just GCC.
39610         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39611         Likewise.
39613 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39615         * NEWS: Restore accidentally deleted bug-fix entries.
39617 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39618             Ondřej Bílka  <neleai@seznam.cz>
39620         [BZ #15073]
39621         * malloc/malloc.c (_int_free): Perform sanity check only if we
39622         have_lock.
39624 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39626         [BZ #12986]
39627         * manual/stdio.texi (String Input Conversions): Clarify that character
39628         classes are not supported.
39630 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39634 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39636         [BZ #16337]
39637         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39638         Calculate results for small negative arguments directly rather
39639         than using reflection formula with special underflow handling.
39641         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39642         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39643         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39644         (fchflags): Likewise.
39645         (revoke): Likewise.
39646         (setlogin): Likewise.
39647         (sigaltstack): Likewise.
39648         (wait4): Likewise.
39649         (sigblock): Remove.
39650         (sigsetmask): Likewise.
39651         (wait3): Likewise.
39652         (waitpid): Likewise.
39653         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39654         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39655         file.
39656         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39657         * sysdeps/unix/bsd/Makefile: ... here.
39658         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39659         * sysdeps/unix/bsd/Versions: ... here.
39660         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39661         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39662         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39663         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39664         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39665         * sysdeps/unix/bsd/sigblock.c: ... here.
39666         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39667         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39668         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39669         * sysdeps/unix/bsd/sigvec.c: ... here.
39670         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39671         * sysdeps/unix/bsd/tcdrain.c: ... here.
39672         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39673         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39674         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39675         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39676         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39677         * sysdeps/unix/bsd/wait.c: ... here.
39678         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39679         * sysdeps/unix/bsd/wait3.c: ... here.
39680         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39681         * sysdeps/unix/bsd/waitpid.c: ... here.
39683 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39685         [BZ #16356]
39686         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39687         round-to-nearest for [!USE_AS_EXPM1L].
39688         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39689         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39690         more tests of exp and exp10.  Expect some exp10 tests to miss
39691         exceptions or fail in directed rounding modes.
39692         * math/auto-libm-test-out: Regenerated.
39693         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39694         (exp10_test_tonearest): New function.
39695         (exp10_towardzero_test_data): New array.
39696         (exp10_test_towardzero): New function.
39697         (exp10_downward_test_data): New array.
39698         (exp10_test_downward): New function.
39699         (exp10_upward_test_data): New array.
39700         (exp10_test_upward): New function.
39701         (main): Call the new functions.
39702         * sysdeps/i386/fpu/libm-test-ulps: Update.
39703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39705 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39707         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39708         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39709         * math/auto-libm-test-out: Regenerated.
39710         * math/libm-test.inc (acosh_test_data): Add more tests.
39711         (atanh_test_data): Likewise.
39712         (ceil_test_data): Likewise.
39713         (copysign_test_data): Likewise.
39714         * sysdeps/i386/fpu/libm-test-ulps: Update.
39715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39717         * timezone/checktab.awk: Update from tzcode 2013i.
39718         * timezone/private.h: Likewise.
39719         * timezone/scheck.c: Likewise.
39720         * timezone/tzfile.h: Likewise.
39721         * timezone/tzselect.ksh: Likewise.
39722         * timezone/zdump.c: Likewise.
39723         * timezone/zic.c: Likewise.
39725         * math/auto-libm-test-in: Add tests of cpow.
39726         * math/auto-libm-test-out: Regenerated.
39727         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39729         mpc_cc_c.
39730         (func_calc_desc): Add mpc_cc_c union field.
39731         (test_functions): Add cpow.
39732         (special_fill_2pi): New function.
39733         (special_real_inputs): Add 2pi.
39734         (calc_generic_results): Handle mpc_cc_c.
39735         * sysdeps/i386/fpu/libm-test-ulps: Update.
39736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39738         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39739         csqrt, ctan and ctanh.
39740         * math/auto-libm-test-out: Regenerated.
39741         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39742         (TEST_COND_x86): Likewise.
39743         (ccos_test_data): Use AUTO_TESTS_c_c.
39744         (ccosh_test_data): Likewise.
39745         (cexp_test_data): Likewise.
39746         (clog_test_data): Likewise.
39747         (csqrt_test_data): Likewise.
39748         (ctan_test_data): Likewise.
39749         (ctan_tonearest_test_data): Likewise.
39750         (ctan_towardzero_test_data): Likewise.
39751         (ctan_downward_test_data): Likewise.
39752         (ctan_upward_test_data): Likewise.
39753         (ctanh_test_data): Likewise.
39754         (ctanh_tonearest_test_data): Likewise.
39755         (ctanh_towardzero_test_data): Likewise.
39756         (ctanh_downward_test_data): Likewise.
39757         (ctanh_upward_test_data): Likewise.
39758         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39759         mpc_c_c.
39760         (func_calc_desc): Add mpc_c_c union field.
39761         (FUNC_mpc_c_c): New macro.
39762         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39763         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39764         ctanh.
39765         (special_fill_min_subnorm_p120): New function.
39766         (special_real_inputs): Add min_subnorm_p120.
39767         (calc_generic_results): Handle mpc_c_c.
39768         * sysdeps/i386/fpu/libm-test-ulps: Update.
39769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39771 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39773         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39774         (do_sin_slow): New functions.
39775         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39776         (cslow2, csloww1, csloww2): Use the new functions.
39778         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39779         Use M to change sign of result instead of X.  Assume X is
39780         positive.
39781         (csloww1): Likewise.
39782         (__sin): Adjust.
39783         (__cos): Adjust.
39785         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39786         arguments A and DA.
39787         (__sin): Adjust.
39788         (__cos): Likewise.
39790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39791         (__cos): Likewise.
39792         (sloww1): Don't adjust sign of DX.
39793         (csloww1): Likewise.
39794         (sloww2): Use X directly and don't adjust sign of DX.
39795         (csloww2): Likewise.
39797 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39799         * math/auto-libm-test-in: Add tests of cabs and carg.
39800         * math/auto-libm-test-out: Regenerated.
39801         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39802         (carg_test_data): Likewise.
39803         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39804         mpc_c_f.
39805         (func_calc_desc): Add mpc_c_f union field.
39806         (test_functions): Add cabs and carg.
39807         (calc_generic_results): Handle mpc_c_f.
39809         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39810         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39811         as a macro and a compat symbol.
39812         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39813         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39814         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39815         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39816         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39818         not use .hidden.
39819         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39820         Likewise.
39821         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39822         Likewise.
39823         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39824         Likewise.
39825         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39826         Likewise.
39827         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39828         Likewise.
39829         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39830         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39831         from GLIBC_2.3.2.
39833 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39837 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39839         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39840         trailing whitespace removed.
39841         * scripts/config.guess: Update to version 2013-11-29.
39842         * scripts/config.sub: Update to version 2013-10-01.
39844         * math/auto-libm-test-in: Add tests of sincos.
39845         * math/auto-libm-test-out: Regenerated.
39846         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39848         mpfr_f_11.
39849         (func_calc_desc): Add mpfr_f_11 union field.
39850         (test_functions): Add sincos.
39851         (calc_generic_results): Handle mpfr_f_11.
39852         * sysdeps/i386/fpu/libm-test-ulps: Update.
39853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39855 2013-12-19  Andreas Schwab  <schwab@suse.de>
39857         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39858         CALL_MCOUNT.
39859         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39860         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39861         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39863 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39865         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39866         * sysdeps/i386/fpu/libm-test-ulps: Update.
39867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39869         [BZ #16293]
39870         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39871         round-to-nearest mode when using frndint.
39872         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39873         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39874         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39875         Likewise.
39876         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39877         sinh test to fail.
39878         * math/auto-libm-test-out: Regenerated.
39879         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39880         (TEST_COND_x86): Likewise.
39881         (expm1_tonearest_test_data): New array.
39882         (expm1_test_tonearest): New function.
39883         (expm1_towardzero_test_data): New array.
39884         (expm1_test_towardzero): New function.
39885         (expm1_downward_test_data): New array.
39886         (expm1_test_downward): New function.
39887         (expm1_upward_test_data): New array.
39888         (expm1_test_upward): New function.
39889         (main): Run the new test functions.
39890         * sysdeps/i386/fpu/libm-test-ulps: Update.
39891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39893         * include/features.h: Update comment documenting feature test
39894         macros.  Mention _DEFAULT_SOURCE in comment.
39895         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39896         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39897         _BSD_SOURCE and _SVID_SOURCE.
39898         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39899         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39900         !_SVID_SOURCE]: Likewise.
39901         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39902         (__USE_POSIX_IMPLICITLY): Define.
39903         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39904         (_POSIX_SOURCE): Undefine and redefine.
39905         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39906         (_POSIX_C_SOURCE): Likewise.
39907         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39908         (Feature Test Macros): Update documentation of default features.
39910 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39912         * benchtests/Makefile: Add bench-strtok.
39913         * benchtests/bench-strtok.c: New file: strtok benchtest.
39915 2013-12-19  Allan McRae  <allan@archlinux.org>
39917         * manual/install.texi: Suppress menu for plain text output.
39918         * INSTALL: Regenerated.
39920 2013-12-18  Brooks Moses  <bmoses@google.com>
39922         [BZ #15846]
39923         * misc/getauxval.c: Include errno.h.
39924         (__getauxval): Set errno to ENOENT if the requested type is not
39925         found.
39926         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39927         don't declare with __attribute_const__.
39928         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39929         * manual/startup.texi: Document that getauxval sets errno.
39931 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39933         * math/auto-libm-test-in: Add tests of jn and yn.
39934         * math/auto-libm-test-out: Regenerated.
39935         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39936         (yn_test_data): Likewise.
39937         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39938         mpfr_if_f.
39939         (func_calc_desc): Add mpfr_if_f union field.
39940         (FUNC_mpfr_if_f): New macro.
39941         (test_functions): Add jn and yn.
39942         (calc_generic_results): Assert type of second input for
39943         mpfr_ff_f.  Handle mpfr_if_f.
39944         (output_for_one_input_case): Disable all checking for arguments
39945         fitting floating-point types in case of an integer argument.
39946         * sysdeps/i386/fpu/libm-test-ulps: Update.
39947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39950         Don't expect fegetround reference in libm.so.
39952 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39954         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39955         $(config-cflags-nofma).
39957 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39959         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39960         * math/auto-libm-test-out: Regenerated.
39962         [BZ #16338]
39963         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39964         to determine exponent and adjust argument to have exponent of -1.
39965         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39966         log2.
39967         * math/auto-libm-test-out: Regenerated.
39968         * sysdeps/i386/fpu/libm-test-ulps: Update.
39969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39971 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39973         * manual/probes.texi: Remove cases when per-thread arenas are
39974         disabled.
39976 2013-12-18  Andreas Schwab  <schwab@suse.de>
39978         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39979         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39980         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39981         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39982         * sysdeps/i386/i686/multiarch/Makefile: Update.
39983         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39985 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39987         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39988         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39990 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39992         [BZ #15968]
39993         Support TZ transition times < 00:00:00.
39994         This is needed for version-3 tz-format files; it supports time
39995         stamps past 2037 for America/Godthab (the only entry in the tz
39996         database for which this change is relevant).
39997         * manual/time.texi (TZ Variable): Document transition times
39998         from -167:59:59 through -00:00:01.
39999         * time/tzset.c (tz_rule): Time of day is now signed.
40000         (__tzset_parse_tz): Parse negative time of day.
40002         Document TZ transition times >= 25:00:00.
40003         * manual/time.texi (TZ Variable): Document transition times from
40004         25:00:00 through 167:59:59.  These are already supported, and this
40005         support will help with version-3 tz-format files.
40007         * manual/time.texi (TZ Variable): Modernize North America example
40008         to reflect current (i.e., 2007-and-later) daylight saving rules.
40010         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40012 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40014         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40015         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40018         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40019         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40020         * sysdeps/unix/bsd/clock.c: Likewise.
40021         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40022         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40023         * sysdeps/unix/bsd/init-posix.c: Likewise.
40024         * sysdeps/unix/bsd/poll.c: Likewise.
40025         * sysdeps/unix/bsd/ptsname.c: Likewise.
40026         * sysdeps/unix/bsd/seekdir.c: Likewise.
40027         * sysdeps/unix/bsd/setegid.c: Likewise.
40028         * sysdeps/unix/bsd/seteuid.c: Likewise.
40029         * sysdeps/unix/bsd/setgid.c: Likewise.
40030         * sysdeps/unix/bsd/setrgid.c: Likewise.
40031         * sysdeps/unix/bsd/setruid.c: Likewise.
40032         * sysdeps/unix/bsd/setsid.c: Likewise.
40033         * sysdeps/unix/bsd/setuid.c: Likewise.
40034         * sysdeps/unix/bsd/sigaction.c: Likewise.
40035         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40036         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40037         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40038         * sysdeps/unix/bsd/telldir.c: Likewise.
40039         * sysdeps/unix/bsd/times.c: Likewise.
40040         * sysdeps/unix/bsd/usleep.c: Likewise.
40042         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40043         ($(objpfx)libbsd-compat.a): Remove rule.
40045         * include/features.h (__FAVOR_BSD): Do not define.
40046         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40047         features conflicting with POSIX.
40048         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40049         (_BSD_SOURCE): Remove description of not being a subset of other
40050         feature test macros.
40051         * manual/job.texi (getpgrp): Do not document BSD version.
40052         (getpgid): Do not document by reference to BSD getpgrp.
40053         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40054         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40055         * signal/signal.h [__FAVOR_BSD]: Likewise.
40056         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40057         instead of making contents conditional on [__FAVOR_BSD].
40058         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40060 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40064 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40066         [BZ #16314]
40067         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40068         values below 2**-450, not 2**-500.
40069         * math/auto-libm-test-in: Don't allow spurious underflow from
40070         hypot.
40071         * math/auto-libm-test-out: Regenerated.
40073         [BZ #16316]
40074         [BZ #16330]
40075         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40076         values of ha and hb and sort them after adjusting subnormal
40077         arguments.
40078         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40079         Likewise.
40080         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40081         values of ea and eb and sort them after adjusting subnormal
40082         arguments.
40083         * math/auto-libm-test-in: Do not expect some hypot tests of
40084         subnormals to fail.  Add more hypot tests.
40085         * math/auto-libm-test-out: Regenerated.
40087 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40089         [BZ #13304]
40090         * sysdeps/sh/s_fma.c: New file.
40091         * sysdeps/sh/s_fmaf.c: New file.
40092         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40093         version.
40094         * sysdeps/sh/Implies: Add sh/soft-fp.
40096 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40098         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40099         level of indirection to members `objname', `errstring', `malloced'.
40100         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40101         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40102         it as the __longjmp argument (just pass 1 instead).
40103         (_dl_catch_error): Initialize C with argument pointers and address of
40104         volatile local ERRCODE rather than copying values out of C at return.
40106 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40108         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40109         * math/auto-libm-test-out: Regenerated.
40110         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40111         (hypot_test_data): Likewise.
40112         (pow_test_data): Likewise.
40113         (pow_tonearest_test_data): Likewise.
40114         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40115         mpfr_ff_f.
40116         (func_calc_desc): Add mpfr_ff_f union field.
40117         (FUNC_mpfr_ff_f): New macro.
40118         (test_functions): Add atan2, hypot and pow.
40119         (special_fill_min): New function.
40120         (special_fill_minus_min): Likewise.
40121         (special_fill_min_subnorm): Likewise.
40122         (special_fill_minus_min_subnorm): Likewise.
40123         (special_real_inputs): Add min, -min, min_subnorm and
40124         -min_subnorm.
40125         (calc_generic_results): Handle mpfr_ff_f.
40126         * sysdeps/i386/fpu/libm-test-ulps: Update.
40127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40129 2013-12-16  Will Newton  <will.newton@linaro.org>
40131         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40132         (Aligned Memory Blocks): Add documentation for aligned_alloc
40133         and suggest it as an alternative to posix_memalign.
40134         (Hooks for Malloc): Document __memalign_hook is also called
40135         for aligned_alloc.  (Summary of Malloc): Add summary for
40136         aligned alloc.  Document __memalign_hook is also called
40137         for aligned_alloc.
40139 2013-12-16  Will Newton  <will.newton@linaro.org>
40141         * manual/memory.texi (Malloc Examples): Clarify default
40142         alignment documentation.  Suggest posix_memalign rather
40143         than memalign or valloc.
40144         (Aligned Memory Blocks): Remove suggestion to use memalign
40145         or valloc.  Remove obsolete comment about BSD.
40146         Document memalign errno values and mark the function obsolete.
40147         Document posix_memalign returned error codes.  Mark valloc
40148         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40149         called for posix_memalign and valloc.
40150         (Summary of Malloc): Add posix_memalign to function summary.
40151         __memalign_hook is also called for posix_memalign and valloc.
40153 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40155         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40156         TAYLOR_SIN.
40157         (__sin): Adjust.
40158         (__cos): Likewise.
40159         (sloww): Use mynumber union.  Expand ternary operator into
40160         if-else statements.
40161         (cslow): use mynumber union.
40163 2013-12-16  Allan McRae  <allan@archlinux.org>
40165         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40166         * configure: Regenerated.
40168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40170         [BZ #14120]
40171         * configure.ac: Added --enable-maintainer-mode. Check for
40172         autoconf when enabled.
40173         * configure: Regenerated.
40175         * nscd/nscd.service: New file.
40176         * nscd/nscd.tmpfiles: New file.
40178 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40180         [BZ #12100]
40181         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40182         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40183         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40184         (strstr): Add __strstr_sse2_unaligned ifunc.
40185         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40186         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40187         (strcasestr): Remove __strcasestr_sse42 ifunc.
40188         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40192 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40194         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40195         * sysdeps/sh/bits/fenv.h: ... here.
40196         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40200         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40203         hypotf multiarch implementations.
40204         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40205         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40206         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40207         multiarch hypot for PPC64.
40208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40211         multiarch hypotf for PPC64.
40213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40214         modff multiarch implementations.
40215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40218         multiarch modf for PPC64.
40219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40222         multiarch modff for PPC64.
40224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40225         and logl multiarch implementations.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40229         multiarch logb for PPC64.
40230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40233         multiarch logb for PPC64.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40237         multiarch logb for PPC64.
40239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40240         isinff multiarch implementation.
40241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40242         file.
40243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40245         multiarch isinf for PPC64.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40247         file.
40248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40249         multiarch isinff for PPC64.
40251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40252         finitef multiarch implementation.
40253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40254         file.
40255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40257         multiarch finite for PPC64.
40258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40259         file.
40260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40261         multiarch finitef for PPC64.
40263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40264         lrint multiarch implementation.
40265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40266         file.
40267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40269         multiarch llrint for PPC64.
40270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40271         multiarch lrint for PPC64.
40273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40274         copysignf multiarch implementation.
40275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40276         file.
40277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40278         file.
40279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40280         multiarch copysign for PPC64.
40281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40282         multiarch copysignf for PPC64.
40284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40285         multiarch implementation.
40286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40287         file.
40288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40289         file.
40290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40291         file.
40292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40293         file.
40294         multiarch llround for PPC64.
40295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40296         multiarch trunc for PPC64.
40297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40298         multiarch truncf for PPC64.
40300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40301         multiarch implementation.
40302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40303         file.
40304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40305         file.
40306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40307         file.
40308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40309         file.
40310         multiarch llround for PPC64.
40311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40312         multiarch round for PPC64.
40313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40314         multiarch roundf for PPC64.
40316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40317         multiarch implementation.
40318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40319         file.
40320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40321         file.
40322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40323         file.
40324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40325         file.
40326         multiarch llround for PPC64.
40327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40328         multiarch floor for PPC64.
40329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40330         multiarch floorf for PPC64.
40332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40333         multiarch implementation.
40334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40335         file.
40336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40337         file.
40338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40339         file.
40340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40341         file.
40342         multiarch llround for PPC64.
40343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40344         multiarch ceil for PPC64.
40345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40346         multiarch ceilf for PPC64.
40348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40349         multiarch implementation.
40350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40351         file.
40352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40353         file.
40354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40355         file.
40356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40357         multiarch llround for PPC64.
40358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40359         multiarch lround for PPC64.
40361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40362         multiarch implementation.
40363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40366         file.
40367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40370         multiarch isnan for PPC64.
40371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40372         multiarch isnanf for PPC64.
40374         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40375         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40376         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40377         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40378         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40381         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40382         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40383         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40384         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40387         multiarch implementations.
40388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40389         (__libc_ifunc_impl_list): Likewise.
40390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40391         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40393         multiarch stpcpy for PPC64.
40395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40396         multiarch implementations.
40397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40398         (__libc_ifunc_impl_list): Likewise.
40399         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40400         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40401         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40402         multiarch strcpy for PPC64.
40404         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40405         redefine function name.
40406         (_wordcopy_fwd_dest_aligned): Likewise.
40407         (_wordcopy_bwd_aligned): Likewise.
40408         (_wordcopy_bwd_dest_aligned): Likewise.
40409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40410         multiarch implementations.
40411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40412         (__libc_ifunc_impl_list): Likewise.
40413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40414         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40415         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40416         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40417         multiarch wcscpy for PPC64.
40419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40420         multiarch implementations.
40421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40422         (__libc_ifunc_impl_list): Likewise.
40423         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40424         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40425         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40426         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40427         multiarch wcscpy for PPC64.
40429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40430         multiarch implementations.
40431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40432         (__libc_ifunc_impl_list): Likewise.
40433         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40434         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40435         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40436         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40437         multiarch wcsrchr for PPC64.
40439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40440         multiarch implementations.
40441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40442         (__libc_ifunc_impl_list): Likewise.
40443         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40444         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40445         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40446         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40447         multiarch wcschr for PPC64.
40449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40450         multiarch implementations.
40451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40452         (__libc_ifunc_impl_list): Likewise.
40453         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40454         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40455         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40456         multiarch strchrnul for PPC64.
40458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40459         implementations.
40460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40461         (__libc_ifunc_impl_list): Likewise.
40462         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40463         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40464         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40465         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40466         strchr for PPC64.
40468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40469         implementations.
40470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40471         (__libc_ifunc_impl_list): Likewise.
40472         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40473         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40474         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40475         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40476         strncmp for PPC64.
40478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40479         multiarch implementations.
40480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40481         (__libc_ifunc_impl_list): Likewise.
40482         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40483         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40484         strncasecmp for PPC64.
40485         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40486         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40487         multiarch strncasecmp_l for PPC64.
40489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40490         multiarch implementations.
40491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40492         (__libc_ifunc_impl_list): Likewise.
40493         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40494         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40495         multiarch strcasecmp for PPC64.
40496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40497         file.
40498         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40499         multiarch strcasecmp_l for PPC64.
40501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40502         implementations.
40503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40504         (__libc_ifunc_impl_list): Likewise.
40505         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40506         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40507         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40508         strnlen for PPC64.
40510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40511         implementations.
40512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40513         (__libc_ifunc_impl_list): Likewise.
40514         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40515         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40516         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40517         strlen for PPC64.
40519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40520         implementations.
40521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40522         (__libc_ifunc_impl_list): Likewise.
40523         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40524         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40525         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40526         rawmemrchr for PPC64.
40528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40529         implementation.
40530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40531         (__libc_ifunc_impl_list): Likewise.
40532         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40533         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40534         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40535         memrchr for PPC64.
40537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40538         implementation.
40539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40540         (__libc_ifunc_impl_list): Likewise.
40541         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40542         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40543         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40544         memchr for PPC64.
40546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40547         implementation.
40548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40549         (__libc_ifunc_impl_list): Likewise.
40550         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40551         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40552         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40553         mempcpy for PPC64.
40555         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40556         avoid cretion of __bzero symbol.
40557         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40558         Likewise.
40559         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40560         Likewise.
40561         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40562         Likewise.
40563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40564         multiarch implementations.
40565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40566         (__libc_ifunc_impl_list): Likewise.
40567         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40568         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40569         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40570         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40571         bzero for PPC32.
40572         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40573         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40574         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40575         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40576         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40577         memset for PPC64.
40578         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40580         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40582         implementations.
40583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40584         (__libc_ifunc_impl_list): Likewise.
40585         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40586         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40587         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40588         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40589         memcmp for PPC64.
40591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40592         multiarch for POWER/PPC64.
40593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40594         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40595         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40596         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40601         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40602         memcpy for PPC64.
40604         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40605         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40606         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40607         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40608         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40609         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40610         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40611         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40612         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40613         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40614         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40615         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40616         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40617         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40618         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40627 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40629         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40631 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40633         * benchtests/Makefile (bench): Add exp2 and log2.
40634         (LDLIBS-bench-exp2): Add -lm.
40635         (LDLIBS-bench-log2): Likewise.
40636         * benchtests/exp2-inputs: New inputs file.
40637         * benchtests/log2-inputs: New inputs file.
40638         * benchtests/log-inputs: Add new inputs.
40639         * benchtests/tan-inputs: Likewise.
40641 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40643         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40644         definition...
40645         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40646         (csloww2): ... from here.
40648         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40649         instead of structures.
40650         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40651         (POLYNOMIAL): Likewise.
40652         (TAYLOR_SLOW): Likewise.
40653         (__sin): Likewise.
40654         (__cos): Likewise.
40655         (slow1): Likewise.
40656         (slow2): Likewise.
40657         (sloww): Likewise.
40658         (sloww1); Likewise.
40659         (sloww2): Likewise.
40660         (bsloww1): Likewise.
40661         (bsloww2): Likewise.
40662         (cslow2): Likewise.
40663         (csloww): Likewise.
40664         (csloww1): Likewise.
40665         (csloww2): Likewise.
40667 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40669         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40670         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40671         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40672         * malloc/hooks.c (realloc_check): Likewise.
40674         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40675         * malloc/arena.c: Remove PER_THREAD conditional.
40676         [!PER_THREAD]: Remove code.
40677         (ptmalloc_unlock_all2): Likewise.
40678         (ptmalloc_init): Likewise.
40679         (_int_new_arena): Likewise.
40680         (arena_get2): Likewise.
40681         * malloc/hooks.c (__malloc_get_state): Likewise.
40682         (__malloc_set_state): Likewise.
40683         * malloc/malloc.c: Likewise.
40684         (struct malloc_state): Likewise.
40685         (struct malloc_par): Likewise.
40686         (__libc_realloc): Likewise.
40687         (__libc_mallopt): Likewise.
40689 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40691         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40693 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40695         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40696         macro to a function.  Check for zero perturb_byte.
40697         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40699         * malloc/malloc.c: (force_reg): Remove.
40700         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40701         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40702         force_reg by atomic_forced_read.
40703         * malloc/arena.c (ptmalloc_init): Likewise.
40704         * malloc/hooks.c (top_check): Likewise.
40706 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40710 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40714 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40716         * math/auto-libm-test-in: Add tests of lgamma.
40717         * math/auto-libm-test-out: Regenerated.
40718         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40719         (M_LOG_2_SQRT_PIl): Likewise.
40720         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40721         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40722         mpfr_f_f1.
40723         (func_calc_desc): Add mpfr_f_f1 union field.
40724         (ARGS1): New macro.
40725         (ARGS2): Likewise.
40726         (ARGS3): Likewise.
40727         (ARGS4): Likewise.
40728         (RET1): Likewise.
40729         (RET2): Likewise.
40730         (CALC): Likewise.
40731         (FUNC): Likewise.
40732         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40733         (test_functions): Add lgamma.
40734         (calc_generic_results): Handle mpfr_f_f1.
40735         * sysdeps/i386/fpu/libm-test-ulps: Update.
40736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40738 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40741         __mpn_add_n for PowerPC64/POWER7.
40742         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40743         __mpn_sub_n for PowerPC64/POWER7.
40745         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40746         __mpn_addmul_1 for PowerPC64.
40747         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40748         __mpn_submul_1 for PowerPC64.
40749         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40750         for PowerPC64.
40751         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40752         for PowerPC64.
40754 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40756         [BZ #15089]
40757         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40759 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40761         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40763         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40764         add multiarch folders.
40765         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40766         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40767         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40768         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40769         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40770         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40771         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40772         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40773         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40774         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40775         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40784         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40786         New file.
40787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40788         New file.
40789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40790         multiarch __ieee754_hypot for PowerPC32.
40791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40792         New file.
40793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40794         New file.
40795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40796         multiarch __ieee754_hypotf for PowerPC32.
40798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40799         long_double_symbol only if __logbl is defined.
40800         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40801         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40803         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40805         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40806         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40807         path for implementation.
40808         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40809         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40811         logb, and logbl multiarch implementations for PowerPC32.
40812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40813         file.
40814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40815         file.
40816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40817         multiarch logb for PowerPC32.
40818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40819         file.
40820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40821         file.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40823         multiarch logbf for PowerPC32.
40824         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40826         file.
40827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40828         multiarch logbl implementation for PowerPC32.
40830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40831         and modff multiarch implementations.
40832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40833         New file.
40834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40835         New file.
40836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40837         multiarch modf for PowerPC32.
40838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40839         New file.
40840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40841         New file.
40842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40843         multiarch modff for PowerPC32.
40845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40846         and lrintf multiarch implementations.
40847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40848         New file.
40849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40850         New file.
40851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40852         multiarch lrint for PowerPC32.
40853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40854         file: multiarch lrintf for PowerPC32.
40856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40857         and lroundf multiarch implementations.
40858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40859         New file.
40860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40861         New file.
40862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40863         New file.
40864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40865         multiarch lround for PowerPC32.
40866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40867         file: multiarch lroundf for PowerPC32.
40869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40870         copysign and copysignf multiarch implementations.
40871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40872         New file.
40873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40874         New file.
40875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40876         file: multiarch copysign for PowerPC32.
40877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40878         file: multiarch copysignf for PowerPC32.
40880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40881         and truncf multiarch implementations.
40882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40883         New file.
40884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40885         file.
40886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40887         multiarch trunc for PowerPC32.
40888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40889         New file.
40890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40891         New file.
40892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40893         multiarch truncf for PowerPC32.
40895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40896         and roundf multiarch implementations.
40897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40898         New file.
40899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40900         file.
40901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40902         multiarch round for PowerPC32.
40903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40904         New file.
40905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40906         New file.
40907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40908         multiarch roundf for PowerPC32.
40910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40911         and floorf multiarch implementations.
40912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40913         New file.
40914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40915         file.
40916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40917         multiarch floor for PowerPC32.
40918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40919         New file.
40920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40921         New file.
40922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40923         multiarch floorf for PowerPC32.
40925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40926         and ceilf multiarch implementations.
40927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40928         New file.
40929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40930         file.
40931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40932         multiarch ceil for PowerPC32.
40933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40934         New file.
40935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40936         file.
40937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40938         multiarch ceilf for PowerPC32.
40940         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40941         is defined.
40942         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40943         FINITEF is defined.
40944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40945         and finitef multiarch implementations.
40946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40947         New file.
40948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40949         file.
40950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40951         multiarch finite for PowerPC32.
40952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40953         New file.
40954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40955         file: multiarch finitef for PowerPC32.
40957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40958         and isinff multiarch implementations.
40959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40960         file.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40962         file.
40963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40964         multiarch isinf for PowerPC32.
40965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40966         New file.
40967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40968         multiarch isinff for PowerPC32.
40970         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40971         alias when __isnan is defined.
40972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40973         and isnanf multiarch implementations.
40974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40975         file.
40976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40977         file.
40978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40979         file.
40980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40981         file.
40982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40983         multiarch isnan for PowerPC32.
40984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40985         New file.
40986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40987         New file.
40988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40989         multiarch isnanf for PowerPC32.
40991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40992         and sqrtf multiarch implementations.
40993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40994         file.
40995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40996         file.
40997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40998         multiarch sqrt for PowerPC32.
40999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41000         file.
41001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41002         file.
41003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41004         multiarch sqrtf for PowerPC32.
41006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41007         and llroundf multiarch implementations.
41008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41009         New file.
41010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41011         New file.
41012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41013         New file.
41014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41015         file: multiarch llround for PowerPC32.
41016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41017         file: multiarch llroundf for PowerPC32.
41019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41020         multiarch PowerPC32 fpu implementations.
41021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41022         New file.
41023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41024         New file.
41025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41026         multiarch llrint for PowerPC32.
41027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41028         New file.
41029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41030         New file.
41031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41032         file.
41034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41036         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41037         file.
41038         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41039         file.
41040         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41041         file.
41042         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41043         multiarch wordcopy for PPC32.
41044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41045         wordcopy objects.
41046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41047         (__libc_ifunc_impl_list): Likewise.
41048         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41049         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41050         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41051         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41052         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41053         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41055         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41057         file.
41058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41059         file.
41060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41061         file.
41062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41063         multiarch wcscpy for PPC32.
41064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41065         multiarch objects.
41066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41067         (__libc_ifunc_impl_list): Likewise.
41068         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41069         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41070         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41071         sysdeps/powerpc/power6/wcscpy.c.
41073         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41075         file.
41076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41077         file.
41078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41079         file.
41080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41081         multiarch wcsrchr for PPC32.
41082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41083         multiarch objects.
41084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41085         (__libc_ifunc_impl_list): Likewise.
41086         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41087         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41088         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41089         sysdeps/powerpc/power6/wcsrchr.c.
41091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41092         file.
41093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41094         file.
41095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41097         multiarch wcschr for PPc32.
41098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41099         multiarch objects.
41100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41101         (__libc_ifunc_impl_list): Likewise.
41102         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41103         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41104         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41105         sysdeps/powerpc/power6/wcschr.c.
41107         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41108         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41109         file.
41110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41111         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41112         file: multiarch strchr for PPC32.
41113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41114         multiarch objects.
41115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41116         (__libc_ifunc_impl_list): Likewise.
41118         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41119         name.
41120         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41121         file.
41122         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41123         file.
41124         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41125         multiarch strchrnul for PPC32.
41126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41127         multiarch objects.
41128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41129         (__libc_ifunc_impl_list): Likewise.
41131         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41132         file.
41133         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41134         multiarch strncasecmp for PPC32.
41135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41136         file.
41137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41138         multiarch strncasecmp_l for PPC32.
41139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41140         strncasecmp multiarch objects.
41141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41142         (__libc_ifunc_impl_list): Likewise.
41144         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41145         file.
41146         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41147         multiarch strncasecmp for PPC32.
41148         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41149         New file.
41150         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41151         multiarch strcasecmp_l for PPC32.
41152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41153         multiarch objects.
41154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41155         (__libc_ifunc_impl_list): Likewise.
41157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41158         file.
41159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41160         file.
41161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41162         multiarch strncmp for PPC32.
41163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41164         multiarch objects.
41165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41166         (__libc_ifunc_impl_list): Likewise.
41168         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41169         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41170         file.
41171         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41172         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41174         multiarch objects.
41175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41176         (__libc_ifunc_impl_list): Likewise.
41178         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41179         file.
41180         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41181         file.
41182         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41184         multiarch objects.
41185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41186         (__libc_ifunc_impl_list): Likewise.
41188         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41189         file.
41190         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41191         file.
41192         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41193         multiarch rawmemchr for PPC32.
41194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41195         multiarch objects.
41196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41197         (__libc_ifunc_impl_list): Likewise.
41199         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41200         file.
41201         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41202         file.
41203         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41204         file: memrchr multiarch for PPC32.
41205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41206         multiarch objects.
41207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41208         (__libc_ifunc_impl_list): Likewise.
41210         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41212         file.
41213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41214         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41215         multiarch memchr for PPC32.
41216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41217         multiarch objects.
41218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41219         (__libc_ifunc_impl_list): Likewise.
41221         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41222         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41223         file.
41224         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41225         file.
41226         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41227         file: multiarch mempcpy for PPC32.
41228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41229         multiarch objects.
41230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41231         (__libc_ifunc_impl_list): Likewise.
41233         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41234         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41235         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41236         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41237         multiarch bzero for PPC32.
41238         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41239         file.
41240         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41241         file.
41242         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41243         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41244         file: multiarch memset for PPC32.
41245         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41247         memset multiarch objects.
41248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41249         (__libc_ifunc_impl_list): Likewise.
41251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41252         file.
41253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41255         memcmp for PPC32.
41256         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41258         multiarch objects.
41259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41260         (__libc_ifunc_impl_list): Likewise.
41262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41265         file.
41266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41267         file.
41268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41269         file.
41270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41271         multiarch memcpy for PPC32.
41272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41273         multiarch objects.
41274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41275         (__libc_ifunc_impl_list): Likewise.
41277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41278         support multiarch for POWER/PPC32.
41279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41280         Likewise.
41281         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41283         Implies file to make multiarch folder appers before the fpu and
41284         default folder for power4 configuration.
41286 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41288         * scripts/bench.pl: Append volatile keyword to type.
41290 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41292         * sysdeps/sh/sotruss-lib.c: New file.
41293         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41295 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41299 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41301         [BZ #6810]
41302         * math/w_tgamma.c: Include <errno.h>.
41303         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41304         * math/w_tgammaf.c: Include <errno.h>.
41305         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41306         * math/w_tgammal.c: Include <errno.h>.
41307         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41308         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41309         underflow.  Add more tgamma tests.
41310         * math/auto-libm-test-out: Regenerated.
41311         * sysdeps/i386/fpu/libm-test-ulps: Update.
41312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41314         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41315         sin, sinh, tan, tanh, tgamma, y0 and y1.
41316         * math/auto-libm-test-out: Regenerated.
41317         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41318         (TEST_COND_x86): Likewise.
41319         (M_E2l): Remove macro.
41320         (M_E3l): Likewise.
41321         (M_2_SQRT_PIl): Likewise.
41322         (M_SQRT_PIl): Likewise.
41323         (M_1_DIV_El): Likewise.
41324         (log_test_data): Use AUTO_TESTS_f_f.
41325         (log10_test_data): Likewise.
41326         (log1p_test_data): Likewise.
41327         (log2_test_data): Likewise.
41328         (sin_test_data): Likewise.
41329         (sin_tonearest_test_data): Likewise.
41330         (sin_towardzero_test_data): Likewise.
41331         (sin_downward_test_data): Likewise.
41332         (sin_upward_test_data): Likewise.
41333         (sinh_test_data): Likewise.
41334         (sinh_tonearest_test_data): Likewise.
41335         (sinh_towardzero_test_data): Likewise.
41336         (sinh_downward_test_data): Likewise.
41337         (sinh_upward_test_data): Likewise.
41338         (tan_test_data): Likewise.
41339         (tan_tonearest_test_data): Likewise.
41340         (tan_towardzero_test_data): Likewise.
41341         (tan_downward_test_data): Likewise.
41342         (tan_upward_test_data): Likewise.
41343         (tanh_test_data): Likewise.
41344         (tgamma_test_data): Likewise.
41345         (y0_test_data): Likewise.
41346         (y1_test_data): Likewise.
41347         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41348         (special_real_inputs): Add pi/4.
41349         * sysdeps/i386/fpu/libm-test-ulps: Update.
41350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41352 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41354         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41355         "longjmp_target" static probes.
41356         (__longjmp): Rename to __longjmp_symbol.
41357         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41358         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41359         on which longjmp to generate.
41360         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41361         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41362         probe.
41363         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41364         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41365         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41366         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41367         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41368         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41370         __longjmp_symbol based on which __longjmp to generate.
41371         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41372         probe.
41373         (setjmp): Rename to setjmp_symbol.
41374         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41375         (_setjmp): Rename to _setjmp_symbol.
41376         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41377         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41378         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41379         which setjmp to generate.
41380         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41381         "longjmp_target" static probes.
41383 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41385         * benchtests/README: Add note about output arguments.
41386         * benchtests/bench-sincos.c: Remove file.
41387         * benchtests/sincos-inputs: New file.
41388         * scripts/bench.pl: Identify output arguments and define
41389         static variables for them.
41391         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41393         [BZ #15941]
41394         * Makefile (INSTALL): Add install-plain.texi as the primary
41395         dependency.
41396         * manual/install-plain.texi: New file.
41397         * manual/install.texi: Include node directive only for
41398         non-plaintext output.
41400 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41402         * stdlib/longlong.h: Update from GCC.
41404         [BZ #6807]
41405         [BZ #15901]
41406         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41407         * math/w_j0f.c (y0f): Likewise.
41408         * math/w_j0l.c (__y0l): Likewise.
41409         * math/w_j1.c (y1): Likewise.
41410         * math/w_j1f.c (y1f): Likewise.
41411         * math/w_j1l.c (__y1l): Likewise.
41412         * math/w_jn.c (yn): Likewise.
41413         * math/w_jnf.c (ynf): Likewise.
41414         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41415         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41416         value for Bessel function domain errors outside _SVID_ mode.
41417         Adjust sign of return value for yn (negative integer, 0).
41418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41419         by zero in return for negative x and set sign appropriately for
41420         negative n.
41421         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41422         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41423         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41424         expectations in error cases.
41425         (y1_test_data): Likewise.
41426         (yn_test_data): Likewise.
41427         * sysdeps/i386/fpu/libm-test-ulps: Update.
41428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41430 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41432         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41433         "64" to "64-v1".  Add "64-v2".
41434         (abi-64-options): Rename to ...
41435         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41436         (abi-64-condition): Rename to ...
41437         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41438         (abi-64-ld-soname): Rename to ...
41439         (abi-64-v1-ld-soname): ... this.
41440         (abi-64-v2-options): Define.
41441         (abi-64-v2-condition): Likewise.
41442         (abi-64-v2-ld-soname): Likewise.
41443         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41444         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41449 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41450             Alan Modra  <amodra@gmail.com>
41452         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41453         New versions for use with the ELFv2 ABI.
41454         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41455         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41456         declaration.
41457         (struct La_ppc64v2_retval): Likewise.
41458         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41459         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41460         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41461         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41462         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41463         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41464         Do not save or restore CR.
41465         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41466         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41467         return values for ELFv2 ABI.  Fix location of FPR return registers.
41468         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41469         updated values for _CALL_ELF == 2.
41470         (La_regs, La_retval, int_retval): Likewise.
41472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41474         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41475         (FRAME_MIN_SIZE_PARM): Likewise.
41476         (FRAME_BACKCHAIN): Likewise.
41477         (FRAME_CR_SAVE): Likewise.
41478         (FRAME_LR_SAVE): Likewise.
41479         (FRAME_TOC_SAVE): Likewise.
41480         (FRAME_PARM_SAVE): Likewise.
41481         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41482         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41483         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41484         (call_mcount_parm_offset): New macro.
41485         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41486         (PROF): Use symbolic stack frame offsets.
41487         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41488         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41489         Redefine in terms of FRAME_MIN_SIZE.
41490         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41491         (_dl_profile_resolve): Likewise.  Update comment.
41492         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41493         symbols stack frame offsets.
41494         (__sigsetjmp): Likewise.
41495         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41496         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41497         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41498         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41501         (FRAME_BACKCHAIN): Remove.
41502         (FRAME_CR_SAVE): Likewise.
41503         (FRAME_LR_SAVE): Likewise.
41504         (FRAME_COMPILER_DW): Likewise.
41505         (FRAME_LINKER_DW): Likewise.
41506         (FRAME_TOC_SAVE): Likewise.
41507         (FRAME_PARM_SAVE): Likewise.
41508         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41509         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41510         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41512         (CHECK_SP): Use symbolic stack frame offsets.
41513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41514         zone" instead of caller's parameter save area for temp storage.
41515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41516         Likewise.  Also, use symbolic stack frame offsets.
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41518         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41519         our own stack frame instead of the caller's.
41520         (__socket): Use symbolic stack frame offsets.
41522 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41523             Alan Modra  <amodra@gmail.com>
41525         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41526         Define.
41527         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41528         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41529         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41530         New function.
41531         (elf_machine_fixup_plt): Call it.
41532         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41533         reloc arguments.
41534         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41535         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41536         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41537         r2 before calling target.
41539 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41540             Alan Modra  <amodra@gmail.com>
41542         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41543         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41544         versions of macros to support ELFv2 ABI.
41545         (LOCALENTRY): New macro.
41546         (ENTRY, EALIGN): Use it.
41547         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41548         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41549         fall through into ENTRY entry point.
41550         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41551         Only define if _CALL_ELF != 2.
41553         (elf_machine_matches_host): Verify ABI version matches.
41554         (RTLD_START): Use LOCALENTRY.
41555         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41556         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41557         (PLT_ENTRY_WORDS): New macro.
41558         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41559         (elf_machine_runtime_setup): Support ELFv2 ABI.
41560         (elf_machine_fixup_plt): Likewise.
41561         (elf_machine_plt_conflict): Likewise.
41562         (resolve_ifunc): Likewise.
41563         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41564         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41565         Likewise.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41567         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41569         (makecontext): Support ELFv2 ABI.
41570         * elf/elf.h (EF_PPC64_ABI): Define.
41572 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41574         * sysdeps/powerpc/powerpc64/sysdep.h
41575         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41576         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41577         (ENTRY) [ASSEMBLER]: ... but instead here ...
41578         (EALIGN) [ASSEMBLER]: ... and here.
41579         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41580         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41581         (ENTRY_2) [!ASSEMBLER]: Use it.
41582         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41583         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41584         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41585         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41586         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41588         Use PPC64_LOAD_FUNCPTR.
41590         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41592 2013-12-04  Alan Modra  <amodra@gmail.com>
41594         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41595         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41596         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41597         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41600         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41601         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41602         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41603         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41604         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41609         (__makecontext): Fix incorrect CFI when backtracing out of
41610         context created via makecontext.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41612         (__setcontext): Fix incorrect CFI during switch to new context.
41613         (__novec_setcontext): Likewise.
41615 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41617         [BZ #4772]
41618         * time/strptime_l.c (__strptime_internal): Allow modifiers
41619         in strptime.
41620         * time/tst-strptime.c (day_tests): Add testcase.
41622 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41624         * scripts/bench.pl: Skip over blank lines.
41626 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41628         [BZ #926]
41629         * manual/time.texi (Calendar Time): Clarify what timezone functions
41630         use.
41632 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41636 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41638         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41639         implementation.
41640         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41641         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41642         * debug/memset_chk.c (__memset_chk): Likewise.
41643         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41644         * debug/strncpy_chk.c: Likewise.
41646 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41648         [BZ #15268]
41649         [BZ #15425]
41650         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41651         (__ieee754_exp): For possibly underflowing results, check size of
41652         result and force underflow exception if required.
41653         * math/auto-libm-test-in: Add more tests of exp.
41654         * math/auto-libm-test-out: Regenerated.
41655         * sysdeps/i386/fpu/libm-test-ulps: Update.
41656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658         [BZ #16283]
41659         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41660         * math/w_exp2f.c (__exp2f): Likewise.
41661         * math/w_exp2l.c (__exp2l): Likewise.
41662         * math/auto-libm-test-in: Do not allow missing errno on exp2
41663         underflow.
41664         * math/auto-libm-test-out: Regenerated.
41666 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41668         [BZ #16274]
41669         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41670         handle filename validation.
41671         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41672         (do_open): Delete.
41674 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41676         [BZ #6786]
41677         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41678         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41679         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41680         <float.h>.
41681         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41682         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41683         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41685         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41686         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41687         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41688         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41689         Add more erfc tests.
41690         * math/auto-libm-test-out: Regenerated.
41691         * sysdeps/i386/fpu/libm-test-ulps: Update.
41692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41694         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41695         exp2, expm1, j0 and j1.
41696         * math/auto-libm-test-out: Regenerated.
41697         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41698         (erfc_test_data): Likewise.
41699         (exp_test_data): Likewise.
41700         (exp_tonearest_test_data): Likewise.
41701         (exp_towardzero_test_data): Likewise.
41702         (exp_downward_test_data): Likewise.
41703         (exp_upward_test_data): Likewise.
41704         (exp10_test_data): Likewise.
41705         (exp2_test_data): Likewise.
41706         (expm1_test_data): Likewise.
41707         (j0_test_data): Likewise.
41708         (j1_test_data): Likewise.
41709         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41710         (input_flag_type): Add flag_xfail_rounding.
41711         (input_flags): Add xfail-rounding.
41712         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41713         (output_for_one_input_case): Handle flag_xfail_rounding.
41714         * sysdeps/i386/fpu/libm-test-ulps: Update.
41715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41717 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41719         [BZ #16289]
41720         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41721         division by 0.
41723 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41725         [BZ #16195]
41726         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41727         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41728         (STAP_PROBE0): New macro.
41729         (STAP_PROBE1): Likewise.
41730         (STAP_PROBE2): Likewise.
41731         (STAP_PROBE3): Likewise.
41732         (STAP_PROBE4): Likewise.
41734 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41736         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41738 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41740         * benchtests/Makefile (bench): Add sqrt.
41741         (LDLIBS-bench-sqrt): New.
41742         * benchtests/sqrt-input: New.
41744 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41746         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41747         (GAIH_EAI): Likewise.
41748         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41749         (gaih_inet): Likewise.
41750         (getaddrinfo): Don't use GAIH_EAI.
41752         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41753         (struct gaih): Remove definition.
41755 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41757         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41758         Use HERRNOP directly.
41760 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41764 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41766         * math/gen-auto-libm-tests.c (test_functions): Add more
41767         single-argument functions.
41768         (special_fill_pi_2): New function.
41769         (special_fill_minus_pi_2): Likewise.
41770         (special_fill_pi_6): Likewise.
41771         (special_fill_minus_pi_6): Likewise.
41772         (special_fill_pi_3): Likewise.
41773         (special_fill_2pi_3): Likewise.
41774         (special_fill_e): Likewise.
41775         (special_fill_1_e): Likewise.
41776         (special_fill_e_minus_1): Likewise.
41777         (special_real_inputs): Add more special inputs.
41778         (output_for_one_input_case): Do not require ERANGE on underflow to
41779         zero if round-to-nearest result does not underflow to zero, unless
41780         exact results required.
41781         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41782         atan, atanh, cbrt, cos and cosh.
41783         * math/auto-libm-test-out: Regenerated.
41784         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41785         (acos_tonearest_test_data): Likewise.
41786         (acos_towardzero_test_data): Likewise.
41787         (acos_downward_test_data): Likewise.
41788         (acos_upward_test_data): Likewise.
41789         (acosh_test_data): Likewise.
41790         (asin_test_data): Likewise.
41791         (asin_tonearest_test_data): Likewise.
41792         (asin_towardzero_test_data): Likewise.
41793         (asin_upward_test_data): Likewise.
41794         (asinh_test_data): Likewise.
41795         (atan_test_data): Likewise.
41796         (atanh_test_data): Likewise.
41797         (cbrt_test_data): Likewise.
41798         (cos_test_data): Likewise.
41799         (cos_tonearest_test_data): Likewise.
41800         (cos_towardzero_test_data): Likewise.
41801         (cos_downward_test_data): Likewise.
41802         (cos_upward_test_data): Likewise.
41803         (cosh_test_data): Likewise.
41804         (cosh_tonearest_test_data): Likewise.
41805         (cosh_towardzero_test_data): Likewise.
41806         (cosh_downward_test_data): Likewise.
41807         (cosh_upward_test_data): Likewise.
41808         * sysdeps/i386/fpu/libm-test-ulps: Update.
41809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41811 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41813         [BZ #6787]
41814         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41815         * math/w_exp10f.c (__exp10f): Likewise.
41816         * math/w_exp10l.c (__exp10l): Likewise.
41817         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41818         errno settings in existing tests.
41820         [BZ #14032]
41821         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41822         precision control set to double precision.
41823         * sysdeps/i386/fpu/w_sqrt.c: New file.
41824         * math/auto-libm-test-in: Add more tests.
41825         * math/auto-libm-test-out: Update.
41827         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41828         (sqrt_test_tonearest): New function.
41829         (sqrt_towardzero_test_data): New variable.
41830         (sqrt_test_towardzero): New function.
41831         (sqrt_downward_test_data): New variable.
41832         (sqrt_test_downward): New function.
41833         (sqrt_upward_test_data): New variable.
41834         (sqrt_test_upward): New function.
41835         (main): Call the new functions.
41837         * math/gen-auto-libm-tests.c: New file.
41838         * math/auto-libm-test-in: Likewise.
41839         * math/auto-libm-test-out: New generated file.
41840         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41841         variables.
41842         (%beautify): Add generated representations of zero.
41843         (top level): Set $auto_input and call parse_auto_input.
41844         (beautify): Remove trailing "f" from hex float constants.
41845         (parse_args): Handle XFAIL_TEST.
41846         (convert_condition): New function.
41847         (or_value): Likewise.
41848         (or_cond_value): Likewise.
41849         (generate_testfile): Handle AUTO_TESTS_* lines.
41850         (parse_auto_input): New function.
41851         * math/libm-test.inc (XFAIL_TEST): New macro.
41852         (ERRNO_UNCHANGED): Update value.
41853         (ERRNO_EDOM): Likewise.
41854         (ERRNO_ERANGE): Likewise.
41855         (IGNORE_RESULT): Likewise.
41856         (TEST_COND_flt_32): New macro.
41857         (TEST_COND_dbl_64): Likewise.
41858         (TEST_COND_ldbl_96_intel): Likewise.
41859         (TEST_COND_ldbl_96_m68k): Likewise.
41860         (TEST_COND_ldbl_128): Likewise.
41861         (TEST_COND_ldbl_128ibm): Likewise.
41862         (TEST_COND_long32): Likewise.
41863         (TEST_COND_long64): Likewise.
41864         (TEST_COND_before_rounding): Likewise.
41865         (TEST_COND_after_rounding): Likewise.
41866         (enable_test): Handle XFAIL_TEST flag.
41867         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41868         with finite results.
41869         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41870         auto-libm-test-out.
41872 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41873             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41875         [BZ #16214]
41876         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41877         __tls_get_addr_internal instead of __tls_get_offset in order to
41878         avoid GOT pointer dependency.  Make rtld export
41879         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41880         __tls_get_addr since we are a __tls_get_offset platform.
41881         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41882         GOT pointer being set up before.
41883         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41885 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41887         * manual/math.texi (Errors in Math Functions): Document accuracy
41888         goals.
41890         [BZ #15004]
41891         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41892         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41895         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41897         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41904         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41905         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41906         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41908         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41909         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41910         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41911         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41912         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41913         Likewise.
41914         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41915         Likewise.
41916         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41917         Likewise.
41918         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41919         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41920         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41921         atomic-feupdateenv and flt-rounds.
41922         * sysdeps/powerpc/nofpu/Versions (libc): Add
41923         __atomic_feholdexcept, __atomic_feclearexcept,
41924         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41925         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41926         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41927         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41928         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41929         here.
41930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41931         Update.
41933         * manual/arith.texi (FP Exceptions): Document that exceptions may
41934         not be raised when matherr is used.
41935         (Math Error Reporting): Document overflow in directed rounding
41936         modes.  Document that errno may not be set when finite values are
41937         returned on overflow.  Document intent to set errno on underflow
41938         only for underflow to zero.
41940         [BZ #16271]
41941         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41942         round-to-nearest then adjust result for other rounding modes.
41943         * include/fenv.h (fegetround): Use libm_hidden_proto.
41944         * math/fegetround.c (fegetround): Use libm_hidden_def.
41945         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41946         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41947         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41949         Likewise.
41950         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41951         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41952         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41953         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41955 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41957         [BZ #16077]
41958         * nss/Versions (libnss_files): Add
41959         _nss_files_gethostbyname3_r.
41960         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41961         New function.
41962         (HOST_DB_LOOKUP): Remove macro.
41963         (_nss_files_gethostbyname_r): Implement function without the
41964         HOST_DB_LOOKUP macro.
41965         (_nss_files_gethostbyname2_r): Likewise.
41967 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41969         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41971 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41973         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41974         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41975         warning.
41977 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41979         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41980         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41981         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41982         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41983         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41984         __fe_nomask_env_priv and attribute_hidden.
41985         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41986         (libc_feupdateenv_test_ppc): Likewise.
41987         (libc_feresetround_ppc): Likewise.
41988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41989         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41990         compat_symbol macro.
41991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41992         (__fe_nomask_env): Likewise.
41993         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41995 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41997         * string/Makefile: Remove ifunc tests.
41998         * string/test-string.h: Define TEST_IFUNC.
41999         * string/test-bcopy-ifunc.c: Remove.
42000         * string/test-bzero-ifunc.c: Likewise.
42001         * string/test-memccpy-ifunc.c: Likewise.
42002         * string/test-memchr-ifunc.c: Likewise.
42003         * string/test-memcmp-ifunc.c: Likewise.
42004         * string/test-memcpy-ifunc.c: Likewise.
42005         * string/test-memmem-ifunc.c: Likewise.
42006         * string/test-memmove-ifunc.c: Likewise.
42007         * string/test-mempcpy-ifunc.c: Likewise.
42008         * string/test-memrchr-ifunc.c: Likewise.
42009         * string/test-memset-ifunc.c: Likewise.
42010         * string/test-rawmemchr-ifunc.c: Likewise.
42011         * string/test-stpcpy-ifunc.c: Likewise.
42012         * string/test-stpncpy-ifunc.c: Likewise.
42013         * string/test-strcasecmp-ifunc.c: Likewise.
42014         * string/test-strcasestr-ifunc.c: Likewise.
42015         * string/test-strcat-ifunc.c: Likewise.
42016         * string/test-strchr-ifunc.c: Likewise.
42017         * string/test-strchrnul-ifunc.c: Likewise.
42018         * string/test-strcmp-ifunc.c: Likewise.
42019         * string/test-strcpy-ifunc.c: Likewise.
42020         * string/test-strcspn-ifunc.c: Likewise.
42021         * string/test-strlen-ifunc.c: Likewise.
42022         * string/test-strncasecmp-ifunc.c: Likewise.
42023         * string/test-strncat-ifunc.c: Likewise.
42024         * string/test-strncmp-ifunc.c: Likewise.
42025         * string/test-strncpy-ifunc.c: Likewise.
42026         * string/test-strnlen-ifunc.c: Likewise.
42027         * string/test-strpbrk-ifunc.c: Likewise.
42028         * string/test-strrchr-ifunc.c: Likewise.
42029         * string/test-strspn-ifunc.c: Likewise.
42030         * string/test-strstr-ifunc.c: Likewise.
42032 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42034         * benchtests/Makefile: Remove ifunc tests.
42035         * benchtests/bench-string.h: Define TEST_IFUNC.
42036         * benchtests/bench-bcopy-ifunc.c: Remove.
42037         * benchtests/bench-bzero-ifunc.c: Likewise.
42038         * benchtests/bench-memccpy-ifunc.c: Likewise.
42039         * benchtests/bench-memchr-ifunc.c: Likewise.
42040         * benchtests/bench-memcmp-ifunc.c: Likewise.
42041         * benchtests/bench-memcpy-ifunc.c: Likewise.
42042         * benchtests/bench-memmem-ifunc.c: Likewise.
42043         * benchtests/bench-memmove-ifunc.c: Likewise.
42044         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42045         * benchtests/bench-memrchr-ifunc.c: Likewise.
42046         * benchtests/bench-memset-ifunc.c: Likewise.
42047         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42048         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42049         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42050         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42051         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42052         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42053         * benchtests/bench-strcat-ifunc.c: Likewise.
42054         * benchtests/bench-strchr-ifunc.c: Likewise.
42055         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42056         * benchtests/bench-strcmp-ifunc.c: Likewise.
42057         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42058         * benchtests/bench-strcpy-ifunc.c: Likewise.
42059         * benchtests/bench-strcspn-ifunc.c: Likewise.
42060         * benchtests/bench-strlen-ifunc.c: Likewise.
42061         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42062         * benchtests/bench-strncat-ifunc.c: Likewise.
42063         * benchtests/bench-strncmp-ifunc.c: Likewise.
42064         * benchtests/bench-strncpy-ifunc.c: Likewise.
42065         * benchtests/bench-strnlen-ifunc.c: Likewise.
42066         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42067         * benchtests/bench-strrchr-ifunc.c: Likewise.
42068         * benchtests/bench-strsep-ifunc.c: Likewise.
42069         * benchtests/bench-strspn-ifunc.c: Likewise.
42070         * benchtests/bench-strstr-ifunc.c: Likewise.
42072 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42074         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42078         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42079         * rt/aio.h: Likewise.
42080         * sysdeps/gnu/bits/utmp.h: Likewise.
42081         * sysdeps/gnu/bits/utmpx.h: Likewise.
42082         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42083         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42084         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42085         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42086         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42087         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42088         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42089         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42090         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42091         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42092         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42093         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42094         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42096         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42097         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42098         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42099         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42100         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42101         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42102         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42103         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42104         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42105         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42106         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42108         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42109         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42110         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42111         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42112         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42113         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42114         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42115         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42116         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42117         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42118         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42119         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42120         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42121         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42122         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42123         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42125 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42127         [BZ #16245]
42128         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42129         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42131 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42133         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42134         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42135         Likewise.
42137 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42139         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42140         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42141         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42142         (__fesetround): Remove define.
42143         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42144         rounding and exceptions handling.
42145         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42146         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42147         (__fe_nomask_env): Likewise.
42148         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42149         __fegetround instead of fegetround.
42150         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42151         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42153 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42155         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42156         it's there.
42158         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42160 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42162         [BZ #11157]
42163         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42164         (encrypt_r): Likewise.
42165         * malloc/obstack.h (obstack_free): Likewise.
42166         * posix/unistd.h (encrypt): Likewise.
42168 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42170         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42171         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42172         DL_CALL_DT_FINI() that call the functions directly.
42173         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42174         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42175         * elf/dl-fini.c: Likewise.
42177 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42179         * malloc/hooks.c (memalign_check): Add alignment rounding.
42180         * malloc/malloc.c (_mid_memalign): New function.
42181         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42182         Implement by calling _mid_memalign.
42183         * manual/probes.texi (Memory Allocation Probes): Remove
42184         memory_valloc_retry and memory_pvalloc_retry.
42186 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42188         * locale/programs/locarchive.c (open_archive): Add const
42189         qualifier to ARCHIVEFNAME and copy default fname to
42190         DEFAULT_FNAME.
42192         [BZ #15601]
42193         * libio/tst-widetext.input: Rename Oriya to Odia.
42194         * locale/iso-639.def: Likewise.
42196         * manual/probes.texi (Mathematical Function Probes): Add
42197         documentation for sin, cos, asin and acos probes.
42198         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42199         (__sin32): Add slowasin probe.
42200         (__cos32): Add slowacos probe.
42201         (__mpsin): Add slowsin probe.
42202         (__mpcos): Add slowcos probe.
42204 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42206         [BZ #15483]
42207         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42208         thread-local __sim_exceptions_thread and global
42209         __sim_exceptions_global.
42210         (__sim_disabled_exceptions): Change to thread-local
42211         __sim_disabled_exceptions_thread and global
42212         __sim_disabled_exceptions_global.
42213         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42214         and global __sim_round_mode_global.
42215         (__simulate_exceptions): Use thread-local floating-point state and
42216         set global state from it as needed.
42217         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42218         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42219         __sim_round_mode_thread.
42220         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42221         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42222         and global __sim_exceptions_global.
42223         (__sim_disabled_exceptions): Change to thread-local
42224         __sim_disabled_exceptions_thread and global
42225         __sim_disabled_exceptions_global.
42226         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42227         and global __sim_round_mode_global.
42228         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42229         (SIM_SET_GLOBAL): Likewise.
42230         * sysdeps/powerpc/soft-fp/sfp-machine.h
42231         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42232         __sim_round_mode_thread.
42233         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42234         __sim_disabled_exceptions_thread.
42235         (__sim_exceptions): Change to __sim_exceptions_thread.
42236         (__sim_disabled_exceptions): Change to
42237         __sim_disabled_exceptions_thread.
42238         (__sim_round_mode): Change to __sim_round_mode_thread.
42239         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42240         thread-local floating-point state and set global state from it as
42241         needed.
42242         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42243         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42244         (__sim_disabled_exceptions): Remove extern declaration.
42245         (feenableexcept): Use thread-local floating-point state and set
42246         global state from it as needed.
42247         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42248         extern declaration.
42249         (__sim_disabled_exceptions): Likewise.
42250         (__sim_round_mode): Likewise.
42251         (__fegetenv): Use thread-local floating-point state.
42252         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42253         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42254         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42255         floating-point state and set global state from it as needed.
42256         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42257         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42258         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42259         Likewise.
42260         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42261         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42262         Likewise.
42263         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42264         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42265         Use __sim_round_mode_thread.
42266         * math/test-fenv-tls.c: New file.
42267         * math/Makefile (tests): Add test-fenv-tls.
42268         ($(objpfx)test-fenv-tls): Depend on
42269         $(common-objpfx)nptl/libpthread.so.
42271 2013-11-19  Andreas Schwab  <schwab@suse.de>
42273         * locale/programs/locale.c (show_info): Decode wordarray elements.
42274         * locale/categories.def (LC_MONETARY): Add element for
42275         _NL_MONETARY_CRNCYSTR.
42276         * locale/C-monetary.c (conversion_rate): New variable.
42277         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42278         element.
42280 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42282         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42283         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42285 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42287         * elf/Makefile (tst-auxv): New test.
42288         * elf/tst-auxv.c: New
42289         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42291 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42293         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42294         (hidden_proto): Caller changed.
42295         (hidden_tls_proto): New macro.
42296         (libc_hidden_tls_proto): Likewise.
42297         (rtld_hidden_tls_proto): Likewise.
42298         (libm_hidden_tls_proto): Likewise.
42299         (libresolv_hidden_tls_proto): Likewise.
42300         (librt_hidden_tls_proto): Likewise.
42301         (libdl_hidden_tls_proto): Likewise.
42302         (libnss_files_hidden_tls_proto): Likewise.
42303         (libnsl_hidden_tls_proto): Likewise.
42304         (libnss_nisplus_hidden_tls_proto): Likewise.
42305         (libutil_hidden_tls_proto): Likewise.
42307 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42309         [BZ #10253]
42310         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42311         (decompose_rpath): Defer expansion to fillin_rpath.
42312         (_dl_init_paths): Pass linkmap to fillin_rpath.
42314 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42316         * benchtests/Makefile: Add strsep.
42317         * benchtests/bench-strsep.c: New file: strsep benchtest.
42318         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42320 2013-11-18  Andreas Schwab  <schwab@suse.de>
42322         * locale/programs/locale.c (show_info) [case byte]: Check for
42323         '\377' instead of '\177'.
42324         * locale/C-monetary.c (not_available): Always use "\377".
42325         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42326         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42327         detect unavailable sign_posn locale elements.
42328         * locale/localeconv.c (__localeconv): For grouping and
42329         mon_grouping handle "\177" and "\377" like no grouping.
42330         (INT_ELEM): New macro.  Use it to set all numeric members.
42331         * locale/programs/ld-monetary.c (monetary_read)
42332         <tok_mon_grouping>: Normalize single -1 to the empty string.
42333         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42334         Likewise.
42336 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42338         [BZ #16055]
42339         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42340         when we match (nil).
42341         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42343 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42345         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42346         (NO_TEST_INLINE): Update value.
42347         (ERRNO_UNCHANGED): Likewise.
42348         (ERRNO_EDOM): Likewise.
42349         (ERRNO_ERANGE): Likewise.
42350         (IGNORE_RESULT): Likewise.
42351         (check_float_internal): Check signs of NaN results if
42352         TEST_NAN_SIGN used.
42353         (check_complex): Pass TEST_NAN_SIGN flag through to second
42354         check_float_internal call.
42355         (copysign_test_data): Add tests with quiet NaNs as second
42356         argument.  Use TEST_NAN_SIGN.
42357         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42358         TEST_NAN_SIGN.
42359         (signbit_test_data): Add tests of quiet NaN argument.
42360         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42362         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42363         $ignore_result.
42364         (parse_args): Handle function results specified as IGNORE.
42365         * math/libm-test.inc (IGNORE_RESULT): New macro.
42366         (check_float_internal): Do not check numerical result if flag
42367         IGNORE_RESULT set.
42368         (check_complex): Pass through IGNORE_RESULT to second
42369         check_float_internal call.
42370         (check_int): Do not check numerical result if flag IGNORE_RESULT
42371         set.
42372         (check_long): Likewise.
42373         (check_bool): Likewise.
42374         (check_longlong): Likewise.
42375         (lrint_test_data): Add tests of infinite and NaN arguments.
42376         (lrint_tonearest_test_data): Likewise.
42377         (lrint_towardzero_test_data): Likewise.
42378         (lrint_downward_test_data): Likewise.
42379         (lrint_upward_test_data): Likewise.
42380         (llrint_test_data): Likewise.
42381         (llrint_tonearest_test_data): Likewise.
42382         (llrint_towardzero_test_data): Likewise.
42383         (llrint_downward_test_data): Likewise.
42384         (llrint_upward_test_data): Likewise.
42385         (lround_test_data): Likewise.
42386         (llround_test_data): Likewise.
42388         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42389         (ERRNO_UNCHANGED): Update value.
42390         (ERRNO_EDOM): Likewise.
42391         (ERRNO_ERANGE): Likewise.
42392         (NO_TEST_INLINE_FLOAT): New macro.
42393         (NO_TEST_INLINE_DOUBLE): Likewise.
42394         (enable_test): New function.
42395         (RUN_TEST_f_f): Check enable_test before running test.
42396         (RUN_TEST_2_f): Likewise.
42397         (RUN_TEST_fff_f): Likewise.
42398         (RUN_TEST_c_f): Likewise.
42399         (RUN_TEST_f_f1): Likewise.
42400         (RUN_TEST_fF_f1): Likewise.
42401         (RUN_TEST_fI_f1): Likewise.
42402         (RUN_TEST_ffI_f1): Likewise.
42403         (RUN_TEST_c_c): Likewise.
42404         (RUN_TEST_cc_c): Likewise.
42405         (RUN_TEST_f_i): Likewise.
42406         (RUN_TEST_f_i_tg): Likewise.
42407         (RUN_TEST_ff_i_tg): Likewise.
42408         (RUN_TEST_f_b): Likewise.
42409         (RUN_TEST_f_b_tg): Likewise.
42410         (RUN_TEST_f_l): Likewise.
42411         (RUN_TEST_f_L): Likewise.
42412         (RUN_TEST_fFF_11): Likewise.
42413         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42414         conditionals.
42415         (cosh_test_data): Likewise.
42416         (exp_test_data): Likewise.
42417         (expm1_test_data): Likewise.
42418         (hypot_test_data): Likewise.
42419         (pow_test_data): Likewise.
42420         (sinh_test_data): Likewise.
42421         (tanh_test_data): Likewise.
42422         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42423         flags argument.
42425         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42426         tests with quiet NaN input and output.
42427         (acosh_test_data): Likewise.
42428         (asin_test_data): Likewise.
42429         (asinh_test_data): Likewise.
42430         (atan_test_data): Likewise.
42431         (atanh_test_data): Likewise.
42432         (atan2_test_data): Likewise.
42433         (cbrt_test_data): Likewise.
42434         (cos_test_data): Likewise.
42435         (cosh_test_data): Likewise.
42436         (erf_test_data): Likewise.
42437         (erfc_test_data): Likewise.
42438         (exp_test_data): Likewise.
42439         (exp10_test_data): Likewise.
42440         (exp2_test_data): Likewise.
42441         (expm1_test_data): Likewise.
42442         (hypot_test_data): Likewise.
42443         (j0_test_data): Likewise.
42444         (j1_test_data): Likewise.
42445         (jn_test_data): Likewise.
42446         (lgamma_test_data): Likewise.
42447         (log_test_data): Likewise.
42448         (log10_test_data): Likewise.
42449         (log1p_test_data): Likewise.
42450         (log2_test_data): Likewise.
42451         (pow_test_data): Likewise.
42452         (scalb_test_data): Likewise.
42453         (sin_test_data): Likewise.
42454         (sincos_test_data): Likewise.
42455         (sinh_test_data): Likewise.
42456         (tan_test_data): Likewise.
42457         (tanh_test_data): Likewise.
42458         (tgamma_test_data): Likewise.
42459         (y0_test_data): Likewise.
42460         (y1_test_data): Likewise.
42461         (yn_test_data): Likewise.
42463         [BZ #16167]
42464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42465         argument being NaN and avoid computations with second argument in
42466         that case.
42467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42468         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42469         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42471 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42473         * locale/iso-639.def: Add Chitwani Tharu (the).
42475 2013-11-14  Andreas Schwab  <schwab@suse.de>
42477         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42478         word instead of empty string.
42480 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42483         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42485         (__fe_nomask_env): Likewise.
42487 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42489         * benchtests/bench-timing.h: Include time.h.
42491 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42493         [BZ #15997]
42494         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42495         to 3.4.0 for x32.
42496         * sysdeps/unix/sysv/linux/configure: Regenerated.
42498 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42500         [BZ #16151]
42501         * stdlib/strtod_l.c (round_and_return): Do not consider
42502         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42503         exponent one less than half the least subnormal exponent.
42504         * stdlib/test-strtod-round-data: Add more tests.
42505         * stdlib/tst-strtod-round.c (tests): Regenerated.
42507 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42509         [BZ #14143]
42510         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42511         (__fe_mask_env): Likewise.
42512         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42513         libm_hidden_proto and add function prototype.
42514         (__fe_mask_env): Add function prototype.
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42516         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42518         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42520         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42522 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42524         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42525         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42527 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42529         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42530         of htab_find_slot().
42532 2013-11-11  David S. Miller  <davem@davemloft.net>
42534         [BZ #16150]
42535         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42536         symbol in the non-vis3 case in static builds.
42537         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42538         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42539         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42540         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42542 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42544         [BZ #387]
42545         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42546         it is empty.
42548 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42550         * benchtests/Makefile: Add bench-strtod.
42551         * benchtests/bench-strtod.c: New file: strtod benchtest
42553 2013-11-11  Andreas Schwab  <schwab@suse.de>
42555         [BZ #16153]
42556         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42557         terminating NUL in key length.
42559 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42561         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42562         Add artificial ODP entry for vDSO symbol for PPC64.
42563         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42564         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42566 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42568         [BZ #15374]
42569         * nss/getent.c (services_keys): Recognize services starting with digit.
42571 2013-11-06  David S. Miller  <davem@davemloft.net>
42573         [BZ #15985]
42574         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42575         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42577 2013-11-06  Will Newton  <will.newton@linaro.org>
42579         * manual/memory.texi (Malloc Examples): Remove register
42580         keyword from examples.
42582 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42584         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42586 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42588         [BZ #6981]
42589         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42590         depending on [__GCC_IEC_559 > 0].
42591         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42592         depending on [__GCC_IEC_559_COMPLEX > 0].
42594 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42596         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42597         to iso-639.def.
42599 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42601         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42603 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42605         [BZ #16112]
42606         * malloc/malloc (malloc_info): Do not handle first bin as
42607         special case.
42609 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42611         * locale/iso-639.def: Add Central Nahuatl (nhn).
42613 2013-11-01  Bruno Haible  <bruno@clisp.org>
42615         [BZ #7003]
42616         * manual/math.texi (BSD Random): Specify range upper bound as
42617         in POSIX.
42619 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42621         * locale/iso-639.def: Add Meadow Mari (mhr).
42623 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42625         [BZ #14752], [BZ #15763]
42626         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42627         Validate name.
42628         * rt/tst_shm.c: Add test for escaping directory.
42630 2013-10-31  Andreas Schwab  <schwab@suse.de>
42632         [BZ #15917]
42633         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42634         followed by 'x' as part of digit sequence.
42635         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42637 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42639         [BZ #16037]
42640         * configure.ac: allow GNU Make 4.0 and greater.
42641         * configure: Regenerated.
42643 2013-10-30  Will Newton  <will.newton@linaro.org>
42645         [BZ #16038]
42646         * malloc/hooks.c (memalign_check): Limit alignment to the
42647         maximum representable power of two.
42648         * malloc/malloc.c (__libc_memalign): Likewise.
42649         * malloc/tst-memalign.c (do_test): Add test for very
42650         large alignment values.
42651         * malloc/tst-posix_memalign.c (do_test): Likewise.
42653 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42655         [BZ #11087]
42656         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42657         (munmap_chunk): Likewise.
42658         (mremap_chunk): Likewise.
42660 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42662         [BZ #15799]
42663         * stdlib/div.c (div): Remove obsolete code.
42664         * stdlib/ldiv.c (ldiv): Likewise.
42665         * stdlib/lldiv.c (lldiv): Likewise.
42667 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42669         [BZ #16071]
42670         * nss/nss_files/files-XXX.c (get_contents_ret): New
42671         enumerator.
42672         (get_contents): New function.
42673         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42675 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42677         * configure.in: Moved to ...
42678         * configure.ac: ... here. Change reference to configure.in
42679         to configure.ac.
42680         * sysdeps/arm/preconfigure.ac: ... here.
42681         configure.in to configure.ac.
42682         * sysdeps/gnu/configure.in: Moved to ...
42683         * sysdeps/gnu/configure.ac: ... here.
42684         * sysdeps/i386/configure.in: Moved to ...
42685         * sysdeps/i386/configure.ac: ... here.
42686         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42687         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42688         * sysdeps/mach/configure.in: Moved to ...
42689         * sysdeps/mach/configure.ac: ... here.
42690         * sysdeps/mach/hurd/configure.in: Moved to ...
42691         * sysdeps/mach/hurd/configure.ac: ... here.
42692         * sysdeps/powerpc/configure.in: Moved to ...
42693         * sysdeps/powerpc/configure.ac: ... here.
42694         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42695         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42696         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42697         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42698         * sysdeps/s390/s390-32/configure.in: Moved to ...
42699         * sysdeps/s390/s390-32/configure.ac: ... here.
42700         * sysdeps/s390/s390-64/configure.in: Moved to ...
42701         * sysdeps/s390/s390-64/configure.ac: ... here.
42702         * sysdeps/sh/configure.in: Moved to ...
42703         * sysdeps/sh/configure.ac: ... here.
42704         * sysdeps/sparc/configure.in: Moved to ...
42705         * sysdeps/sparc/configure.ac: ... here.
42706         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42707         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42708         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42709         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42710         * sysdeps/x86_64/configure.in: Moved to ...
42711         * sysdeps/x86_64/configure.ac: ... here.
42712         * sysdeps/x86_64/preconfigure.in: Moved to ...
42713         * sysdeps/x86_64/preconfigure.ac: ... here.
42714         * aclocal.m4: Change reference to configure.in to configure.ac.
42715         * config.h.in: Likewise.
42716         * manual/install.texi: Likewise.
42717         * manual/maint.texi: Likewise.
42718         * Makefile: Likewise.
42719         * malloc/Makefile: Likewise.
42720         * nscd/Makefile: Likewise.
42721         * Makeconfig: Change reference to configure.in and
42722         preconfigure.in to configure.ac and preconfigure.ac
42723         respectively.
42724         * INSTALL: Regenerated.
42725         * configure: Likewise.
42726         * sysdeps/gnu/configure: Likewise.
42727         * sysdeps/i386/configure: Likewise.
42728         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42729         * sysdeps/mach/configure: Likewise.
42730         * sysdeps/mach/hurd/configure: Likewise.
42731         * sysdeps/powerpc/configure: Likewise.
42732         * sysdeps/powerpc/powerpc32/configure: Likewise.
42733         * sysdeps/powerpc/powerpc64/configure: Likewise.
42734         * sysdeps/s390/s390-32/configure: Likewise.
42735         * sysdeps/s390/s390-64/configure: Likewise.
42736         * sysdeps/sh/configure: Likewise.
42737         * sysdeps/sparc/configure: Likewise.
42738         * sysdeps/unix/sysv/linux/configure: Likewise.
42739         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42740         * sysdeps/x86_64/configure: Likewise.
42741         * sysdeps/x86_64/preconfigure: Likewise.
42743 2013-10-29  Andreas Schwab  <schwab@suse.de>
42745         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42747 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42749         * benchtests/pow-inputs: Add new inputs.
42751         * benchtests/exp-inputs: Add new inputs.
42753         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42754         conditional check for return value.
42755         (__cos32): Likewise.
42757 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42759         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42760         to provide a boost for large inputs with word alignment.
42761         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42762         implementation based on optimized PPC64 strcpy.
42763         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42764         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42765         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42766         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42768 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42770         [BZ #2801]
42771         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42773 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42775         [BZ #14876]
42776         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42777         * time/tst-strptime.c (day_tests): Add testcase.
42779 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42781         [BZ #14029]
42782         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42784 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42786         [BZ #16074]
42787         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42788         MAP_FAILED on error.
42790 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42792         [BZ #16072]
42793         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42794         heap for large requests.
42796 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42798         [BZ #9954]
42799         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42800         result if the result has no associated interface.
42801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42802         interface for all 127.X.Y.Z addresses.
42804 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42806         * locale/iso-639.def: Add Ligurian (lij)
42808 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42810         [BZ #15825]
42811         * sunrpc/rpc_main.c: Document rpcgen -5.
42813 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42815         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42817 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42819         [BZ #10278]
42820         * posix/glob.c: Match only directories when trailing slash is present.
42821         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42822         (main): Add testcase.
42824 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42826         [BZ #15670]
42827         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42829 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42831         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42832         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42833         AUTH_DES and cindex for FIPS 140-2.
42834         (DES Encryption): Add cindex FIPS 46-3.
42836         * locale/locarchive.h (struct locarhandle): Add fname.
42837         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42838         if an optional argument was specified to --list-archive,
42839         otherwise NULL.
42840         * locale/programs/locarchive.c (show_archive_content): Take new
42841         argument fname and pass it via ah.fname to open_archive.
42842         * locale/programs/localedef.h: Update decl.
42843         (open_archive): If AH->fname is non-null, open that file
42844         rather than the default file name, and don't ignore ENOENT.
42845         (create_archive): Set AH.fname to NULL.
42846         (delete_locales_from_archive): Likewise.
42847         (add_locales_to_archive): Likewise.
42848         * locale/programs/locfile.c (write_all_categories): Likewise.
42850 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42851             Aldy Hernandez  <aldyh@redhat.com>
42853         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42854         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42855         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42856         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42857         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42858         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42859         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42860         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42861         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42862         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42863         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42864         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42865         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42866         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42867         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42868         Likewise.
42869         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42870         Likewise.
42871         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42872         Likewise.
42873         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42874         Likewise.
42875         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42876         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42877         Likewise.
42878         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42879         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42880         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42881         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42882         Likewise.
42883         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42884         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42885         * sysdeps/powerpc/preconfigure: Likewise.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42887         Likewise.
42888         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42889         Replace contents of file by #include of <fenv_libc.h>.
42890         * sysdeps/powerpc/soft-fp/sfp-machine.h
42891         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42892         and <sys/prctl.h>.
42893         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42896         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42906         Allow copysignl PLT reference to be missing.
42908 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42909             Joseph Myers  <joseph@codesourcery.com
42911         [BZ #15948]
42912         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42913         single character.
42914         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42916 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42918         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42919         * elf/tst-tls1.c: Likewise.
42920         * elf/tst-tls10.h: Likewise.
42921         * elf/tst-tls14.c: Likewise.
42922         * elf/tst-tls2.c: Likewise.
42923         * elf/tst-tls3.c: Likewise.
42924         * elf/tst-tls4.c: Likewise.
42925         * elf/tst-tls5.c: Likewise.
42926         * elf/tst-tls6.c: Likewise.
42927         * elf/tst-tls7.c: Likewise.
42928         * elf/tst-tls8.c: Likewise.
42929         * elf/tst-tls9.c: Likewise.
42930         * elf/tst-tlsmod1.c: Likewise.
42931         * elf/tst-tlsmod13.c: Likewise.
42932         * elf/tst-tlsmod13a.c: Likewise.
42933         * elf/tst-tlsmod14a.c: Likewise.
42934         * elf/tst-tlsmod16a.c: Likewise.
42935         * elf/tst-tlsmod16b.c: Likewise.
42936         * elf/tst-tlsmod2.c: Likewise.
42937         * elf/tst-tlsmod3.c: Likewise.
42938         * elf/tst-tlsmod4.c: Likewise.
42939         * elf/tst-tlsmod5.c: Likewise.
42940         * elf/tst-tlsmod6.c: Likewise.
42942 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42944         [BZ #12486]
42945         * malloc/malloc.c: remove checks for statistics.
42947 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42949         [BZ #15277]
42950         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42951         * inet/tst-network.c: Add testcase.
42953 2013-10-17  Andreas Schwab  <schwab@suse.de>
42955         [BZ #15218]
42956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42957         to determine canonical name.
42959 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42961         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42962         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42963         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42964         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42966         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42967         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42968         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42969         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42970         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42971         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42972         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42973         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42974         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42975         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42976         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42978         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42980         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42981         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42983         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42984         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42985         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42986         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42991         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42994         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42995         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42996         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42997         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42998         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42999         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43000         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43001         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43002         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43004         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43005         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43006         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43007         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43008         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43009         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43010         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43011         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43012         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43013         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43014         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43016         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43018         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43020 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43022         [BZ #16041]
43023         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43024         make result into a quiet NaN.
43026 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43028         * soft-fp/adddf3.c: Fix horizontal whitespace.
43029         * soft-fp/addsf3.c: Likewise.
43030         * soft-fp/addtf3.c: Likewise.
43031         * soft-fp/divdf3.c: Likewise.
43032         * soft-fp/divsf3.c: Likewise.
43033         * soft-fp/divtf3.c: Likewise.
43034         * soft-fp/double.h: Likewise.
43035         * soft-fp/eqdf2.c: Likewise.
43036         * soft-fp/eqsf2.c: Likewise.
43037         * soft-fp/eqtf2.c: Likewise.
43038         * soft-fp/extenddftf2.c: Likewise.
43039         * soft-fp/extended.h: Likewise.
43040         * soft-fp/extendsfdf2.c: Likewise.
43041         * soft-fp/extendsftf2.c: Likewise.
43042         * soft-fp/extendxftf2.c: Likewise.
43043         * soft-fp/fixdfdi.c: Likewise.
43044         * soft-fp/fixdfsi.c: Likewise.
43045         * soft-fp/fixdfti.c: Likewise.
43046         * soft-fp/fixsfdi.c: Likewise.
43047         * soft-fp/fixsfsi.c: Likewise.
43048         * soft-fp/fixsfti.c: Likewise.
43049         * soft-fp/fixtfdi.c: Likewise.
43050         * soft-fp/fixtfsi.c: Likewise.
43051         * soft-fp/fixtfti.c: Likewise.
43052         * soft-fp/fixunsdfdi.c: Likewise.
43053         * soft-fp/fixunsdfsi.c: Likewise.
43054         * soft-fp/fixunsdfti.c: Likewise.
43055         * soft-fp/fixunssfdi.c: Likewise.
43056         * soft-fp/fixunssfsi.c: Likewise.
43057         * soft-fp/fixunssfti.c: Likewise.
43058         * soft-fp/fixunstfdi.c: Likewise.
43059         * soft-fp/fixunstfsi.c: Likewise.
43060         * soft-fp/fixunstfti.c: Likewise.
43061         * soft-fp/floatdidf.c: Likewise.
43062         * soft-fp/floatdisf.c: Likewise.
43063         * soft-fp/floatditf.c: Likewise.
43064         * soft-fp/floatsidf.c: Likewise.
43065         * soft-fp/floatsisf.c: Likewise.
43066         * soft-fp/floatsitf.c: Likewise.
43067         * soft-fp/floattidf.c: Likewise.
43068         * soft-fp/floattisf.c: Likewise.
43069         * soft-fp/floattitf.c: Likewise.
43070         * soft-fp/floatundidf.c: Likewise.
43071         * soft-fp/floatundisf.c: Likewise.
43072         * soft-fp/floatunditf.c: Likewise.
43073         * soft-fp/floatunsidf.c: Likewise.
43074         * soft-fp/floatunsisf.c: Likewise.
43075         * soft-fp/floatunsitf.c: Likewise.
43076         * soft-fp/floatuntidf.c: Likewise.
43077         * soft-fp/floatuntisf.c: Likewise.
43078         * soft-fp/floatuntitf.c: Likewise.
43079         * soft-fp/fmadf4.c: Likewise.
43080         * soft-fp/fmasf4.c: Likewise.
43081         * soft-fp/fmatf4.c: Likewise.
43082         * soft-fp/gedf2.c: Likewise.
43083         * soft-fp/gesf2.c: Likewise.
43084         * soft-fp/getf2.c: Likewise.
43085         * soft-fp/ledf2.c: Likewise.
43086         * soft-fp/lesf2.c: Likewise.
43087         * soft-fp/letf2.c: Likewise.
43088         * soft-fp/muldf3.c: Likewise.
43089         * soft-fp/mulsf3.c: Likewise.
43090         * soft-fp/multf3.c: Likewise.
43091         * soft-fp/negdf2.c: Likewise.
43092         * soft-fp/negsf2.c: Likewise.
43093         * soft-fp/negtf2.c: Likewise.
43094         * soft-fp/op-1.h: Likewise.
43095         * soft-fp/op-2.h: Likewise.
43096         * soft-fp/op-4.h: Likewise.
43097         * soft-fp/op-8.h: Likewise.
43098         * soft-fp/op-common.h: Likewise.
43099         * soft-fp/quad.h: Likewise.
43100         * soft-fp/single.h: Likewise.
43101         * soft-fp/soft-fp.h: Likewise.
43102         * soft-fp/sqrtdf2.c: Likewise.
43103         * soft-fp/sqrtsf2.c: Likewise.
43104         * soft-fp/sqrttf2.c: Likewise.
43105         * soft-fp/subdf3.c: Likewise.
43106         * soft-fp/subsf3.c: Likewise.
43107         * soft-fp/subtf3.c: Likewise.
43108         * soft-fp/truncdfsf2.c: Likewise.
43109         * soft-fp/trunctfdf2.c: Likewise.
43110         * soft-fp/trunctfsf2.c: Likewise.
43111         * soft-fp/trunctfxf2.c: Likewise.
43112         * soft-fp/unorddf2.c: Likewise.
43113         * soft-fp/unordsf2.c: Likewise.
43114         * soft-fp/unordtf2.c: Likewise.
43116 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43118         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43119         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43121 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43123         * elf/dl-libc.c: Clear initfini list after freeing.
43125 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43127         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43128         * soft-fp/addsf3.c: Likewise.
43129         * soft-fp/addtf3.c: Likewise.
43130         * soft-fp/divdf3.c: Likewise.
43131         * soft-fp/divsf3.c: Likewise.
43132         * soft-fp/divtf3.c: Likewise.
43133         * soft-fp/double.h: Likewise.
43134         * soft-fp/eqdf2.c: Likewise.
43135         * soft-fp/eqsf2.c: Likewise.
43136         * soft-fp/eqtf2.c: Likewise.
43137         * soft-fp/extenddftf2.c: Likewise.
43138         * soft-fp/extended.h: Likewise.
43139         * soft-fp/extendsfdf2.c: Likewise.
43140         * soft-fp/extendsftf2.c: Likewise.
43141         * soft-fp/extendxftf2.c: Likewise.
43142         * soft-fp/fixdfdi.c: Likewise.
43143         * soft-fp/fixdfsi.c: Likewise.
43144         * soft-fp/fixdfti.c: Likewise.
43145         * soft-fp/fixsfdi.c: Likewise.
43146         * soft-fp/fixsfsi.c: Likewise.
43147         * soft-fp/fixsfti.c: Likewise.
43148         * soft-fp/fixtfdi.c: Likewise.
43149         * soft-fp/fixtfsi.c: Likewise.
43150         * soft-fp/fixtfti.c: Likewise.
43151         * soft-fp/fixunsdfdi.c: Likewise.
43152         * soft-fp/fixunsdfsi.c: Likewise.
43153         * soft-fp/fixunsdfti.c: Likewise.
43154         * soft-fp/fixunssfdi.c: Likewise.
43155         * soft-fp/fixunssfsi.c: Likewise.
43156         * soft-fp/fixunssfti.c: Likewise.
43157         * soft-fp/fixunstfdi.c: Likewise.
43158         * soft-fp/fixunstfsi.c: Likewise.
43159         * soft-fp/fixunstfti.c: Likewise.
43160         * soft-fp/floatdidf.c: Likewise.
43161         * soft-fp/floatdisf.c: Likewise.
43162         * soft-fp/floatditf.c: Likewise.
43163         * soft-fp/floatsidf.c: Likewise.
43164         * soft-fp/floatsisf.c: Likewise.
43165         * soft-fp/floatsitf.c: Likewise.
43166         * soft-fp/floattidf.c: Likewise.
43167         * soft-fp/floattisf.c: Likewise.
43168         * soft-fp/floattitf.c: Likewise.
43169         * soft-fp/floatundidf.c: Likewise.
43170         * soft-fp/floatundisf.c: Likewise.
43171         * soft-fp/floatunsidf.c: Likewise.
43172         * soft-fp/floatunsisf.c: Likewise.
43173         * soft-fp/floatuntidf.c: Likewise.
43174         * soft-fp/floatuntisf.c: Likewise.
43175         * soft-fp/floatuntitf.c: Likewise.
43176         * soft-fp/fmadf4.c: Likewise.
43177         * soft-fp/fmasf4.c: Likewise.
43178         * soft-fp/fmatf4.c: Likewise.
43179         * soft-fp/gedf2.c: Likewise.
43180         * soft-fp/gesf2.c: Likewise.
43181         * soft-fp/getf2.c: Likewise.
43182         * soft-fp/ledf2.c: Likewise.
43183         * soft-fp/lesf2.c: Likewise.
43184         * soft-fp/letf2.c: Likewise.
43185         * soft-fp/muldf3.c: Likewise.
43186         * soft-fp/mulsf3.c: Likewise.
43187         * soft-fp/multf3.c: Likewise.
43188         * soft-fp/negdf2.c: Likewise.
43189         * soft-fp/negsf2.c: Likewise.
43190         * soft-fp/negtf2.c: Likewise.
43191         * soft-fp/op-1.h: Likewise.
43192         * soft-fp/op-2.h: Likewise.
43193         * soft-fp/op-4.h: Likewise.
43194         * soft-fp/op-8.h: Likewise.
43195         * soft-fp/op-common.h: Likewise.
43196         * soft-fp/quad.h: Likewise.
43197         * soft-fp/single.h: Likewise.
43198         * soft-fp/soft-fp.h: Likewise.
43199         * soft-fp/sqrtdf2.c: Likewise.
43200         * soft-fp/sqrtsf2.c: Likewise.
43201         * soft-fp/sqrttf2.c: Likewise.
43202         * soft-fp/subdf3.c: Likewise.
43203         * soft-fp/subsf3.c: Likewise.
43204         * soft-fp/subtf3.c: Likewise.
43205         * soft-fp/truncdfsf2.c: Likewise.
43206         * soft-fp/trunctfdf2.c: Likewise.
43207         * soft-fp/trunctfsf2.c: Likewise.
43208         * soft-fp/trunctfxf2.c: Likewise.
43209         * soft-fp/unorddf2.c: Likewise.
43210         * soft-fp/unordsf2.c: Likewise.
43211         * soft-fp/unordtf2.c: Likewise.
43213 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43215         [BZ #15672]
43216         * misc/error.c (error_tail): Fix possible buffer overflow.
43218 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43220         [BZ #13028]
43221         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43222         address.
43224 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43226         [BZ #832]
43227         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43228         testing pipefail option.
43230 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43232         * soft-fp/double.h: Indent preprocessor directives inside #if.
43233         * soft-fp/extended.h: Likewise.
43234         * soft-fp/op-2.h: Likewise.
43235         * soft-fp/op-4.h: Likewise.
43236         * soft-fp/op-common.h: Likewise.
43237         * soft-fp/quad.h: Likewise.
43238         * soft-fp/single.h: Likewise.
43239         * soft-fp/soft-fp.h: Likewise.
43241 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43243         * iconv/iconv_prog.c: Fix typos.
43244         * stdio-common/psiginfo-data.h: Likewise.
43246 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43248         [BZ #15764]
43249         * locale/setlocale.c: Fix typo.
43251 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43253         [BZ #16036]
43254         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43255         signaling NaN arguments.
43256         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43257         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43259         [BZ #14910]
43260         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43261         unordered operands.
43262         * soft-fp/gesf2.c (__gesf2): Likewise.
43263         * soft-fp/getf2.c (__getf2): Likewise.
43264         * soft-fp/ledf2.c (__ledf2): Likewise.
43265         * soft-fp/lesf2.c (__lesf2): Likewise.
43266         * soft-fp/letf2.c (__letf2): Likewise.
43268         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43269         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43270         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43271         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43272         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43273         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43274         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43275         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43276         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43277         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43278         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43279         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43280         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43281         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43282         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43283         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43284         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43285         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43286         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43287         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43288         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43289         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43290         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43291         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43292         * soft-fp/floattidf.c (__floattidf): Likewise.
43293         * soft-fp/floattisf.c (__floattisf): Likewise.
43294         * soft-fp/floattitf.c (__floattitf): Likewise.
43295         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43296         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43297         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43298         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43299         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43300         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43301         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43302         * soft-fp/gesf2.c (__gesf2): Likewise.
43303         * soft-fp/getf2.c (__getf2): Likewise.
43304         * soft-fp/ledf2.c (__ledf2): Likewise.
43305         * soft-fp/lesf2.c (__lesf2): Likewise.
43306         * soft-fp/letf2.c (__letf2): Likewise.
43308         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43309         Undefine and redefine.
43310         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43311         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43312         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43313         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43314         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43315         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43316         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43317         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43318         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43319         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43320         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43321         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43322         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43323         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43324         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43326         [BZ #16032]
43327         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43328         without decrementing exponent if mantissa >= that for the
43329         denominator, not >.
43330         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43331         denominator, not >.  Decrement exponent in < case instead of
43332         incrementing in >= case.
43333         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43334         without decrementing exponent if mantissa >= that for the
43335         denominator, not >.
43337         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43338         computing saturated result for unsigned overflow.
43340 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43341             Jeff Law  <law@redhat.com>
43343         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43344         (atan2Mp): Add systemtap probe marker.
43345         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43346         (__ieee754_log): Add systemtap probe marker.
43347         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43348         (atanMp): Add systemtap probe marker.
43349         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43350         (tanMp): Add systemtap probe marker.
43351         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43352         (__slowexp): Add systemtap probe marker.
43353         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43354         (__slowpow): Add systemtap probe marker.
43355         * manual/probes.texi: Document probes.
43357 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43359         [BZ #15362]
43360         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43361         written.
43362         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43363         written.
43364         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43365         written to buffer but not flushed.
43366         * libio/iofwrite_u.c:  Likewise.
43367         * libio/iopadn.c:  Return bytes returned even if EOF was
43368         encountered.
43369         * libio/iowpadn.c:  Likewise.
43370         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43371         if _IO_padn does not write the whole buffer.
43372         [!COMPILE_WPRINTF] (PAD): Likewise.
43374 2013-10-10  David S. Miller  <davem@davemloft.net>
43376         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43377         directory block.
43379 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43381         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43382         instead of FSF address.
43383         * soft-fp/fixdfti.c: Likewise.
43384         * soft-fp/fixsfti.c: Likewise.
43385         * soft-fp/fixtfti.c: Likewise.
43386         * soft-fp/fixunsdfti.c: Likewise.
43387         * soft-fp/fixunssfti.c: Likewise.
43388         * soft-fp/fixunstfti.c: Likewise.
43389         * soft-fp/floattidf.c: Likewise.
43390         * soft-fp/floattisf.c: Likewise.
43391         * soft-fp/floattitf.c: Likewise.
43392         * soft-fp/floatuntidf.c: Likewise.
43393         * soft-fp/floatuntisf.c: Likewise.
43394         * soft-fp/floatuntitf.c: Likewise.
43395         * soft-fp/trunctfxf2.c: Likewise.
43397         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43398         * soft-fp/fixdfti.c: Likewise.
43399         * soft-fp/fixsfti.c: Likewise.
43400         * soft-fp/fixtfti.c: Likewise.
43401         * soft-fp/fixunsdfti.c: Likewise.
43402         * soft-fp/fixunssfti.c: Likewise.
43403         * soft-fp/fixunstfti.c: Likewise.
43404         * soft-fp/floattidf.c: Likewise.
43405         * soft-fp/floattisf.c: Likewise.
43406         * soft-fp/floattitf.c: Likewise.
43407         * soft-fp/floatuntidf.c: Likewise.
43408         * soft-fp/floatuntisf.c: Likewise.
43409         * soft-fp/floatuntitf.c: Likewise.
43410         * soft-fp/trunctfxf2.c: Likewise.
43412 2013-10-10  David S. Miller  <davem@davemloft.net>
43414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43416 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43418         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43419         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43420         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43421         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43422         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43423         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43424         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43426         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43427         for NaNs before doing comparisons on argument.
43428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43429         Likewise.
43431 2013-10-10  Will Newton  <will.newton@linaro.org>
43433         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43434         passed to _int_memalign does not overflow.
43436 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43438         * scripts/bench.pl: Add include-sources directive.
43439         * benchtests/README: Update documentation.
43441 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43443         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43444         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43445         instead of FP_INIT_ROUNDMODE.
43446         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43447         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43449         [BZ #16034]
43450         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43451         copy class of input value.
43452         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43453         not handle exceptions.
43454         * soft-fp/negsf2.c (__negsf2): Likewise.
43455         * soft-fp/negtf2.c (__negtf2): Likewise.
43456         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43458 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43460         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43461         semicolon.  From Linux kernel.
43463 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43465         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43467 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43469         [BZ #156]
43470         * manual/socket.texi: Added statement about buffer
43471         for gethostbyname2_r.
43473 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43475         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43476         Use .p2align directive instead, throughout.
43477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43478         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43479         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43480         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43481         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43482         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43483         * sysdeps/x86_64/strchr.S: Likewise.
43484         * sysdeps/x86_64/strrchr.S: Likewise.
43486 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43488         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43490         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43492         * sysdeps/generic/math_private.h (__mpsin1): Remove
43493         declaration.
43494         (__mpcos1): Likewise.
43495         (__mpsin): New argument __range_reduce.
43496         (__mpcos): Likewise.
43497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43498         (slow): Use __mpsin and __mpcos.
43499         (slow1): Likewise.
43500         (slow2): Likewise.
43501         (sloww): Likewise.
43502         (sloww1): Likewise.
43503         (sloww2): Likewise.
43504         (bsloww): Likewise.
43505         (bsloww1): Likewise.
43506         (bsloww2): Likewise.
43507         (cslow2): Likewise.
43508         (csloww): Likewise.
43509         (csloww1): Likewise.
43510         (csloww2): Likewise.
43511         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43512         range_reduce.  Merge in __mpsin1.
43513         (__mpcos): Likewise.
43514         (__mpsin1): Remove.
43515         (__mpcos1): Likewise.
43517 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43519         * locale/loadlocale.c (_nl_intern_locale_data): Use
43520         LOCFILE_ALIGNED_P.
43521         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43522         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43523         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43524         obstack data is appropriately aligned.
43525         (obstack_int32_grow_fast): Likewise.
43526         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43527         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43528         (add_locale_uint32_array): Likewise.
43530 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43532         * benchtests/Makefile: Remove ARGLIST and RET variables.
43533         ($(objpfx)bench-%.c): Pass only function name to the script.
43534         * benchtests/README: Update documentation.
43535         * benchtests/acos-inputs: Add new directives.
43536         * benchtests/acosh-inputs: Likewise.
43537         * benchtests/asin-inputs: Likewise.
43538         * benchtests/asinh-inputs: Likewise.
43539         * benchtests/atan-inputs: Likewise.
43540         * benchtests/atanh-inputs: Likewise.
43541         * benchtests/cos-inputs: Likewise.
43542         * benchtests/cosh-inputs: Likewise.
43543         * benchtests/exp-inputs: Likewise.
43544         * benchtests/log-inputs: Likewise.
43545         * benchtests/pow-inputs: Likewise.
43546         * benchtests/rint-inputs: Likewise.
43547         * benchtests/sin-inputs: Likewise.
43548         * benchtests/sinh-inputs: Likewise.
43549         * benchtests/tan-inputs: Likewise.
43550         * benchtests/tanh-inputs: Likewise.
43551         * scripts/bench.pl: Add support for new directives.
43553 2013-10-07  Alan Modra  <amodra@gmail.com>
43555         * README: Fix careless merge.
43557 2013-10-05  Alan Modra  <amodra@gmail.com>
43559         * NEWS: Mention powerpc64le support and bugs fixed.
43560         * README: Both big-endian and little-endian powerpc64 supported.
43562 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43564         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43565         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43566         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43567         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43569 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43571         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43572         match prototype.
43574 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43576         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43577         Move -mhard-float appending from
43578         ports/sysdeps/powerpc/powerpc32/Makefile.
43579         [$(with-fp) = yes] (ASFLAGS): Likewise.
43580         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43581         * sysdeps/powerpc/nofpu: Move directory from
43582         ports/sysdeps/powerpc/nofpu.
43583         * sysdeps/powerpc/soft-fp: Move directory from
43584         ports/sysdeps/powerpc/soft-fp.
43585         * sysdeps/powerpc/powerpc32/405: Move directory from
43586         ports/sysdeps/powerpc/powerpc32/405.
43587         * sysdeps/powerpc/powerpc32/440: Move directory from
43588         ports/sysdeps/powerpc/powerpc32/440.
43589         * sysdeps/powerpc/powerpc32/464: Move directory from
43590         ports/sysdeps/powerpc/powerpc32/464.
43591         * sysdeps/powerpc/powerpc32/476: Move directory from
43592         ports/sysdeps/powerpc/powerpc32/476.
43593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43594         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43596         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43598         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43600         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43602         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43603         * README: Update for powerpc-*-linux-gnu software floating point
43604         support in libc.
43606         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43607         case to powerpc/powerpc32*.
43608         * sysdeps/unix/sysv/linux/configure: Regenerated.
43610         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43611         (_FPU_MASK_OM): Define as 0x04.
43612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43614         0x00c10080.
43615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43616         0x0000003c.
43617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43620         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43621         getcontext_e500.
43622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43623         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43624         setcontext_e500.
43625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43626         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43627         and setcontext_e500.
43629 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43631         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43633 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43635         * manual/threads.texi (Default Thread Attributes): Fix typo.
43637 2013-10-04  Will Newton  <will.newton@linaro.org>
43639         * malloc/Makefile: Add tst-memalign.
43640         * malloc/tst-memalign.c: New file.
43642         * malloc/tst-posix_memalign.c: Add comments.
43643         (do_test): Add comments and call free on all potentially
43644         allocated pointers. Add space after cast.
43646         * malloc/tst-pvalloc.c: Add comments.
43647         (do_test): Add comments and call free on all potentially
43648         allocated pointers. Remove duplicate check for NULL pointer.
43649         Add space after cast.
43651         * malloc/tst-valloc.c: Add comments.
43652         (do_test): Add comments and call free on all potentially
43653         allocated pointers. Remove duplicate check for NULL pointer.
43654         Add space after cast.
43656 2013-10-04  Alan Modra  <amodra@gmail.com>
43658         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43659         Use stdint types in rather than __attribute__((mode())).
43660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43662 2013-10-04  Alan Modra  <amodra@gmail.com>
43664         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43665         Correct handling of unaligned relocs for little-endian.
43666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43668 2013-10-04  Alan Modra  <amodra@gmail.com>
43670         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43671         * configure: Regenerate.
43672         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43673         * shlib-versions: Likewise.
43675 2013-10-04  Alan Modra  <amodra@gmail.com>
43677         * string/tester.c (test_memrchr): Increment reported test cycle.
43679 2013-10-04  Alan Modra  <amodra@gmail.com>
43681         * string/test-memcpy.c (do_one_test): When reporting errors, print
43682         string address and don't overrun end of string.
43684 2013-10-04  Alan Modra  <amodra@gmail.com>
43686         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43687         insrdi.  Make better use of reg selection to speed exit slightly.
43688         Schedule entry path a little better.  Remove useless "are we done"
43689         checks on entry to main loop.  Handle wrapping around zero address.
43690         Correct main loop count.  Handle single left-over word from main
43691         loop inline rather than by using loop_small.  Remove extra word
43692         case in loop_small caused by wrong loop count.  Add little-endian
43693         support.
43694         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43696         cache hint.
43697         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43698         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43699         support.  Avoid rlwimi.
43700         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43702 2013-10-04  Alan Modra  <amodra@gmail.com>
43704         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43705         insrdi.  Formatting.
43706         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43707         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43708         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43709         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43710         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43711         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43713 2013-10-04  Alan Modra  <amodra@gmail.com>
43715         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43717         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43718         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43719         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43720         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43721         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43722         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43723         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43724         use of regs.  Use power7 mtocrf.  Tidy function tails.
43726 2013-10-04  Alan Modra  <amodra@gmail.com>
43728         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43729         Formatting.  Consistently use rXXX register defines or rN defines.
43730         Use early exit labels that avoid restoring unused non-volatile regs.
43731         Make cr field use more consistent with rWORDn compares.  Rename
43732         regs used as shift registers for unaligned loop, using rN defines
43733         for short lifetime/multiple use regs.
43734         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43735         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43736         addi 1,1,64 to pop stack frame.  Simplify return value code.
43737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43739 2013-10-04  Alan Modra  <amodra@gmail.com>
43741         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43742         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43743         rather than rlwimi.
43744         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43745         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43746         little-endian support.  Correct typos.
43747         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43748         rather than rlwimi.
43749         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43750         in loop and entry code to keep "and." results.
43751         (strchr): Add little-endian support.  Comment.  Move cntlzd
43752         earlier in tail.
43753         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43755 2013-10-04  Alan Modra  <amodra@gmail.com>
43757         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43758         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43759         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43760         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43762 2013-10-04  Alan Modra  <amodra@gmail.com>
43764         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43765         (rTMP): Define as r11.
43766         (strcmp): Add little-endian support.  Optimise tail.
43767         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43768         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43769         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43770         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43771         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43772         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43775 2013-10-04  Alan Modra  <amodra@gmail.com>
43777         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43778         little-endian support.  Remove unnecessary "are we done" tests.
43779         Handle "s" wrapping around zero and extremely large "size".
43780         Correct main loop count.  Handle single left-over word from main
43781         loop inline rather than by using small_loop.  Correct comments.
43782         Delete "zero" tail, use "end_max" instead.
43783         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43785 2013-10-04  Alan Modra  <amodra@gmail.com>
43787         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43788         support.  Don't branch over align.
43789         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43790         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43791         support.  Rearrange tmp reg use to suit.  Comment.
43792         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43794 2013-10-04  Alan Modra  <amodra@gmail.com>
43796         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43798 2013-10-04  Alan Modra  <amodra@gmail.com>
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43801         conditional form of branch and link when obtaining pc.
43802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43804 2013-10-04  Alan Modra  <amodra@gmail.com>
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43807         HIWORD/LOWORD.
43808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43811 2013-10-04  Alan Modra  <amodra@gmail.com>
43813         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43814         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43815         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43816         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43817         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43818         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43819         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43820         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43821         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43822         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43824 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43825             Alistair Popple <alistair@ozlabs.au.ibm.com>
43826             Alan Modra <amodra@gmail.com>
43828         [BZ #15723]
43829         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43830         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43831         _dl_hwcap access for little-endian.
43832         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43833         destroy vmx regs when saving unaligned.
43834         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43835         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43836         destroy vmx regs when saving unaligned.
43838 2013-10-04  Alan Modra  <amodra@gmail.com>
43840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43841         Don't use a union to pack hi/low value.
43843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43845         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43846         for little-endian.
43847         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43848         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43849         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43850         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43851         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43853 2013-10-04  Alan Modra  <amodra@gmail.com>
43855         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43856         constants to usual value for .cst8 section, and remove redundant
43857         high address load.
43858         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43859         constant for 0x1p52.  Load little-endian words of double from
43860         correct stack offsets.
43862 2013-10-04  Alan Modra  <amodra@gmail.com>
43864         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43865         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43866         words of double from correct stack offsets.
43867         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43868         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43869         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43870         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43871         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43872         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43873         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43874         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43875         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43876         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43877         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43878         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43879         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43880         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43881         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43882         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43883         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43885 2013-10-04  Alan Modra  <amodra@gmail.com>
43887         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43888         64-bit int/double union.
43889         (_FPU_SETCW): Likewise.
43890         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43891         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43893 2013-10-04  Alan Modra  <amodra@gmail.com>
43895         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43896         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43898 2013-10-04  Alan Modra  <amodra@gmail.com>
43900         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43901         use vector int constants.
43902         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43904 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43906         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43907         array with long long.
43908         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43909         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43910         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43911         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43912         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43913         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43914         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43915         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43916         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43917         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43918         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43919         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43920         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43922 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43924         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43925         (__signbit): Likewise.  Correct for little-endian.
43926         (__signbitl): Call __signbit.
43927         (lrint): Correct for little-endian.
43928         (lrintf): Call lrint.
43930 2013-10-04  Alan Modra  <amodra@gmail.com>
43932         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43933         union 32-bit int array member with 64-bit int array.
43934         (t515, tm256): Double rather than long double.
43935         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43937 2013-10-04  Alan Modra  <amodra@gmail.com>
43939         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43940         Delete.
43941         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43943         version of math_ldbl.h.
43945 2013-10-04  Alan Modra  <amodra@gmail.com>
43947         [BZ #15734], [BZ #15735]
43948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43949         all uses of ieee875 long double macros and unions.  Simplify test
43950         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43951         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43952         normalize after ldbl_extract_mantissa, and don't add hidden bit
43953         already handled.  Don't treat low word of ieee854 mantissa like
43954         low word of IBM long double and mask off bit when testing for
43955         zero.
43956         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43957         all uses of ieee875 long double macros and unions.  Simplify tests
43958         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43959         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43960         two1022, instead use their values.  Recognise that tests for large
43961         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43963         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43964         test for 0.0L and nan.  Correct negation.
43965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43966         ieee875 long double macros and unions.  Correct output for large
43967         magnitude x.  Correct absolute value calculation.
43968         (__erfcl): Likewise.
43969         * math/libm-test.inc: Add tests for errors discovered in IBM long
43970         double versions of fmodl, remainderl, erfl and erfcl.
43972 2013-10-04  Alan Modra  <amodra@gmail.com>
43974         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43975         all uses of ieee854 long double macros and unions.  Simplify tests
43976         for long doubles that are fully specified by the high double.
43977         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43978         Likewise.
43979         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43980         Remove dead code too.
43981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43982         (__ieee754_ynl): Likewise.
43983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43986         Remove dead code too.
43987         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43988         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43990         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43991         Simplify.
43992         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43993         Simplify.
43994         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43995         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43996         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43997         Comment on variable precision.
43998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44000         Likewise.
44001         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44002         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44003         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44004         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44005         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44007 2013-10-04  Alan Modra  <amodra@gmail.com>
44009         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44011         all uses of ieee854 long double macros and unions.
44012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44013         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44014         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44016         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44017         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44018         Likewise.
44019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44020         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44021         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44022         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44023         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44024         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44025         Simplify sign and nan test too.
44026         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44027         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44028         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44029         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44030         Likewise.
44031         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44032         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44033         Likewise.
44034         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44035         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44036         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44037         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44038         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44039         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44041 2013-10-04  Alan Modra  <amodra@gmail.com>
44043         * stdio-common/printf_size.c (__printf_size): Don't use
44044         union ieee854_long_double in fpnum union.
44045         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44046         signbit macro to retrieve sign from long double.
44047         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44048         retrieve sign from long double.
44049         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44050         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44051         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44052         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44053         * math/test-misc.c (main): Don't use union ieee854_long_double.
44055 2013-10-04  Alan Modra  <amodra@gmail.com>
44057         [BZ #15680]
44058         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44059         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44060         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44061         calculation.  Remove unnecessary test for denormal exponent.
44062         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44063         Correct handling of denormals.  Avoid undefined shift behaviour.
44064         Correct normalisation of low mantissa when low double is denormal.
44065         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44066         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44067         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44068         Correct normalisation of low mantissa.  Test for overflow of high
44069         mantissa and normalise.
44070         (ldbl_nearbyint): Use more readable constant for two52.
44071         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44072         (__mpn_construct_long_double): Fix test for overflow of high
44073         mantissa and correct normalisation.  Avoid undefined shift.
44075 2013-10-04  Alan Modra  <amodra@gmail.com>
44077         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44078         (union ibm_extended_long_double): Define as an array of ieee754_double.
44079         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44080         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44081         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44082         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44084         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44086         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44087         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44088         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44089         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44091 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44093         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44094         page size instead of calling getpagesize.
44096         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44097         (LOCFILE_ALIGN_MASK): Likewise.
44098         (LOCFILE_ALIGN_UP): Likewise.
44099         (LOCFILE_ALIGNED_P): Likewise.
44100         * locale/programs/ld-collate.c (collate_output): Use the new
44101         macros instead of __alignof__ (int32_t).
44102         * locale/weight.h (findidx): Likewise.
44104 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44106         [BZ #431]
44107         * manual/string.texi: Fix strncat and wcsncat.
44109 2013-10-03  Brooks Moses  <bmoses@google.com>
44111         [BZ #15915]
44112         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44113         * Makerules: ...here, and adjust associated comments.
44115 2013-10-02  Will Newton  <will.newton@linaro.org>
44117         * malloc/Makefile: Add tst-pvalloc.
44118         * malloc/tst-pvalloc.c: New file.
44120 2013-10-02  Will Newton  <will.newton@linaro.org>
44122         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44123         improve test coverage.
44125 2013-10-02  Will Newton  <will.newton@linaro.org>
44127         * malloc/Makefile: Add tst-posix_memalign.
44128         * malloc/tst-posix_memalign.c: New file.
44130 2013-10-01  Eric Blake  <eblake@redhat.com>
44132         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44133         Use __THROWNL rather than __THROW on static functions.
44135 2013-09-30  Petr Machata  <pmachata@redhat.com>
44137         * elf/elf.h (R_AARCH64_ABS16): New macro.
44138         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44139         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44140         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44141         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44142         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44143         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44144         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44145         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44146         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44147         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44148         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44149         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44150         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44151         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44152         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44153         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44154         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44155         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44156         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44157         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44158         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44159         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44160         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44161         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44162         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44163         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44164         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44165         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44166         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44167         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44168         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44169         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44170         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44171         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44172         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44173         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44174         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44175         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44176         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44177         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44178         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44179         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44180         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44181         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44182         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44183         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44184         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44185         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44186         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44187         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44188         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44189         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44190         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44191         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44192         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44193         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44194         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44195         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44196         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44197         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44198         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44199         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44200         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44201         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44202         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44203         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44204         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44205         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44206         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44207         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44208         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44209         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44210         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44211         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44212         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44213         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44214         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44215         (R_AARCH64_TLSDESC_LDR): Likewise.
44216         (R_AARCH64_TLSDESC_ADD): Likewise.
44217         (R_AARCH64_TLSDESC_CALL): Likewise.
44219 2013-09-30  Andreas Schwab  <schwab@suse.de>
44221         [BZ #15048]
44222         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44223         the nss database lookup.
44224         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44227 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44229         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44231 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44233         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44234         ${Bash-specific parameter/pattern/string} parameter expansion.
44235         * sysdeps/unix/make-syscalls.sh: Likewise.
44237 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44239         * sysdeps/sh/stackguard-macros.h: New file.
44241 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44245         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44246         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44247         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44248         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44250 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44252         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44253         Fix thread ID register.
44255 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44257         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44258         [POSIX || UNIX98]: Require rather than permitting all symbols from
44259         <time.h>.
44260         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44261         element of struct sched_param.
44262         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44263         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44264         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44265         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44266         constant.
44268 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44270         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44271         argument calculation.
44273 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44275         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44276         Expect macro.
44277         [POSIX] (pthread_attr_t): Do not require type.
44278         [POSIX] (pthread_cond_t): Likewise.
44279         [POSIX] (pthread_condattr_t): Likewise.
44280         [POSIX] (pthread_key_t): Likewise.
44281         [POSIX] (pthread_mutex_t): Likewise.
44282         [POSIX] (pthread_mutexattr_t): Likewise.
44283         [POSIX] (pthread_once_t): Likewise.
44284         [POSIX] (pthread_t): Likewise.
44285         [POSIX-based standards] (pthread_atfork): Expect function.
44287 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44288             Richard Sandiford  <richard@codesourcery.com>
44290         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44291         (swap_endianness_p): New extern variable.
44292         (set_big_endian): New inline function.
44293         (maybe_swap_uint32): Likewise.
44294         (maybe_swap_uint32_array): Likewise.
44295         (maybe_swap_uint32_obstack): Likewise.
44296         * locale/programs/locfile.c: Include <stdbool.h>.
44297         (swap_endianness_p): New variable.
44298         (add_locale_uint32): Call maybe_swap_uint32.
44299         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44300         (write_locale_data): Call maybe_swap_uint32_array.
44301         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44302         maybe_swap_uint32.
44303         (obstack_int32_grow_fast): Likewise.
44304         (output_weightwc): Call maybe_swap_uint32_obstack.
44305         (collate_output): Likewise.
44306         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44307         (OPT_LITTLE_ENDIAN): Likewise.
44308         (options): Add --little-endian and --big-endian options.
44309         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44310         * locale/programs/locarchive.c: Include "locfile.h".
44311         (GET): New macro.
44312         (SET): Likewise.
44313         (INC): Likewise.
44314         (create_archive): Use the new macros to access fields of
44315         structures directly mapped from or written to locale archives.
44316         (oldlocrecentcmp): Likewise.
44317         (enlarge_archive): Likewise.
44318         (insert_name): Likewise.
44319         (add_alias): Likewise.
44320         (add_locale): Likewise.
44321         (delete_locales_from_archive): Likewise.
44322         (show_archive_content): Likewise.
44323         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44324         locale data.
44326 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44328         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44329         http://www.gnu.org/doc/freemanuals.texi.
44330         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44332 2013-09-24  Will Newton  <will.newton@linaro.org>
44334         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44335         macro.
44337 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44339         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44340         unsigned char.
44342 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44344         * manual/threads.texi (POSIX Threads): Fix a typo.
44346 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44348         [BZ #14547]
44349         * string/tst-strcoll-overflow.c: New test case.
44350         * string/Makefile (xtests): Add tst-strcoll-overflow.
44351         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44352         cache if string sizes may cause integer overflow.
44354         [BZ #14547]
44355         * string/strcoll_l.c (coll_seq): New members rule, idx,
44356         save_idx and back_us.
44357         (get_next_seq_nocache): New function.
44358         (do_compare_nocache): New function.
44359         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44360         when malloc fails.
44362 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44364         [BZ #15754]
44365         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44366         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44367         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44369         [BZ #15754]
44370         * elf/Makefile (tests): Add tst-ptrguard1.
44371         (tests-static): Add tst-ptrguard1-static.
44372         (tst-ptrguard1-ARGS): Define.
44373         (tst-ptrguard1-static-ARGS): Define.
44374         * elf/tst-ptrguard1.c: New file.
44375         * elf/tst-ptrguard1-static.c: New file.
44376         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44377         * sysdeps/i386/stackguard-macros.h: Likewise.
44378         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44379         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44380         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44381         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44382         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44383         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44385 2013-09-23  Hector Marco  <hecmargi@upv.es>
44386             Ismael Ripoll  <iripoll@disca.upv.es>
44387             Carlos O'Donell  <carlos@redhat.com>
44389         [BZ #15754]
44390         * sysdeps/generic/stackguard-macros.h: Define
44391         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44392         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44393         Define __pointer_chk_guard_local.
44394         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44395         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44397 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44399         [BZ #15859]
44400         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44402 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44404         * include/string.h (__ffs): Declare as hidden.
44405         * string/ffs.c (__ffs): Define as hidden.
44406         * sysdeps/i386/ffs.c (__ffs): Likewise.
44407         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44408         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44409         * sysdeps/s390/ffs.c (__ffs): Likewise.
44410         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44412 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44414         * NEWS: Mention malloc probes.
44416         * malloc/arena.c (new_heap): New memory_heap_new probe.
44417         (grow_heap): New memory_heap_more probe.
44418         (shrink_heap): New memory_heap_less probe.
44419         (heap_trim): New memory_heap_free probe.
44420         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44421         (systrim): New memory_sbrk_less probe.
44422         * manual/probes.texi: Document them.
44424         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44425         * manual/probes.texi: Document it.
44427         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44428         (__libc_realloc): Add memory_realloc_retry probe.
44429         (__libc_memalign): Add memory_memalign_retry probe.
44430         (__libc_valloc): Add memory_valloc_retry probe.
44431         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44432         (__libc_calloc): Add memory_calloc_retry probe.
44433         * manual/probes.texi: Document them.
44435         * malloc/arena.c (get_free_list): Add probe
44436         memory_arena_reuse_free_list.
44437         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44438         and memory_arena_reuse.
44439         (arena_get2) [!PER_THREAD]: Likewise.
44440         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44441         memory_arena_reuse_realloc.
44442         * manual/probes.texi: Document them.
44444         * malloc/malloc.c (__libc_free): Add
44445         memory_mallopt_free_dyn_thresholds probe.
44446         (__libc_mallopt): Add multiple memory_mallopt probes.
44447         * manual/probes.texi: Document them.
44449         * malloc/malloc.c: Include stap-probe.h.
44450         (__libc_mallopt): Add memory_mallopt probe.
44451         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44452         * manual/probes.texi: New.
44453         * manual/Makefile (chapters): Add probes.
44454         * manual/threads.texi: Set next node.
44456 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44458         [BZ #15963, #13985]
44459         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44460         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44461         Add `Chinese' to `nan' entry name.
44463 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44465         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44466         (POLYNOMIAL): Likewise.
44467         (TAYLOR_SINCOS): Likewise.
44468         (TAYLOR_SLOW): Likewise.
44469         (__sin): Use TAYLOR_SINCOS.
44470         (__cos): Likewise.
44471         (slow): Use TAYLOR_SLOW.
44472         (sloww): Likewise.
44473         (bsloww): Likewise.
44474         (csloww): Likewise.
44476 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44478         * stdlib/strtod_l.c: Fix buffer overrun.
44480 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44482         * benchtests/Makefile (bench): Add sincos.
44483         * benchtests/bench-sincos.c: New file.
44485         * math/libm-test.inc (cos_test_data): New test inputs.
44486         (sin_test_data): Likewise.
44488         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44489         macro.
44490         (__sin): Use it.
44491         (__cos): Likewise.
44492         (slow1): Likewise.
44493         (slow2): Likewise.
44494         (sloww1): Likewise.
44495         (sloww2): Likewise.
44496         (bsloww1): Likewise.
44497         (bsloww2): Likewise.
44498         (cslow2): Likewise.
44499         (csloww1): Likewise.
44500         (csloww2): Likewise.
44502         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44503         function.
44504         (__sin): Use it.
44505         (__cos): Likewise.
44507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44508         gotos.
44509         (__cos): Likewise.
44511 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44513         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44514         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44515         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44516         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44517         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44518         * elf/cache.c (print_entry): Handle the new cache flags.
44520 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44521             Aldy Hernandez  <aldyh@redhat.com>
44523         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44524         Change condition to [_SOFT_FLOAT].
44525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44537         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44540         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44541         declaration.
44543 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44545         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44546         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44547         (__longjmp): Use LOAD_GP to load saved GPRs.
44548         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44549         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44550         (__sigsetjmp): Use SAVE_GP to save GPRs.
44552         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44553         Do not append -msoft-float.
44554         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44556 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44558         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44560 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44562         [BZ #15966]
44563         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44564         (_FPU_GETCW): Use initial "__" on variable and field names but not
44565         on macro parameter name.
44566         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44567         parentheses around reference to macro parameter.
44569 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44571         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44572         prototype.
44573         (ctype_startup): Use uint32_t in cast and sizeof for
44574         ctype->charnames.
44576 2013-09-11  Jia Liu  <proljc@gmail.com>
44578         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44579         __daddr_t_defined.
44580         [__FreeBSD__]: Likewise.
44582 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44585         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44586         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44587         (strchr): Remove __strchr_sse42 ifunc selection.
44588         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44589         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44591 2013-09-11  Will Newton  <will.newton@linaro.org>
44593         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44594         parameter to RES. Remove hardcoded 1000 value.
44595         * benchtests/bench-skeleton.c (main): Pass RES parameter
44596         to TIMING_INIT and multiply result by 1000.
44598 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44602 2013-09-11  Andreas Schwab  <schwab@suse.de>
44604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44605         if not defined.
44606         (O_TMPFILE) [__USE_GNU]: Define.
44607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44608         Define.
44610 2013-09-11  Will Newton  <will.newton@linaro.org>
44612         [BZ #15857]
44613         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44614         does not overflow.
44616 2013-09-11  Will Newton  <will.newton@linaro.org>
44618         [BZ #15856]
44619         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44620         does not overflow.
44622 2013-09-11  Will Newton  <will.newton@linaro.org>
44624         [BZ #15855]
44625         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44626         does not overflow.
44628 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44630         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44631         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44632         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44633         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44634         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44636 2013-09-10  Allan McRae  <allan@archlinux.org>
44638         [BZ #15748]
44639         * manual/arith.texi (Parsing of Floats): Clarify
44640         cross-reference.
44642         [BZ #15849]
44643         * manual/install.texi (Running make install): Mention
44644         --enable-pt-chown.
44645         * INSTALL: Regenerated.
44647 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44649         * csu/init-first.c (_init): Remove the !SHARED condition around
44650         FPU control word initialization.
44651         * elf/dl-support.c (_dl_fpu_control): New variable.
44652         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44653         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44654         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44655         * math/test-fpucw-static.c: New file.
44656         * math/test-fpucw-ieee.c: New file.
44657         * math/test-fpucw-ieee-static.c: New file.
44658         * math/Makefile (tests): Add `test-fpucw-ieee' and
44659         `$(tests-static)'.
44660         (tests-static): New variable.
44661         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44662         dependency to...
44663         [($(build-shared),yes)]
44664         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44665         ... this.
44666         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44667         New dependency.
44669 2013-09-09  Allan McRae  <allan@archlinux.org>
44671         [BZ #15939]
44672         * manual/string.texi (Collation Functions): Fix typo in
44673         strcoll example.
44674         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44676         [BZ #15893]
44677         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44679         [BZ #15892]
44680         * libio/memstream.c (open_memstream): Fix memory leak.
44681         * libio/wmemstream.c (open_wmemstream): Likewise.
44683         [BZ #15895]
44684         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44686 2013-09-09  Will Newton  <will.newton@linaro.org>
44688         * malloc/Makefile: Add tst-realloc to tests.
44689         * malloc/tst-realloc.c: New file.
44691 2013-09-09  Allan McRae  <allan@archlinux.org>
44693         [BZ #15844]
44694         * COPYING: Update from GNU website to fix FSF address.
44695         * COPYING.LIB: Likewise.
44697 2013-09-06  David S. Miller  <davem@davemloft.net>
44699         * po/zh_TW.po: Update Chinese (traditional) translation from
44700         translation project.
44702 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44703             Joseph Myers  <joseph@codesourcery.com>
44705         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44706         "localeinfo.h".
44707         (obstack_chunk_alloc): New macro.
44708         (obstack_chunk_free): Likewise.
44709         (record_offset): New function.
44710         (init_locale_data): Likewise.
44711         (align_locale_data): Likewise.
44712         (add_locale_empty): Likewise.
44713         (add_locale_raw_data): Likewise.
44714         (add_locale_raw_obstack): Likewise.
44715         (add_locale_string): Likewise.
44716         (add_locale_wstring): Likewise.
44717         (add_locale_uint32): Likewise.
44718         (add_locale_uint32_array): Likewise.
44719         (add_locale_char): Likewise.
44720         (start_locale_structure): Likewise.
44721         (end_locale_structure): Likewise.
44722         (start_locale_prelude): Likewise.
44723         (end_locale_prelude): Likewise.
44724         (write_locale_data): Take locale_file structure rather than an
44725         iovec.
44726         * locale/programs/locfile.h: Include "obstack.h".
44727         (struct locale_file): Change to store locale file contents instead
44728         of header.
44729         (init_locale_data): New prototype.
44730         (align_locale_data): Likewise.
44731         (add_locale_empty): Likewise.
44732         (add_locale_raw_data): Likewise.
44733         (add_locale_raw_obstack): Likewise.
44734         (add_locale_string): Likewise.
44735         (add_locale_wstring): Likewise.
44736         (add_locale_uint32): Likewise.
44737         (add_locale_uint32_array): Likewise.
44738         (add_locale_char): Likewise.
44739         (start_locale_structure): Likewise.
44740         (end_locale_structure): Likewise.
44741         (start_locale_prelude): Likewise.
44742         (end_locale_prelude): Likewise.
44743         (write_locale_data): Update prototype.
44744         * locale/programs/3level.h (struct TABLE): Remove result field.
44745         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44746         Use new locale_file interface.
44747         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44748         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44749         * locale/programs/ld-address.c (address_output): Use new
44750         locale_file interface.
44751         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44752         NO_ADD_LOCALE.
44753         (collate_finish): Don't call collseq_table_finalize.
44754         (collate_output): Use new locale_file interface.
44755         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44756         in file.
44757         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44758         (TABLE): Move defines earlier in file.
44759         (ELEMENT): Likewise.
44760         (DEFAULT): Likewise.
44761         (wctrans_table_add): Move macro and inline function earlier in
44762         file.
44763         (struct wctype_table): Move type earlier in file.
44764         (add_locale_wctype_table): New static prototype.
44765         (struct locale_ctype_t): Use logical types instead of struct iovec
44766         pointers for members.
44767         (ctype_output): Use new locale_file interface.
44768         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44769         new locale_file interface.
44770         (allocate_arrays): Update for use of new locale_file interface.
44771         * locale/programs/ld-identification.c (identification_output): Use
44772         new locale_file interface.
44773         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44774         * locale/programs/ld-messages.c (messages_output): Likewise.
44775         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44776         * locale/programs/ld-name.c (name_output): Likewise.
44777         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44778         * locale/programs/ld-paper.c (paper_output): Likewise.
44779         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44780         * locale/programs/ld-time.c (time_output): Likewise.
44782 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44784         * benchtests/Makefile: Add memrchr benchmark.
44785         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44786         benchmark as memrchr.
44787         * benchtests/bench-memrchr-ifunc.c: New file.
44788         * benchtests/bench-memrchr.c: New file.
44790 2013-09-06   Will Newton  <will.newton@linaro.org>
44792         * benchtests/Makefile (string-bench): Add memcpy.
44794 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44795             Cong Wang  <amwang@redhat.com>
44797         [BZ #15850]
44798         * sysdeps/unix/sysv/linux/bits/in.h
44799         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44800         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44801         before __USE_KERNEL_IPV6_DEFS uses.
44802         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44803         IPPROTO_BEETPH.
44804         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44805         sockaddr_in6, or ipv6_mreq.
44807 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44809         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44810         memory access for final bytes in some large inputs.
44811         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44813 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44815         * string/test-memrchr.c: New file.
44816         * string/test-memrchr-ifunc.c: New file.
44817         * string/Makefile: Add new memrchr testcase.
44819 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44821         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44822         fanotify_init returns EPERM.
44824 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44826         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44827         errors.
44828         (top level): Treat second token from macro or constant entries for
44829         allowed headers as allowed.
44830         * include/complex.h: Condition internal declarations on
44831         [!_ISOMAC].
44832         * include/fenv.h: Condition include of <stdbool.h> and internal
44833         declarations on [!_ISOMAC].
44835 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44837         [BZ #15923]
44838         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44840 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44842         * configure.in (--enable-versioning): Remove configure option.
44843         (libc_cv_asm_symver_directive): Remove configure test.
44844         (libc_cv_ld_version_script_option): Likewise.
44845         (VERSIONING): Remove variable and AC_SUBST.
44846         (DO_VERSIONING): Remove AC_DEFINE.
44847         * configure: Regenerated.
44848         * config.h.in (DO_VERSIONING): Remove macro.
44849         * Makerules [$(versioning) = yes]: Change conditionals to
44850         [$(build-shared) = yes].
44851         * config.make.in (versioning): Remove variable.
44852         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44853         [$(build-shared) = yes].
44854         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44855         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44856         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44857         [$(build-shared) = yes].
44858         * extra-lib.mk [$(versioning) = yes]: Likewise.
44859         * hurd/Makefile [$(versioning) = yes]: Likewise.
44860         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44861         [SHARED].
44862         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44863         [SHARED].
44864         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44865         [SHARED && !NO_HIDDEN].
44866         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44867         [SHARED].
44868         [SHARED && DO_VERSIONING]: Likewise..
44869         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44870         [$(build-shared) = yes].
44871         * manual/install.texi (--disable-versioning): Remove
44872         documentation.
44873         * INSTALL: Regenerated.
44874         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44875         to [SHARED].
44876         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44877         [$(build-shared) = yes].
44878         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44879         * sysdeps/i386/i686/multiarch/strstr-c.c
44880         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44881         [SHARED && !NO_HIDDEN].
44882         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44883         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44884         * sysdeps/powerpc/powerpc32/dl-machine.c
44885         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44886         * sysdeps/powerpc/powerpc32/sysdep.h
44887         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44888         to [SHARED && PIC && !NO_HIDDEN].
44889         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44890         conditional to [SHARED].
44892 2013-09-04   Will Newton  <will.newton@linaro.org>
44894         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44895         * benchtests/bench-string.h: Include bench-timing.h instead
44896         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44897         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44898         call to HP_TIMING_DIFF_INIT.
44899         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44900         instead of hp-timing.h macros.
44901         * benchtests/bench-memchr.c: Likewise.
44902         * benchtests/bench-memcmp.c: Likewise.
44903         * benchtests/bench-memcpy.c: Likewise.
44904         * benchtests/bench-memmem.c: Likewise.
44905         * benchtests/bench-memmove.c: Likewise.
44906         * benchtests/bench-memset.c: Likewise.
44907         * benchtests/bench-rawmemchr.c: Likewise.
44908         * benchtests/bench-strcasecmp.c: Likewise.
44909         * benchtests/bench-strcasestr.c: Likewise.
44910         * benchtests/bench-strcat.c: Likewise.
44911         * benchtests/bench-strchr.c: Likewise.
44912         * benchtests/bench-strcmp.c: Likewise.
44913         * benchtests/bench-strcpy.c: Likewise.
44914         * benchtests/bench-strcpy_chk.c: Likewise.
44915         * benchtests/bench-strlen.c: Likewise.
44916         * benchtests/bench-strncasecmp.c: Likewise.
44917         * benchtests/bench-strncat.c: Likewise.
44918         * benchtests/bench-strncmp.c: Likewise.
44919         * benchtests/bench-strncpy.c: Likewise.
44920         * benchtests/bench-strnlen.c: Likewise.
44921         * benchtests/bench-strpbrk.c: Likewise.
44922         * benchtests/bench-strrchr.c: Likewise.
44923         * benchtests/bench-strspn.c: Likewise.
44924         * benchtests/bench-strstr.c: Likewise.
44926 2013-09-04  Will Newton  <will.newton@linaro.org>
44928         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44930 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44932         [BZ #15427]
44933         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44934         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44935         * math/libm-test.inc (lgamma_test_data): Add more tests.
44936         * sysdeps/i386/fpu/libm-test-ulps: Update.
44937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44939 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44941         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44943         Add ifunc.
44944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44945         Add strcmp-sse2-unaligned
44946         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44948 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44950         * Versions.def (libc): Add GLIBC_2.19.
44952 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44954         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44955         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44957 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44959         [BZ #14155]
44960         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44961         intermediate calculations in recurrence.
44962         (__ieee754_ynf): Likewise.
44963         * math/libm-test.inc (jn_test_data): Do not allow spurious
44964         underflow exception.  Add more tests.
44965         (yn_test_data): Add more tests.
44966         * sysdeps/i386/fpu/libm-test-ulps: Update.
44967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44969 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44971         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44973 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44975         * csu/init-first.c: Fix then/than typos.
44976         * locale/programs/ld-collate.c: Likewise.
44977         * locale/programs/linereader.h: Likewise.
44978         * manual/charset.texi: Likewise.
44979         * manual/filesys.texi: Likewise.
44980         * manual/stdio.texi: Likewise.
44981         * manual/string.texi: Likewise.
44982         * stdlib/fmtmsg.c: Likewise.
44983         * sysdeps/i386/stpncpy.S: Likewise.
44984         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44985         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44986         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44987         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44989 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44991         * elf/dl-open.c: Fix typos.
44992         * iconvdata/gbbig5.c: Likewise.
44993         * iconvdata/iso-2022-jp.c: Likewise.
44994         * iconv/gconv_int.h: Likewise.
44995         * iconv/loop.c: Likewise.
44996         * nis/rpcsvc/nis.h: Likewise.
44997         * resolv/ns_name.c: Likewise.
44998         * stdio-common/vfscanf.c: Likewise.
44999         * streams/stropts.h: Likewise.
45000         * sunrpc/rpc_thread.c: Likewise.
45001         * sysdeps/i386/strpbrk.S: Likewise.
45002         * sysdeps/ieee754/k_standard.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45005         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45006         * sysdeps/mach/hurd/profil.c: Likewise.
45007         * sysdeps/s390/dl-procinfo.h: Likewise.
45008         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45009         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45010         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45011         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45014 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45016         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45019 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45021         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45022         aix specific files.
45023         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45024         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45025         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45026         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45027         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45028         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45029         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45030         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45032 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45033             Roland McGrath  <roland@hack.frob.com>
45035         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45036         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45038 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45040         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45041         __executable_start symbol instead of _start.
45043 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45045         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45046         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45047         Move macros to...
45048         * sysdeps/gnu/ldsodefs.h: ... this new file.
45050         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45051         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45052         instead of ELFOSABI_LINUX.
45054         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45055         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45056         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45057         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45058         Likewise.
45059         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45060         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45061         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45062         Likewise.
45063         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45064         (ibm_extended_long_double): Add ieee_nan member.
45065         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45066         (do_test): New function.
45068         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45069         TEST_TRUNC.
45070         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45071         functions, renamed from truncdfsf_test, trunctfsf_test,
45072         trunctfdf_test.
45073         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45074         functions.
45075         (do_test): Run all these.
45077 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45079         * argp/argp-help.c: Fix typos.
45080         * argp/argp-parse.c: Likewise.
45081         * debug/backtracesyms.c: Likewise.
45082         * elf/elf.h: Likewise.
45083         * malloc/malloc.c: Likewise.
45084         * nis/nis_print.c: Likewise.
45085         * resolv/res_comp.c: Likewise.
45086         * stdlib/stdlib.h: Likewise.
45087         * sunrpc/clnt_tcp.c: Likewise.
45088         * sunrpc/clnt_udp.c: Likewise.
45089         * sunrpc/clnt_unix.c: Likewise.
45090         * sysdeps/unix/bsd/ptsname.c: Likewise.
45091         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45092         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45094         Likewise.
45095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45096         Likewise.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45098         Likewise.
45099         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45101 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45103         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45106 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45108         [BZ #15897]
45109         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45110         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45111         ($(objpfx)bug-dl-leaf): New rule.
45112         ($(objpfx)bug-dl-leaf.so): Likewise.
45113         ($(objpfx)bug-dl-leaf.out): Likewise.
45114         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45115         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45116         * dlfcn/bug-dl-leaf.c: New test.
45117         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45118         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45119         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45120         (dlclose): Likewise.
45121         (dlmopen): Likewise.
45123 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45125         * include/netdb.h [!_ISOMAC]:
45126         Don't include <tls.h>.
45127         (h_errno, __libc_h_errno): Move declaration and macros out of
45128         [_LIBC_REENTRANT].
45130         * include/resolv.h [_RESOLV_H_]:
45131         Don't include <tls.h>.
45132         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45133         * resolv/res_libc.c: Don't include <tls.h>.
45134         (_res): Use __attribute__ ((nocommon)) in place of
45135         __attribute__ ((section (".bss"))).
45137         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45138         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45140         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45142         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45143         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45145         * resolv/res_mkquery.c: Include <sys/time.h>.
45147         * inet/ifreq.c: Moved to ...
45148         * sysdeps/unix/ifreq.c: ... here.
45149         * inet/ifreq.c: New file, true stub version.
45151         * socket/sa_len.c: New file.
45152         * socket/Makefile (aux): Add it.
45153         * sysdeps/unix/sysv/linux/Makefile
45154         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45155         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45156         and #include <socket/sa_len.c>.
45157         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45158         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45160         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45161         * bits/socket.h: ... here.
45163         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45164         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45165         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45167 2013-08-27  Andreas Schwab  <schwab@suse.de>
45169         [BZ #15736]
45170         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45171         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45172         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45173         * string/test-strcasecmp.c (test_main): Run tests in several
45174         locales.
45175         * string/test-strncasecmp.c (test_main): Likewise.
45177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45178         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45179         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45180         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45181         (__strncasecmp_ssse3) [PIC]: Likewise.
45183 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45185         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45187         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45188         instead of explicitly declaring xdecrypt.
45189         * nis/nss_nis/nis-publickey.c: Likewise.
45191 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45193         [BZ #15890]
45194         * nscd/aicache.c: Include res_hconf.h.
45195         (addhstaiX): Initialize res_hconf.
45197 2013-08-26  Andreas Schwab  <schwab@suse.de>
45199         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45200         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45202 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         * nscd/aicache.c (addhstaiX): Fix indentation.
45206 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45208         * configure.ac: Quote $build_pt_chown test.
45209         * configure: Regenerated.
45211 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45213         [BZ #15532]
45214         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45215         * math/s_cexpf.c (__cexpf): Likewise.
45216         * math/s_cexpl.c (__cexpl): Likewise.
45217         * math/libm-test.inc (cexp_test_data): Correct expected return
45218         value for NaN + i0.  Add another test.
45220 2013-08-22  David S. Miller  <davem@davemloft.net>
45222         * po/ca.po: Update Catalan translation from translation project.
45223         * po/uk.po: Add Ukrainian translations from translation project.
45225 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45227         [BZ #15797]
45228         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45229         is infinite, not alongside NaN test.
45230         * math/s_fdimf.c (__fdimf): Likewise.
45231         * math/s_fdiml.c (__fdiml): Likewise.
45232         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45233         errno is unchanged.
45235 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45237         * argp/argp-help.c: Fix typos.
45238         * crypt/speeds.c: Likewise.
45239         * csu/check_fds.c: Likewise.
45240         * elf/dl-load.c: Likewise.
45241         * elf/dl-open.c: Likewise.
45242         * elf/reldep3.c: Likewise.
45243         * elf/reldep.c: Likewise.
45244         * elf/sprof.c: Likewise.
45245         * iconv/iconv_charmap.c: Likewise.
45246         * iconv/skeleton.c: Likewise.
45247         * iconv/strtab.c: Likewise.
45248         * io/lockf64.c: Likewise.
45249         * libio/libioP.h: Likewise.
45250         * resolv/gai_notify.c: Likewise.
45251         * resolv/ns_name.c: Likewise.
45252         * resolv/ns_samedomain.c: Likewise.
45253         * resolv/res_send.c: Likewise.
45254         * stdlib/random.c: Likewise.
45255         * sunrpc/rpc/xdr.h: Likewise.
45256         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45257         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45258         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45259         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45260         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45263         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45264         * sysdeps/mach/hurd/check_fds.c: Likewise.
45265         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45266         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45267         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45268         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45269         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45270         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45271         * sysdeps/pthread/aio_notify.c: Likewise.
45272         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45273         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45274         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45275         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45276         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45278 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45280         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45281         version if bit_Slow_SSE4_2 is set.
45282         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45283         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45285 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45287         [BZ #15867]
45288         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45289         trampoline stack frame information.
45290         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45292         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45293         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45294         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45295         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45296         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45297         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45298         sa_flags value.
45299         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45300         interrupting a syscall and set with option SA_SIGINFO.
45302 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45304         [BZ #15531]
45305         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45306         argument is infinite.
45307         * math/s_cprojf.c (__cprojf): Likewise.
45308         * math/s_cprojl.c (__cprojl): Likewise.
45309         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45310         * math/libm-test.inc (cproj_test_data): Add more tests.
45312         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45314         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45315         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45316         size.  Use __ffs to determine corresponding shift.
45318 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45319             Roland McGrath  <roland@hack.frob.com>
45321         * Makefile (INSTALL): Remove trailing blank lines from output of
45322         makeinfo.
45324 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45326         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45327         Align 32 bit compat elf_greg to 8 bytes.
45329 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45331         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45333 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45335         * string/strcoll_l.c (coll_seq): New structure.
45336         (get_next_seq_cached): New function.
45337         (get_next_seq): New function.
45338         (do_compare): New function.
45339         (STRCOLL): Use GNU style definition.  Simplify implementation
45340         by using get_next_seq, get_next_seq_cached and do_compare.
45342 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45344         [BZ #14699]
45345         CVE-2013-4237
45346         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45347         member.
45348         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45349         member.
45350         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45351         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45352         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45353         conditional.
45354         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45355         GETDENTS_64BIT_ALIGNED.
45356         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45357         * manual/filesys.texi (Reading/Closing Directory): Document
45358         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45359         strongly.
45360         * manual/conf.texi (Limits for Files): Add portability note to
45361         NAME_MAX, PATH_MAX.
45362         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45364 2013-08-13  Andreas Schwab  <schwab@suse.de>
45366         [BZ #15749]
45367         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45368         of fabs.
45369         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45370         LDBL_MAX_EXP >= 16384]: Add tests for it.
45372 2013-08-12  David S. Miller  <davem@davemloft.net>
45374         * version.h (RELEASE): Set to "development".
45375         (VERSION): Set to "2.18.90".
45376         * NEWS: Add 2.19 section.
45378 2013-08-03  David S. Miller  <davem@davemloft.net>
45380         * po/ko.po: Update Korean translation from translation project.
45382 2013-08-01  David S. Miller  <davem@davemloft.net>
45384         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45385         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45386         Bilka.
45388 2013-07-30  David S. Miller  <davem@davemloft.net>
45390         * po/fr.po: Update French translation from translation project.
45392 2013-07-28  David S. Miller  <davem@davemloft.net>
45394         * po/cs.po: Update Czech translation from translation project.
45396         * po/sv.po: Update Swedish translation from translation project.
45398 2013-07-27  David S. Miller  <davem@davemloft.net>
45400         * po/eo.po: Update Esperanto translation from translation project.
45402         * po/vi.po: Update Vietnamese translation from translation project.
45404         * po/de.po: Update German translation from translation project.
45406 2013-07-26  David S. Miller  <davem@davemloft.net>
45408         * po/bg.po: Update Bulgarian translation from translation project.
45410         * po/nl.po: Update Dutch translation from translation project.
45411         * po/pl.po: Update Polish translation from translation project.
45412         * po/ru.po: Update Russian translation from translation project.
45414 2013-07-24  David S. Miller  <davem@davemloft.net>
45416         * po/libc.pot: Update.
45418 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45420         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45421         variable page size.
45422         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45423         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45424         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45426 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45428         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45430 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45431             Andreas Schwab  <schwab@suse.de>
45432             Roland McGrath  <roland@hack.frob.com>
45433             Joseph Myers  <joseph@codesourcery.com>
45434             Carlos O'Donell  <carlos@redhat.com>
45436         [BZ #15755]
45437         * config.h.in: Define HAVE_PT_CHOWN.
45438         * config.make.in (build-pt-chown): New variable.
45439         * configure.in (--enable-pt_chown): New configure option.
45440         * configure: Regenerate.
45441         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45442         build-pt-chown is enabled.
45443         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45444         pt_chown to fix pty ownership.
45445         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45446         CLOSE_ALL_FDS.
45447         * manual/install.texi (Configuring and compiling): Mention
45448         --enable-pt_chown. Add @findex for grantpt.
45449         * INSTALL: Regenerate.
45451 2013-07-20  David S. Miller  <davem@davemloft.net>
45453         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45454         difference between 32-bit and 64-bit.
45456 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45458         [BZ #15711]
45459         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45460         Avoid system header dependency with -ffreestanding.
45461         ($(objpfx)bits/syscall%d): Likewise.
45463 2013-07-13  David S. Miller  <davem@davemloft.net>
45465         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45466         underflows from atanl/atan2l due to bug 15319.
45467         (casinh_test_data): Likewise.
45469 2013-07-07  David S. Miller  <davem@davemloft.net>
45471         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45473 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45475         * sysdeps/i386/fpu/libm-test-ulps: Update.
45476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45478 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45480         * configure.in (--enable-lock-elision): Fix message text.
45481         * INSTALL: Regenerate.
45482         * configure: Regenerate.
45484 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45488 2013-07-03  Andreas Jaeger  <aj@suse.de>
45490         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45491         define.
45492         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45493         (ptrace_peeksiginfo_args): Add.
45494         (__ptrace_peeksiginfo_flags): Add.
45495         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45496         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45499 2013-07-03  Allan McRae  <allan@archlinux.org>
45501         * sysdeps/i386/fpu/libm-test-ulps: Update.
45503 2013-07-02  David S. Miller  <davem@davemloft.net>
45505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45507 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45511 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45513         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45516 2013-07-02  Andi Kleen <ak@linux.intel.com>
45518         * config.h.in (ENABLE_LOCK_ELISION): Add.
45519         * configure.in (--enable-lock-elision): Add option.
45520         * manual/install.texi: Document --enable lock elision.
45521         * configure: Regenerate
45522         * INSTALL: Regenerate.
45524 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45526         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45527         SSE4.2 strcasecmp for libc.a.
45528         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45530 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45532         [BZ #13304]
45533         * soft-fp/op-common.h (_FP_FMA): New macro.
45534         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45535         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45536         (_FP_MUL_MEAT_1_imm): ... here.
45537         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45538         (_FP_MUL_MEAT_1_wide): ... here.
45539         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45540         (_FP_MUL_MEAT_1_hard): ... here.
45541         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45542         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45543         (_FP_MUL_MEAT_2_wide): ... here.
45544         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45545         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45546         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45547         (_FP_MUL_MEAT_2_gmp): ... here.
45548         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45549         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45550         (_FP_MUL_MEAT_4_wide): ... here.
45551         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45552         (_FP_MUL_MEAT_4_gmp): ... here.
45553         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45554         (_FP_WFRACBITS_DW_S): Likewise.
45555         (_FP_WFRACXBITS_DW_S): Likewise.
45556         (_FP_HIGHBIT_DW_S): Likewise.
45557         (FP_FMA_S): Likewise.
45558         (_FP_FRAC_HIGH_DW_S): Likewise.
45559         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45560         (_FP_WFRACBITS_DW_D): Likewise.
45561         (_FP_WFRACXBITS_DW_D): Likewise.
45562         (_FP_HIGHBIT_DW_D): Likewise.
45563         (FP_FMA_D): Likewise.
45564         (_FP_FRAC_HIGH_DW_D): Likewise.
45565         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45566         (_FP_WFRACBITS_DW_E): Likewise.
45567         (_FP_WFRACXBITS_DW_E): Likewise.
45568         (_FP_HIGHBIT_DW_E): Likewise.
45569         (FP_FMA_E): Likewise.
45570         (_FP_FRAC_HIGH_DW_E): Likewise.
45571         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45572         (_FP_WFRACBITS_DW_Q): Likewise.
45573         (_FP_WFRACXBITS_DW_Q): Likewise.
45574         (_FP_HIGHBIT_DW_Q): Likewise.
45575         (FP_FMA_Q): Likewise.
45576         (_FP_FRAC_HIGH_DW_Q): Likewise.
45577         * soft-fp/fmasf4.c: New file.
45578         * soft-fp/fmadf4.c: Likewise.
45579         * soft-fp/fmatf4.c: Likewise.
45581 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45584         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45585         Silvermont.
45586         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45587         macro.
45588         (index_Slow_SSE4_2): Likewise.
45589         (index_Prefer_PMINUB_for_stringop): Likewise.
45590         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45591         bit_Slow_SSE4_2 is set.
45592         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45593         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45595 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45597         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45598         rtld_global._dl_hwcap2.
45599         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45600         POWER8.
45601         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45602         POWER8 feature descriptions defined in _dl_hwcap2.
45603         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45604         string handling for POWER8 feature bits.
45605         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45606         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45607         _dl_powerpc_cap_flags.
45608         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45609         * sysdeps/powerpc/rtld-global-offsets.sym
45610         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45611         _dl_hwcap2 in the rtld_global_ro structure.
45613 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45615         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45616         hardware capabilities in support of AT_HWCAP2.
45617         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45618         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45619         GLRO(dl_hwcap2).
45620         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45621         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45622         explicitly the unknown a_type display mechanism is used.
45623         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45624         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45625         struct member.
45626         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45627         to macro prototype for AT_HWCAP2 support.
45628         * sysdeps/i386/dl-procinfo.h: Likewise.
45629         * sysdeps/s390/dl-procinfo.h: Likewise.
45630         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45631         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45632         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45633         return -1 for unknown a_type display fallback.
45634         * sysdeps/sparc/dl-procinfo.h: Likewise.
45635         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45636         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45638 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45640         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45641         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45643 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45645         [BZ #12492]
45646         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45647         mprotect making __stack_prot writable.
45649 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45650             Joseph Myers  <joseph@codesourcery.com>
45652         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45653         as being properly aligned.
45655 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45657         * dlfcn/modstatic5.c: New file.
45658         * dlfcn/tststatic5.c: New file.
45659         * dlfcn/Makefile (tests): Add tststatic5.
45660         (tests-static): Likewise.
45661         (modules-names): Add modstatic5.
45662         (tststatic5-ENV): New variable.
45663         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45665         [BZ #15022]
45666         * elf/dl-support.c (_dl_main_map): New variable.
45667         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45668         (_dl_nns, _dl_load_adds): Set to 1.
45669         (_dl_initial_searchlist): Refer to _dl_main_map.
45670         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45671         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45672         call to _dl_get_origin.
45673         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45674         around call_map.
45675         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45676         * dlfcn/modstatic3.c: New file.
45677         * dlfcn/tststatic3.c: New file.
45678         * dlfcn/tststatic4.c: New file.
45679         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45680         (tests-static): Likewise.
45681         (modules-names): Add modstatic3.
45682         (tststatic3-ENV, tststatic4-ENV): New variables.
45683         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45684         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45686 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45688         * configure.in (CC): Require GCC version 4.4 or later.
45689         * configure: Regenerated.
45690         * manual/install.texi (Tools for Compilation): Update GCC version
45691         requirement.
45692         * INSTALL: Regenerated.
45694 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45696         [BZ #15674]
45697         * string/test-memcmp.c (check2): New.
45698         (main): Call check2.
45700         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45702 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45704         [BZ #15022]
45705         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45706         over to...
45707         (dl_open_worker) [!SHARED]: ... here.
45709 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45711         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45713 2013-06-25  Richard Henderson  <rth@redhat.com>
45715         * locale/programs/locarchive.c: Include <libc-internal.h>
45717 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45719         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45720         trailing whitespace removed.
45722 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45724         [BZ #10283]
45725         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45726         * locale/programs/locarchive.c: Include libc-mmap.h.
45727         (prepare_address_space): Take two new outputs (the mmap base and len).
45728         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45729         values.
45730         (create_archive): Declare new mmap base and len values for
45731         prepare_address_space, and store the result in ah.
45732         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45733         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45734         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45735         Declare new mmap base and len values for
45736         prepare_address_space, and store the result in new_ah.
45737         (open_archive): Declare new mmap base and len values for
45738         prepare_address_space, and store the result in ah.
45739         (close_archive): If ah->mmap_base is not NULL, use that and
45740         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45741         * sysdeps/generic/libc-mmap.h: New file.
45743 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45745         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45746         (ALIGN_UP): Likewise.
45747         (PTR_ALIGN_DOWN): Likewise.
45748         (PTR_ALIGN_UP): Likewise.
45750 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45752         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45753         entry mapped to PPC_PLATFORM_POWER8.
45754         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45755         POWER8.
45756         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45757         (_dl_string_platform): Add case for exporting platform position for
45758         POWER8.
45759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45760         search path to sysdeps/powerpc/powerpc32/power8 directory.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45762         search path to sysdeps/powerpc/powerpc64/power8 directory.
45763         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45764         power7 directories.
45765         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45766         power7 directories.
45768 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45770         * INSTALL: Regenerate.
45772         * nscd/connections.c (nscd_init): Fix comment.
45774 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45776         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45778         [BZ #15667]
45779         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45780         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45782 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45784         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45785         DL_DST_REQ_STATIC.
45786         (DL_DST_REQ_STATIC): Remove macro.
45788 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45790         [BZ #7006]
45791         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45792         with a shift of 0 bits.
45794 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45796         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45797         $(tststatic-ENV).
45799 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45801         [BZ #15655]
45802         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45804 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45806         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45807         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45808         accepts -fno-tree-loop-distribute-patterns.
45809         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45810         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45811         recursive call.
45812         * string/memset.c (memset): Likewise.
45813         * string/test-memmove.c (simple_memmove): Disable loop transformation
45814         to library calls.
45815         * string/test-memset.c (simple_memset): Likewise.
45816         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45817         * benchtests/bench-memset.c (simple_memset): Likewise.
45818         * configure: Regenerated.
45820 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45822         * math/test-misc.c (main): Ignore fesetround failure when failures
45823         of subsequent rounding tests would be ignored.
45825         [BZ #15654]
45826         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45827         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45828         * math/fegetenv.c (__fegetenv): Return 0.
45829         * math/fegetexcept.c (fegetexcept): Return 0.
45830         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45831         FE_TONEAREST.
45832         * math/feholdexcpt.c (feholdexcept): Return 0.
45833         * math/fesetenv.c (__fesetenv): Return 0.
45834         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45835         argument FE_TONEAREST.
45836         * math/feupdateenv.c (__feupdateenv): Return 0.
45837         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45839 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45841         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45842         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45843         ($(objpfx)rtld-%.os rules): Use them.
45845 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45847         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45848         fields.
45850 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45852         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45853         length of target pattern, then descending length of dependency pattern.
45854         * configure.in (AWK): Require gawk 3.1.2 or newer.
45855         * manual/install.texi (Tools for Compilation): Say that we do.
45856         * configure: Regenerated.
45858         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45859         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45860         * scripts/sysd-rules.awk: ... this new script.
45861         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45862         than a glob-style pattern.
45864 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45866         * math/test-misc.c (main): Do not treat incorrectly rounded
45867         conversions as failure unless ROUNDING_TESTS passes.
45869 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45871         [BZ #15631]
45872         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45873         restore exception state around main square root computation, then
45874         check for inexactness explicitly.
45876         * math/libm-test.inc (fma_test_data): Add another test.
45878 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45880         * manual/threads.texi (Non-POSIX Extensions): New document
45881         node.  Document pthread_getattr_default_np and
45882         pthread_setattr_default_np.
45884         * Versions.def (libpthread): Add GLIBC_2.18.
45885         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45887         Likewise.
45888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45889         Likewise.
45890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45891         Likewise.
45892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45893         Likewise.
45894         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45895         Likewise.
45896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45897         Likewise.
45898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45899         Likewise.
45900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45901         Likewise.
45902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45903         Likewise.
45905 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45908         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45910 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45911             H.J. Lu  <hjl.tools@gmail.com>
45913         [BZ #15627]
45914         * sysdeps/x86_64/rtld-memset.c: Remove file.
45915         * sysdeps/x86_64/rtld-memset.S: New file.
45917 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45919         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45920         (test_in_one_mode): Take arguments for whether the rounding mode
45921         is supported for each floating-point type.
45922         (do_test): Pass new arguments to test_in_one_mode using
45923         ROUNDING_TESTS.
45925 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45927         * posix/tst-waitid.c (do_test): Distinguish different instances of
45928         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45929         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45930         before entering the kernel for waitpid.
45932 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45934         * NEWS: Fix note on clock function precision.  Text by Roland
45935         McGrath.
45937 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45939         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45940         it into place only when and if the sanity check passes.
45942 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45944         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45945         output for whether conversion result is exact.  Take argument
45946         indicating whether type is IBM long double.
45947         (round_for_all): Change need_exact field to ibm_ld.
45948         * stdlib/tst-strtod-round.c (struct exactness): New type.
45949         (struct test): Change bool ld_ok field to struct exactness exact.
45950         (TEST): Update all definitions for change to field.
45951         (tests): Regenerate array contents.
45952         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45953         field value.  Check for IBM long double here.
45954         (do_test): Update calls to test_in_one_mode.
45956 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45958         [BZ #12515]
45959         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45960         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45962 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45964         [BZ #15605]
45965         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45966         generated by the compiler on loop optimizations.
45967         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45968         general definitions.
45970 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45972         * math/bug-nextafter.c: Include <math-tests.h>.
45973         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45974         the relevant type.
45975         * math/bug-nexttoward.c: Include <math-tests.h>.
45976         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45977         the relevant type.
45978         * math/test-misc.c: Include <math-tests.h>.
45979         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45980         the relevant type.
45982 2013-06-12  Andreas Jaeger  <aj@suse.de>
45984         * po/ia.po: Update Interlingua translation from translation
45985         project.
45987 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45989         * include/fenv.h: Include stdbool.h.
45990         (struct rm_ctx): New structure.
45991         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45992         Define macro.
45993         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45994         (SET_RESTORE_ROUNDF): Likewise.
45995         (SET_RESTORE_ROUNDL): Likewise.
45996         (SET_RESTORE_ROUND_NOEX): Likewise.
45997         (SET_RESTORE_ROUND_NOEXF): Likewise.
45998         (SET_RESTORE_ROUND_NOEXL): Likewise.
45999         (SET_RESTORE_ROUND_53BIT): Likewise.
46000         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46001         (libc_feresetround_noexf_ctx): Likewise.
46002         (libc_feresetround_noexl_ctx): Likewise.
46003         (libc_feholdsetround_53bit_ctx): Likewise.
46004         (libc_feresetround_53bit_ctx): Likewise.
46005         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46006         (libc_feholdexcept_setround_sse_ctx): New function.
46007         (libc_fesetenv_sse_ctx): Likewise.
46008         (libc_feupdateenv_sse_ctx): Likewise.
46009         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46010         (libc_feholdexcept_setround_387_ctx): Likewise.
46011         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46012         (libc_feholdsetround_387_prec_ctx): Likewise.
46013         (libc_feholdsetround_387_ctx): Likewise.
46014         (libc_feholdsetround_387_53bit_ctx): Likewise.
46015         (libc_feholdsetround_sse_ctx): Likewise.
46016         (libc_feresetround_sse_ctx): Likewise.
46017         (libc_feresetround_387_ctx): Likewise.
46018         (libc_feupdateenv_387_ctx): Likewise.
46019         (libc_feholdexcept_setroundf_ctx): Define macro.
46020         (libc_fesetenvf_ctx): Likewise.
46021         (libc_feupdateenvf_ctx): Likewise.
46022         (libc_feholdsetroundf_ctx): Likewise.
46023         (libc_feresetroundf_ctx): Likewise.
46024         (libc_feholdexcept_setround_ctx): Likewise.
46025         (libc_fesetenv_ctx): Likewise.
46026         (libc_feupdateenv_ctx): Likewise.
46027         (libc_feholdsetround_ctx): Likewise.
46028         (libc_feresetround_ctx): Likewise.
46029         (libc_feholdexcept_setroundl_ctx): Likewise.
46030         (libc_feupdateenvl_ctx): Likewise.
46031         (libc_feholdsetroundl_ctx): Likewise.
46032         (libc_feresetroundl_ctx): Likewise.
46033         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46034         (libc_feresetround_53bit_ctx): Likewise.
46036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46038         * locale/iso-639.def: Convert to UTF-8.
46040 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46042         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46043         (EXCEPTION_TESTS_double): Likewise.
46044         (EXCEPTION_TESTS_long_double): Likewise.
46045         (EXCEPTION_TESTS): Likewise.
46046         * math/libm-test.inc (test_exceptions): Only test exceptions if
46047         EXCEPTION_TESTS (FLOAT).
46049 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46051         * benchtests/Makefile (string-bench): Add strcpy_chk and
46052         stpcpy_chk.
46053         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46054         * benchtests/bench-stpcpy_chk.c: New file.
46055         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46056         * benchtests/bench-strcpy_chk.c: New file.
46057         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46058         code.
46059         (do_test): Likewise.
46061 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46063         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46064         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46065         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46066         with tabs where appropriate.
46067         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46068         dl-procinfo.h.
46069         [PPC_PLATFORM_PPC440]: Likewise.
46070         [PPC_PLATFORM_PPC464]: Likewise.
46071         [PPC_PLATFORM_PPC476]: Likewise.
46072         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46073         ppc464, and ppc476 platform strings merging from ports/
46074         dl-procinfo.h.
46076 2013-06-11  Andreas Schwab  <schwab@suse.de>
46078         [BZ #14991]
46079         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46080         (from_ucs4_idx): Regenerate.
46081         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46082         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46083         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46084         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46085         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46086         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46087         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46088         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46089         from FROM_LOOP and TO_LOOP specific macros.
46090         (BODY): Handle combining characters.
46091         * iconvdata/BIG5HKSCS.irreversible: Update.
46092         * iconvdata/BIG5HKSCS.precomposed: New file.
46093         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46094         characters.
46095         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46097 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46099         * include/sys/time.h: Fix indentation and add copyright header.
46101         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46102         (do_test): Likewise.
46103         * string/test-memchr.c (do_one_test): Likewise.
46104         (do_test): Likewise.
46105         * string/test-memcmp.c (do_one_test): Likewise.
46106         (do_test): Likewise.
46107         * string/test-memcpy.c (do_one_test): Likewise.
46108         (do_test): Likewise.
46109         * string/test-memmem.c (do_one_test): Likewise.
46110         (do_test): Likewise.
46111         (do_random_tests): Likewise.
46112         * string/test-memmove.c (do_one_test): Likewise.
46113         (do_test): Likewise.
46114         * string/test-memset.c (do_one_test): Likewise.
46115         (do_test): Likewise.
46116         * string/test-rawmemchr.c (do_one_test): Likewise.
46117         (do_test): Likewise.
46118         * string/test-strcasecmp.c (do_one_test): Likewise.
46119         (do_test): Likewise.
46120         * string/test-strcasestr.c (do_one_test): Likewise.
46121         (do_test): Likewise.
46122         * string/test-strcat.c (do_one_test): Likewise.
46123         (do_test): Likewise.
46124         * string/test-strchr.c (do_one_test): Likewise.
46125         (do_test): Likewise.
46126         * string/test-strcmp.c (do_one_test): Likewise.
46127         (do_test): Likewise.
46128         * string/test-strcpy.c (do_one_test): Likewise.
46129         (do_test): Likewise.
46130         * string/test-string.h: Likewise.
46131         (test_init): Likewise.
46132         * string/test-strlen.c (do_one_test): Likewise.
46133         (do_test): Likewise.
46134         * string/test-strncasecmp.c (do_one_test): Likewise.
46135         (do_test): Likewise.
46136         * string/test-strncat.c (do_one_test): Likewise.
46137         (do_test): Likewise.
46138         * string/test-strncmp.c (do_one_test): Likewise.
46139         (do_test_limit): Likewise.
46140         (do_test): Likewise.
46141         * string/test-strncpy.c (do_one_test): Likewise.
46142         (do_test): Likewise.
46143         * string/test-strnlen.c (do_one_test): Likewise.
46144         (do_test): Likewise.
46145         * string/test-strpbrk.c (do_one_test): Likewise.
46146         (do_test): Likewise.
46147         * string/test-strrchr.c (do_one_test): Likewise.
46148         (do_test): Likewise.
46149         * string/test-strspn.c (do_one_test): Likewise.
46150         (do_test): Likewise.
46151         * string/test-strstr.c (do_one_test): Likewise.
46152         (do_test): Likewise.
46154         * benchtests/Makefile (string-bench): Add string benchmarks.
46155         * benchtests/bench-bcopy-ifunc.c: New file.
46156         * benchtests/bench-bcopy.c: New file.
46157         * benchtests/bench-bzero-ifunc.c: New file.
46158         * benchtests/bench-bzero.c: New file.
46159         * benchtests/bench-memccpy-ifunc.c: New file.
46160         * benchtests/bench-memccpy.c: New file.
46161         * benchtests/bench-memchr-ifunc.c: New file.
46162         * benchtests/bench-memchr.c: New file.
46163         * benchtests/bench-memcmp-ifunc.c: New file.
46164         * benchtests/bench-memcmp.c: New file.
46165         * benchtests/bench-memmem-ifunc.c: New file.
46166         * benchtests/bench-memmem.c: New file.
46167         * benchtests/bench-memmove-ifunc.c: New file.
46168         * benchtests/bench-memmove.c: New file.
46169         * benchtests/bench-mempcpy-ifunc.c: New file.
46170         * benchtests/bench-mempcpy.c: New file.
46171         * benchtests/bench-memset-ifunc.c: New file.
46172         * benchtests/bench-memset.c: New file.
46173         * benchtests/bench-rawmemchr-ifunc.c: New file.
46174         * benchtests/bench-rawmemchr.c: New file.
46175         * benchtests/bench-stpcpy-ifunc.c: New file.
46176         * benchtests/bench-stpcpy.c: New file.
46177         * benchtests/bench-stpncpy-ifunc.c: New file.
46178         * benchtests/bench-stpncpy.c: New file.
46179         * benchtests/bench-strcasecmp-ifunc.c: New file.
46180         * benchtests/bench-strcasecmp.c: New file.
46181         * benchtests/bench-strcasestr-ifunc.c: New file.
46182         * benchtests/bench-strcasestr.c: New file.
46183         * benchtests/bench-strcat-ifunc.c: New file.
46184         * benchtests/bench-strcat.c: New file.
46185         * benchtests/bench-strchr-ifunc.c: New file.
46186         * benchtests/bench-strchr.c: New file.
46187         * benchtests/bench-strchrnul-ifunc.c: New file.
46188         * benchtests/bench-strchrnul.c: New file.
46189         * benchtests/bench-strcmp-ifunc.c: New file.
46190         * benchtests/bench-strcmp.c: New file.
46191         * benchtests/bench-strcpy-ifunc.c: New file.
46192         * benchtests/bench-strcpy.c: New file.
46193         * benchtests/bench-strcspn-ifunc.c: New file.
46194         * benchtests/bench-strcspn.c: New file.
46195         * benchtests/bench-strlen-ifunc.c: New file.
46196         * benchtests/bench-strlen.c: New file.
46197         * benchtests/bench-strncasecmp-ifunc.c: New file.
46198         * benchtests/bench-strncasecmp.c: New file.
46199         * benchtests/bench-strncat-ifunc.c: New file.
46200         * benchtests/bench-strncat.c: New file.
46201         * benchtests/bench-strncmp-ifunc.c: New file.
46202         * benchtests/bench-strncmp.c: New file.
46203         * benchtests/bench-strncpy-ifunc.c: New file.
46204         * benchtests/bench-strncpy.c: New file.
46205         * benchtests/bench-strnlen-ifunc.c: New file.
46206         * benchtests/bench-strnlen.c: New file.
46207         * benchtests/bench-strpbrk-ifunc.c: New file.
46208         * benchtests/bench-strpbrk.c: New file.
46209         * benchtests/bench-strrchr-ifunc.c: New file.
46210         * benchtests/bench-strrchr.c: New file.
46211         * benchtests/bench-strspn-ifunc.c: New file.
46212         * benchtests/bench-strspn.c: New file.
46213         * benchtests/bench-strstr-ifunc.c: New file.
46214         * benchtests/bench-strstr.c: New file.
46216         * benchtests/Makefile: Disable parallel execution of targets.
46217         (string-bench): Add memcpy.
46218         (benchset): New variable to store a list of benchmark sets.
46219         (bench-func): Renamed from bench.
46220         (bench-set): New target.
46221         (bench): Depend on bench-func and bench-set.
46222         * benchtests/README: Add section on benchmark sets.
46223         * benchtests/bench-memcpy-ifunc.c: New file.
46224         * benchtests/bench-memcpy.c: New file.
46225         * benchtests/bench-string.h: New file.
46227 2013-06-11  Andreas Schwab  <schwab@suse.de>
46229         [BZ #15577]
46230         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46231         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46232         values in the triple.
46233         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46234         terminator in the group key.
46236 2013-06-11  Andreas Jaeger  <aj@suse.de>
46238         * po/zh_TW.po: Update Chinese (traditional) translation from
46239         translation project.
46241 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46243         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46244         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46245         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46246         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46247         (clock_getcpuclockid): Likewise.
46248         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46249         Add weak_alias and libc_hidden_def.
46250         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46251         * rt/clock_gettime.c (clock_gettime): Rename to
46252         __clock_gettime.  Add weak_alias and libc_hidden_def.
46253         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46254         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46255         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46256         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46257         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46258         Likewise.
46259         * rt/clock_settime.c (clock_settime): Rename to
46260         __clock_settime.  Add weak_alias and libc_hidden_def.
46261         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46263 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46265         * mach/err_boot.sub: Remove trailing whitespace.
46266         * mach/err_ipc.sub: Likewise.
46267         * mach/err_mach.sub: Likewise.
46269         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46270         (ROUNDING_TESTS_double): Likewise.
46271         (ROUNDING_TESTS_long_double): Likewise.
46272         (ROUNDING_TESTS): Likewise.
46273         * math/libm-test.inc: Include <math-tests.h>.
46274         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46275         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46276         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46277         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46279 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46281         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46282         of assigning.
46284 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46286         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46287         otherwise empty TRANS lines.
46288         * sysdeps/gnu/errlist.c: Regenerated.
46290         * catgets/gencat.c (error_print): Use (void) in function
46291         definition.
46292         * crypt/crypt_util.c (__init_des): Likewise.
46293         * crypt/speeds.c (Stop): Likewise.
46294         (main): Likewise.
46295         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46296         * inet/ruserpass.c (token): Likewise.
46297         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46298         * intl/localealias.c (extend_alias_table): Likewise.
46299         * intl/plural-exp.c (init_germanic_plural): Likewise.
46300         * libio/fcloseall.c (__fcloseall): Likewise.
46301         * libio/genops.c (_IO_flush_all): Likewise.
46302         (_IO_flush_all_linebuffered): Likewise.
46303         (_IO_cleanup): Likewise.
46304         (_IO_iter_begin): Likewise.
46305         (_IO_iter_end): Likewise.
46306         (_IO_list_lock): Likewise.
46307         (_IO_list_unlock): Likewise.
46308         (_IO_list_resetlock): Likewise.
46309         * libio/getchar.c (getchar): Likewise.
46310         * libio/getchar_u.c (getchar_unlocked): Likewise.
46311         * libio/getwchar.c (getwchar): Likewise.
46312         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46313         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46314         * login/getpt.c (__getpt): Likewise.
46315         * login/tst-utmp.c (main): Likewise.
46316         * malloc/hooks.c (__malloc_check_init): Likewise.
46317         * malloc/malloc.c (__malloc_stats): Likewise.
46318         * malloc/mtrace.c (tr_break): Likewise.
46319         (mtrace): Likewise.
46320         (muntrace): Likewise.
46321         * misc/fstab.c (endfsent): Likewise.
46322         * misc/getclktck.c (__getclktck): Likewise.
46323         * misc/getdtsz.c (__getdtablesize): Likewise.
46324         * misc/gethostid.c (gethostid): Likewise.
46325         * misc/getpagesize.c (__getpagesize): Likewise.
46326         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46327         (__get_nprocs): Likewise.
46328         (__get_phys_pages): Likewise.
46329         (__get_avphys_pages): Likewise.
46330         * misc/getttyent.c (getttyent): Likewise.
46331         (setttyent): Likewise.
46332         (endttyent): Likewise.
46333         * misc/getusershell.c (getusershell): Likewise.
46334         (endusershell): Likewise.
46335         (setusershell): Likewise.
46336         (initshells): Likewise.
46337         * misc/hsearch.c (__hdestroy): Likewise.
46338         * misc/sync.c (sync): Likewise.
46339         * misc/syslog.c (closelog_internal): Likewise.
46340         (closelog): Likewise.
46341         * misc/ttyslot.c (ttyslot): Likewise.
46342         * misc/vhangup.c (vhangup): Likewise.
46343         * posix/fork.c (__fork): Likewise.
46344         * posix/getegid.c (__getegid): Likewise.
46345         * posix/geteuid.c (__geteuid): Likewise.
46346         * posix/getgid.c (__getgid): Likewise.
46347         * posix/getpid.c (__getpid): Likewise.
46348         * posix/getppid.c (__getppid): Likewise.
46349         * posix/getuid.c (__getuid): Likewise.
46350         * posix/pause.c (pause): Likewise.
46351         * posix/setpgrp.c (setpgrp): Likewise.
46352         * posix/setsid.c (__setsid): Likewise.
46353         * posix/test-vfork.c (noop): Likewise.
46354         * resolv/gethnamaddr.c (_endhtent): Likewise.
46355         (_gethtent): Likewise.
46356         (ht_endhostent): Likewise.
46357         (gethostent): Likewise.
46358         (dns_service): Likewise.
46359         * stdlib/drand48.c (drand48): Likewise.
46360         * stdlib/lrand48.c (lrand48): Likewise.
46361         * stdlib/mrand48.c (mrand48): Likewise.
46362         * stdlib/rand.c (rand): Likewise.
46363         * stdlib/random.c (__random): Likewise.
46364         * stdlib/setenv.c (clearenv): Likewise.
46365         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46366         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46367         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46368         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46369         (__get_nprocs): Likewise.
46370         (__get_phys_pages): Likewise.
46371         (__get_avphys_pages): Likewise.
46372         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46373         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46374         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46375         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46376         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46377         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46378         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46379         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46380         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46381         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46382         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46383         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46384         * sysdeps/posix/clock.c (clock): Likewise.
46385         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46386         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46387         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46388         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46389         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46390         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46391         (__get_nprocs_conf): Likewise.
46392         (__get_phys_pages): Likewise.
46393         (__get_avphys_pages): Likewise.
46394         * time/clock.c (clock): Likewise.
46395         * time/tzset.c (__tzname_max): Likewise.
46397 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46399         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46400         (__bswap_32): Do not use "register".
46401         * crypt/crypt.c (_ufc_doit_r): Likewise.
46402         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46403         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46404         * gmon/gmon.c (__monstartup): Likewise.
46405         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46406         * hurd/hurdmalloc.c (more_memory): Likewise.
46407         (malloc): Likewise.
46408         (free): Likewise.
46409         (realloc): Likewise.
46410         (malloc_fork_prepare): Likewise.
46411         (malloc_fork_parent): Likewise.
46412         (malloc_fork_child): Likewise.
46413         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46414         (_svcauth_des): Likewise.
46415         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46416         * inet/inet_net.c (inet_network): Likewise.
46417         * inet/inet_netof.c (inet_netof): Likewise.
46418         * inet/rcmd.c (__validuser2_sa): Likewise.
46419         * io/fts.c (fts_open): Likewise.
46420         (fts_load): Likewise.
46421         (fts_close): Likewise.
46422         (fts_read): Likewise.
46423         (fts_children): Likewise.
46424         (fts_build): Likewise.
46425         (fts_stat): Likewise.
46426         (fts_sort): Likewise.
46427         (fts_alloc): Likewise.
46428         (fts_lfree): Likewise.
46429         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46430         (_IO_file_xsgetn): Likewise.
46431         (_IO_file_xsgetn_mmap): Likewise.
46432         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46433         (_IO_cookie_write): Likewise.
46434         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46435         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46436         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46437         * malloc/obstack.c (_obstack_begin): Likewise.
46438         (_obstack_begin_1): Likewise.
46439         (_obstack_newchunk): Likewise.
46440         (_obstack_allocated_p): Likewise.
46441         (obstack_free): Likewise.
46442         (_obstack_memory_used): Likewise.
46443         * misc/getttyent.c (getttynam): Likewise.
46444         (getttyent): Likewise.
46445         (skip): Likewise.
46446         (value): Likewise.
46447         * misc/getusershell.c (initshells): Likewise.
46448         * misc/syslog.c (__vsyslog_chk): Likewise.
46449         * misc/ttyslot.c (ttyslot): Likewise.
46450         * nis/nis_hash.c (__nis_hash): Likewise.
46451         * posix/fnmatch_loop.c (FCT): Likewise.
46452         * posix/getconf.c (print_all): Likewise.
46453         (main): Likewise.
46454         * posix/getopt.c (exchange): Likewise.
46455         * posix/glob.c (globfree): Likewise.
46456         (prefix_array): Likewise.
46457         (__glob_pattern_type): Likewise.
46458         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46459         (NS_GET32): Likewise.
46460         (NS_PUT16): Likewise.
46461         (NS_PUT32): Likewise.
46462         * resolv/gethnamaddr.c (getanswer): Likewise.
46463         (gethostbyname2): Likewise.
46464         (gethostbyaddr): Likewise.
46465         (_gethtent): Likewise.
46466         (_gethtbyname2): Likewise.
46467         (_gethtbyaddr): Likewise.
46468         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46469         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46470         * resolv/res_init.c (__res_vinit): Likewise.
46471         (net_mask): Likewise.
46472         * resolv/res_mkquery.c (outchar): Likewise.
46473         (PRINT): Likewise.
46474         * stdio-common/printf_fp.c (outchar): Likewise.
46475         (PRINT): Likewise.
46476         * stdio-common/printf_fphex.c (outchar): Likewise.
46477         (PRINT): Likewise.
46478         * stdio-common/printf_size.c (outchar): Likewise.
46479         (PRINT): Likewise.
46480         * stdio-common/test_rdwr.c (main): Likewise.
46481         * stdio-common/tfformat.c (matches): Likewise.
46482         * stdio-common/vfprintf.c (outchar): Likewise.
46483         (printf_unknown): Likewise.
46484         (buffered_vfprintf): Likewise.
46485         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46486         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46487         (ReadFile): Likewise.
46488         * stdlib/qsort.c (SWAP): Likewise.
46489         (_quicksort): Likewise.
46490         * stdlib/setenv.c (__add_to_environ): Likewise.
46491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46492         * stdlib/strtol_l.c (__strtol_l): Likewise.
46493         * stdlib/tst-strtod.c (main): Likewise.
46494         * stdlib/tst-strtol.c (main): Likewise.
46495         * stdlib/tst-strtoll.c (main): Likewise.
46496         * string/bits/string2.h (__strcmp_cc): Likewise.
46497         (__strcmp_cg): Likewise.
46498         (__strcspn_c1): Likewise.
46499         (__strcspn_c2): Likewise.
46500         (__strcspn_c3): Likewise.
46501         (__strspn_c1): Likewise.
46502         (__strspn_c2): Likewise.
46503         (__strspn_c3): Likewise.
46504         (__strsep_1c): Likewise.
46505         (__strsep_2c): Likewise.
46506         (__strsep_3c): Likewise.
46507         * string/memccpy.c (__memccpy): Likewise.
46508         * string/stpcpy.c (__stpcpy): Likewise.
46509         * string/strcmp.c (strcmp): Likewise.
46510         * string/strrchr.c (strrchr): Likewise.
46511         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46512         Likewise.
46513         * sysdeps/mach/hurd/getcwd.c
46514         (_hurd_canonicalize_directory_name_internal): Likewise.
46515         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46516         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46517         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46518         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46519         Likewise, in both definitions.
46520         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46521         definitions.
46522         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46523         64] (__bswap_64): Likewise.
46524         * time/test_time.c (main): Likewise.
46525         * time/tzfile.c (__tzfile_read): Likewise.
46526         (__tzfile_compute): Likewise.
46527         * time/tzset.c (__tzset_parse_tz): Likewise.
46528         (tzset_internal): Likewise.
46529         (compute_change): Likewise.
46530         * wcsmbs/wcscat.c (__wcscat): Likewise.
46531         * wcsmbs/wcschr.c (wcschr): Likewise.
46532         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46533         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46534         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46535         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46536         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46537         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46538         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46539         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46540         * wcsmbs/wmemset.c (wmemset): Likewise.
46542 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46544         * scripts/config.guess: Update to version 2013-05-16.
46545         * scripts/config.sub: Update to version 2013-04-24.
46546         * scripts/install-sh: Update to version 2011-11-20.07.
46547         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46548         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46550 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46552         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46553         * elf/sln.c: Likewise.
46554         * hurd/hurd/ioctl.h: Likewise.
46555         * hurd/hurdmalloc.c: Likewise.
46556         * hurd/xattr.c: Likewise.
46557         * include/shlib-compat.h: Likewise.
46558         * inet/ruserpass.c: Likewise.
46559         * libio/iofgets_u.c: Likewise.
46560         * libio/iofgetws_u.c: Likewise.
46561         * locale/programs/ld-identification.c: Likewise.
46562         * locale/programs/ld-time.c: Likewise.
46563         * mach/msg-destroy.c: Likewise.
46564         * nss/nss_files/files-netgrp.c: Likewise.
46565         * resolv/res_data.c: Likewise.
46566         * soft-fp/op-1.h: Likewise.
46567         * soft-fp/op-2.h: Likewise.
46568         * soft-fp/op-4.h: Likewise.
46569         * soft-fp/op-common.h: Likewise.
46570         * stdio-common/printf_fphex.c: Likewise.
46571         * stdlib/strtod_l.c: Likewise.
46572         * sunrpc/rpc/clnt.h: Likewise.
46573         * sysdeps/generic/framestate.c: Likewise.
46574         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46575         * sysdeps/i386/bsd-setjmp.S: Likewise.
46576         * sysdeps/i386/__longjmp.S: Likewise.
46577         * sysdeps/i386/setjmp.S: Likewise.
46578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46579         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46580         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46581         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46582         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46583         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46585         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46586         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46590         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46591         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46592         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46593         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46594         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46596         * sysdeps/ieee754/support.c: Likewise.
46597         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46598         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46599         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46600         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46601         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46602         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46603         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46604         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46605         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46606         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46607         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46608         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46609         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46610         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46611         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46612         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46613         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46616 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46618         * posix/transbug.c: Remove executable mode.
46620 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46622         * crypt/speeds.c: Remove trailing whitespace.
46623         * dlfcn/default.c: Likewise.
46624         * elf/ifuncdep2.c: Likewise.
46625         * elf/ifuncmain1.c: Likewise.
46626         * elf/ifuncmain1vis.c: Likewise.
46627         * elf/testobj.h: Likewise.
46628         * elf/tst-stackguard1.c: Likewise.
46629         * gmon/sys/gmon.h: Likewise.
46630         * hurd/hurdmsg.c: Likewise.
46631         * hurd/new-fd.c: Likewise.
46632         * hurd/ports-get.c: Likewise.
46633         * iconvdata/ibm1008_420.c: Likewise.
46634         * inet/tst-getni1.c: Likewise.
46635         * inet/tst-getni2.c: Likewise.
46636         * libio/ioungetc.c: Likewise.
46637         * libio/wfiledoalloc.c: Likewise.
46638         * manual/libm-err-tab.pl: Likewise.
46639         * math/w_dremf.c: Likewise.
46640         * misc/ftruncate.c: Likewise.
46641         * posix/bug-glob2.c: Likewise.
46642         * posix/tst-pcre.c: Likewise.
46643         * posix/wait4.c: Likewise.
46644         * resolv/README: Likewise.
46645         * resolv/res_debug.h: Likewise.
46646         * resolv/tst-inet_ntop.c: Likewise.
46647         * setjmp/bug269-setjmp.c: Likewise.
46648         * soft-fp/extended.h: Likewise.
46649         * soft-fp/op-1.h: Likewise.
46650         * soft-fp/op-2.h: Likewise.
46651         * soft-fp/op-4.h: Likewise.
46652         * soft-fp/op-8.h: Likewise.
46653         * soft-fp/testit.c: Likewise.
46654         * stdio-common/bug16.c: Likewise.
46655         * stdlib/random.c: Likewise.
46656         * sunrpc/rpcsvc/rquota.x: Likewise.
46657         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46658         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46659         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46660         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46661         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46662         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46663         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46664         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46665         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46666         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46667         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46668         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46669         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46670         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46671         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46672         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46673         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46674         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46675         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46676         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46677         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46678         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46679         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46680         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46681         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46682         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46685         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46686         * sysdeps/ieee754/s_lib_version.c: Likewise.
46687         * sysdeps/mach/hurd/check_fds.c: Likewise.
46688         * sysdeps/mach/hurd/getsockname.c: Likewise.
46689         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46690         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46691         * sysdeps/powerpc/bits/link.h: Likewise.
46692         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46693         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46694         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46695         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46696         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46697         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46698         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46699         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46700         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46701         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46702         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46703         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46704         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46705         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46706         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46707         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46708         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46709         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46711         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46712         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46713         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46714         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46715         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46716         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46717         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46718         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46719         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46720         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46721         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46722         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46723         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46724         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46725         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46726         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46727         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46728         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46729         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46730         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46731         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46732         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46733         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46734         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46735         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46736         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46737         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46738         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46739         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46741         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46742         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46743         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46744         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46745         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46746         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46747         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46748         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46750         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46751         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46752         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46753         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46754         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46755         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46756         * sysdeps/powerpc/sysdep.h: Likewise.
46757         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46758         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46759         * sysdeps/sh/dl-trampoline.S: Likewise.
46760         * sysdeps/sh/memset.S: Likewise.
46761         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46762         * sysdeps/sh/strlen.S: Likewise.
46763         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46764         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46765         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46766         * sysdeps/sparc/sparc32/rem.S: Likewise.
46767         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46768         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46769         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46770         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46771         * sysdeps/sparc/sparc32/urem.S: Likewise.
46772         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46773         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46774         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46775         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46776         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46777         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46778         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46779         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46780         * sysdeps/unix/bsd/times.c: Likewise.
46781         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46782         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46786         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46787         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46788         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46790         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46791         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46792         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46793         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46794         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46795         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46796         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46797         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46798         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46799         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46800         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46801         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46802         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46803         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46804         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46805         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46806         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46807         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46808         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46809         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46810         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46811         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46812         * sysdeps/x86_64/strcspn.S: Likewise.
46814 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46816         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46817         generated file.  Regenerate properly from gen-translit.pl.
46818         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46819         locale/C-translit.h.
46821 2013-06-05  Andreas Schwab  <schwab@suse.de>
46823         [BZ #15100]
46824         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46825         week as 6 instead of -1.
46826         * time/tst-strptime.c (day_tests): Add test case.
46828 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46830         * sysdeps/generic/math_private.h
46831         (libc_feholdexcept_setround_53bit): Replace with
46832         libc_feholdsetround_53bit.
46833         (libc_feupdateenv_53bit): Replace with
46834         libc_feresetround_53bit.
46835         (SET_RESTORE_ROUND_53BIT): Adjust.
46837 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46839         * string/test-strchrnul.c: Add copyright header.
46841         * posix/tst-getaddrinfo4.c: Increase test timeout.
46843 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46845         [BZ #15536]
46846         * math/libm-test.inc (MAX_EXP): Remove
46847         (MIN_EXP): Define.
46848         (ulp): Use MIN_EXP - MANT_DIG.
46849         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46851 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46853         * po/be.po: Revert last change.
46854         * po/zh_CN.po: Likewise.
46855         * po/header.pot: Likewise.
46857 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46859         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46860         link-libc-deps to empty as target-specific variable.
46861         * Makerules (link-libc-args): New variable.
46862         (libc-for-link): Likewise.
46863         (link-libc-deps): Likewise.
46864         (lib%.so): Depend on $(link-libc-deps).  Link with
46865         $(link-libc-args).
46866         (build-module): Link with $(link-libc-args).
46867         (build-module-asneeded): Likewise.
46868         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46869         list of objects.
46870         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46871         target-specific variable.
46872         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46873         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46874         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46875         libc.
46876         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46877         libc and ld.so.
46878         ($(objpfx)libpcprofile.so): Likewise.
46879         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46880         libc_nonshared.a.
46881         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46882         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46883         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46884         $(link-libc-deps).
46885         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46886         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46887         * login/Makefile ($(objpfx)libutil.so): Likewise.
46888         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46889         * math/Makefile ($(objpfx)libm.so): Likewise.
46890         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46891         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46892         variable instead of depending directly on libc.
46893         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46894         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46895         $(link-libc-deps).
46896         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46897         libc.
46898         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46899         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46900         ($(objpfx)libanl.so): Likewise.
46901         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46902         ld.so.
46903         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46904         $(link-libc-deps).
46905         * sysdeps/i386/fpu/Makefile: Remove file.
46906         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46907         ($(objpfx)libm.so): Remove dependency on ld.so.
46909 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46911         [BZ # 15553]
46912         * nis/yp_xdr.c (XDRMAXNAME): Define.
46913         (XDRMAXRECORD): Define.
46914         (xdr_domainname): Use XDRMAXNAME.
46915         (xdr_mapname): Likewise.
46916         (xdr_peername): Likewise.
46917         (xdr_keydat): Use XDRMAXRECORD.
46918         (xdr_valdat): Likewise.
46920 2013-05-30  Jeff Law  <law@redhat.com>
46922         [BZ #14256]
46923         * manual/errno.texi (ESTALE): Update to account for more than
46924         just NFS file systems.
46925         * sysdeps/gnu/errlist.c: Regenerated.
46927 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46929         [BZ #15465]
46930         * elf/Makefile (tests): Add tst-null-argv.
46931         (modules-names):  Add tst-null-argv-lib.
46932         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46933         (tst-null-argv-ENV): Set environment for tst-null-argv.
46934         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46935         (RTLD_PROGNAME): New macro.
46936         * elf/tst-null-argv.c: New test case.
46937         * elf/tst-null-argv-lib.c: Library for test case.
46938         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46939         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46940         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46941         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46942         * elf/dl-init.c (call_init): Likewise.
46943         (_dl_init): Likewise.
46944         * elf/dl-load.c (print_search_path): Likewise.
46945         (_dl_map_object): Likewise.
46946         * elf/dl-lookup.c (do_lookup_x): Likewise.
46947         (add_dependency): Likewise.
46948         (_dl_lookup_symbol_x): Likewise.
46949         (_dl_debug_bindings): Likewise.
46950         * elf/dl-open.c (_dl_show_scope): Likewise.
46951         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46952         * elf/dl-version.c (match_symbol): Likewise.
46953         (_dl_check_map_versions): Likewise.
46954         * elf/rtld.c (dl_main): Likewise.
46955         (print_unresolved): Use RTLD_PROGNAME.
46956         (print_missing_version): Likewise.
46957         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46958         (elf_machine_rela): Likewise.
46959         * sysdeps/powerpc/powerpc32/dl-machine.c
46960         (__process_machine_rela): Likewise.
46961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46962         Likewise.
46963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46964         Likewise.
46965         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46966         Likewise.
46967         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46968         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46969         Likewise.
46970         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46971         Likewise.
46972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46974 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46976         * po/be.po: Add descriptive title.
46977         * po/zh_CN.po: Likewise.
46978         * po/header.pot: Likewise.
46980 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46982         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46983         error message.
46984         (enlarge_archive): Likewise.
46986 2013-05-28  Ben North  <ben@redfrontdoor.org>
46988         * manual/arith.texi (frexp): It is the magnitude of the return
46989         value which lies in [0.5, 1), not the return value itself.
46991 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46995 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46997         * stdio-common/bug26.c (main): Correct fscanf template.
46999         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47000         declare _dl_skip_args.
47002         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47003         Don't declare.
47005         * manual/platform.texi: Add missing @end deftypefun.
47007 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47009         [BZ #15529]
47010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47011         bit of mantissa of 2^16382.
47012         * math/libm-test.inc (hypot_test_data): Add more tests.
47014         * math/libm-test.inc: Add drem and pow10 to list of tested
47015         functions.
47016         (pow10_test): New function.
47017         (drem_test): Likewise.
47018         (drem_test_tonearest): Likewise.
47019         (drem_test_towardzero): Likewise.
47020         (drem_test_downward): Likewise.
47021         (drem_test_upward): Likewise.
47022         (main): Call the new functions.
47024         * math/libm-test.inc (finite_test_data): Remove.
47025         (finite_test): Run tests from isfinite_test_data.
47026         (gamma_test_data): Remove.
47027         (gamma_test): Run tests from lgamma_test_data.
47028         * sysdeps/i386/fpu/libm-test-ulps: Update.
47029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47031 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47033         * manual/platform.texi: Add PowerPC PPR function set documentation.
47034         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47035         implementation.
47037 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47039         * math/libm-test.inc (MAX_EXP): Define.
47040         (ULPDIFF): Define.
47041         (ulp): New function.
47042         (check_float_internal): Use ULPDIFF.
47043         (cpow_test): Disable failing test.
47044         (check_ulp): Test ulp() implemetnation.
47045         (main): Call check_ulp before starting tests.
47047 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47049         * math/gen-libm-test.pl (generate_testfile): Do not handle
47050         START_DATA and END_DATA.
47051         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47052         END_DATA.
47053         (acos_tonearest_test_data): Likewise.
47054         (acos_towardzero_test_data): Likewise.
47055         (acos_downward_test_data): Likewise.
47056         (acos_upward_test_data): Likewise.
47057         (acosh_test_data): Likewise.
47058         (asin_test_data): Likewise.
47059         (asin_tonearest_test_data): Likewise.
47060         (asin_towardzero_test_data): Likewise.
47061         (asin_downward_test_data): Likewise.
47062         (asin_upward_test_data): Likewise.
47063         (asinh_test_data): Likewise.
47064         (atan_test_data): Likewise.
47065         (atanh_test_data): Likewise.
47066         (atan2_test_data): Likewise.
47067         (cabs_test_data): Likewise.
47068         (cacos_test_data): Likewise.
47069         (cacosh_test_data): Likewise.
47070         (carg_test_data): Likewise.
47071         (casin_test_data): Likewise.
47072         (casinh_test_data): Likewise.
47073         (catan_test_data): Likewise.
47074         (catanh_test_data): Likewise.
47075         (cbrt_test_data): Likewise.
47076         (ccos_test_data): Likewise.
47077         (ccosh_test_data): Likewise.
47078         (ceil_test_data): Likewise.
47079         (cexp_test_data): Likewise.
47080         (cimag_test_data): Likewise.
47081         (clog_test_data): Likewise.
47082         (clog10_test_data): Likewise.
47083         (conj_test_data): Likewise.
47084         (copysign_test_data): Likewise.
47085         (cos_test_data): Likewise.
47086         (cos_tonearest_test_data): Likewise.
47087         (cos_towardzero_test_data): Likewise.
47088         (cos_downward_test_data): Likewise.
47089         (cos_upward_test_data): Likewise.
47090         (cosh_test_data): Likewise.
47091         (cosh_tonearest_test_data): Likewise.
47092         (cosh_towardzero_test_data): Likewise.
47093         (cosh_downward_test_data): Likewise.
47094         (cosh_upward_test_data): Likewise.
47095         (cpow_test_data): Likewise.
47096         (cproj_test_data): Likewise.
47097         (creal_test_data): Likewise.
47098         (csin_test_data): Likewise.
47099         (csinh_test_data): Likewise.
47100         (csqrt_test_data): Likewise.
47101         (ctan_test_data): Likewise.
47102         (ctan_tonearest_test_data): Likewise.
47103         (ctan_towardzero_test_data): Likewise.
47104         (ctan_downward_test_data): Likewise.
47105         (ctan_upward_test_data): Likewise.
47106         (ctanh_test_data): Likewise.
47107         (ctanh_tonearest_test_data): Likewise.
47108         (ctanh_towardzero_test_data): Likewise.
47109         (ctanh_downward_test_data): Likewise.
47110         (ctanh_upward_test_data): Likewise.
47111         (erf_test_data): Likewise.
47112         (erfc_test_data): Likewise.
47113         (exp_test_data): Likewise.
47114         (exp_tonearest_test_data): Likewise.
47115         (exp_towardzero_test_data): Likewise.
47116         (exp_downward_test_data): Likewise.
47117         (exp_upward_test_data): Likewise.
47118         (exp10_test_data): Likewise.
47119         (exp2_test_data): Likewise.
47120         (expm1_test_data): Likewise.
47121         (fabs_test_data): Likewise.
47122         (fdim_test_data): Likewise.
47123         (finite_test_data): Likewise.
47124         (floor_test_data): Likewise.
47125         (fma_test_data): Likewise.
47126         (fma_towardzero_test_data): Likewise.
47127         (fma_downward_test_data): Likewise.
47128         (fma_upward_test_data): Likewise.
47129         (fmax_test_data): Likewise.
47130         (fmin_test_data): Likewise.
47131         (fmod_test_data): Likewise.
47132         (fpclassify_test_data): Likewise.
47133         (frexp_test_data): Likewise.
47134         (gamma_test_data): Likewise.
47135         (hypot_test_data): Likewise.
47136         (ilogb_test_data): Likewise.
47137         (isfinite_test_data): Likewise.
47138         (isgreater_test_data): Likewise.
47139         (isgreaterequal_test_data): Likewise.
47140         (isinf_test_data): Likewise.
47141         (isless_test_data): Likewise.
47142         (islessequal_test_data): Likewise.
47143         (islessgreater_test_data): Likewise.
47144         (isnan_test_data): Likewise.
47145         (isnormal_test_data): Likewise.
47146         (issignaling_test_data): Likewise.
47147         (isunordered_test_data): Likewise.
47148         (j0_test_data): Likewise.
47149         (j1_test_data): Likewise.
47150         (jn_test_data): Likewise.
47151         (ldexp_test_data): Likewise.
47152         (lgamma_test_data): Likewise.
47153         (lrint_test_data): Likewise.
47154         (lrint_tonearest_test_data): Likewise.
47155         (lrint_towardzero_test_data): Likewise.
47156         (lrint_downward_test_data): Likewise.
47157         (lrint_upward_test_data): Likewise.
47158         (llrint_test_data): Likewise.
47159         (llrint_tonearest_test_data): Likewise.
47160         (llrint_towardzero_test_data): Likewise.
47161         (llrint_downward_test_data): Likewise.
47162         (llrint_upward_test_data): Likewise.
47163         (log_test_data): Likewise.
47164         (log10_test_data): Likewise.
47165         (log1p_test_data): Likewise.
47166         (log2_test_data): Likewise.
47167         (logb_test_data): Likewise.
47168         (logb_downward_test_data): Likewise.
47169         (lround_test_data): Likewise.
47170         (llround_test_data): Likewise.
47171         (modf_test_data): Likewise.
47172         (nearbyint_test_data): Likewise.
47173         (nextafter_test_data): Likewise.
47174         (nexttoward_test_data): Likewise.
47175         (pow_test_data): Likewise.
47176         (pow_tonearest_test_data): Likewise.
47177         (pow_towardzero_test_data): Likewise.
47178         (pow_downward_test_data): Likewise.
47179         (pow_upward_test_data): Likewise.
47180         (remainder_test_data): Likewise.
47181         (remainder_tonearest_test_data): Likewise.
47182         (remainder_towardzero_test_data): Likewise.
47183         (remainder_downward_test_data): Likewise.
47184         (remainder_upward_test_data): Likewise.
47185         (remquo_test_data): Likewise.
47186         (rint_test_data): Likewise.
47187         (rint_tonearest_test_data): Likewise.
47188         (rint_towardzero_test_data): Likewise.
47189         (rint_downward_test_data): Likewise.
47190         (rint_upward_test_data): Likewise.
47191         (round_test_data): Likewise.
47192         (scalb_test_data): Likewise.
47193         (scalbn_test_data): Likewise.
47194         (scalbln_test_data): Likewise.
47195         (signbit_test_data): Likewise.
47196         (sin_test_data): Likewise.
47197         (sin_tonearest_test_data): Likewise.
47198         (sin_towardzero_test_data): Likewise.
47199         (sin_downward_test_data): Likewise.
47200         (sin_upward_test_data): Likewise.
47201         (sincos_test_data): Likewise.
47202         (sinh_test_data): Likewise.
47203         (sinh_tonearest_test_data): Likewise.
47204         (sinh_towardzero_test_data): Likewise.
47205         (sinh_downward_test_data): Likewise.
47206         (sinh_upward_test_data): Likewise.
47207         (sqrt_test_data): Likewise.
47208         (tan_test_data): Likewise.
47209         (tan_tonearest_test_data): Likewise.
47210         (tan_towardzero_test_data): Likewise.
47211         (tan_downward_test_data): Likewise.
47212         (tan_upward_test_data): Likewise.
47213         (tanh_test_data): Likewise.
47214         (tgamma_test_data): Likewise.
47215         (trunc_test_data): Likewise.
47216         (y0_test_data): Likewise.
47217         (y1_test_data): Likewise.
47218         (yn_test_data): Likewise.
47219         (significand_test_data): Likewise.
47221         * math/gen-libm-test.pl (@functions): Remove variable.
47222         (generate_testfile): Don't handle START and END lines.
47223         * math/libm-test.inc (START): New macro.
47224         (END): Likewise.
47225         (END_COMPLEX): Likewise.
47226         (acos_test): Use END macro without arguments.
47227         (acos_test_tonearest): Likewise.
47228         (acos_test_towardzero): Likewise.
47229         (acos_test_downward): Likewise.
47230         (acos_test_upward): Likewise.
47231         (acosh_test): Likewise.
47232         (asin_test): Likewise.
47233         (asin_test_tonearest): Likewise.
47234         (asin_test_towardzero): Likewise.
47235         (asin_test_downward): Likewise.
47236         (asin_test_upward): Likewise.
47237         (asinh_test): Likewise.
47238         (atan_test): Likewise.
47239         (atanh_test): Likewise.
47240         (atan2_test): Likewise.
47241         (cabs_test): Likewise.
47242         (cacos_test): Use END_COMPLEX macro without arguments.
47243         (cacosh_test): Likewise.
47244         (carg_test): Use END macro without arguments.
47245         (casin_test): Use END_COMPLEX macro without arguments.
47246         (casinh_test): Likewise.
47247         (catan_test): Likewise.
47248         (catanh_test): Likewise.
47249         (cbrt_test): Use END macro without arguments.
47250         (ccos_test): Use END_COMPLEX macro without arguments.
47251         (ccosh_test): Likewise.
47252         (ceil_test): Use END macro without arguments.
47253         (cexp_test): Use END_COMPLEX macro without arguments.
47254         (cimag_test): Use END macro without arguments.
47255         (clog_test): Use END_COMPLEX macro without arguments.
47256         (clog10_test): Likewise.
47257         (conj_test): Likewise.
47258         (copysign_test): Use END macro without arguments.
47259         (cos_test): Likewise.
47260         (cos_test_tonearest): Likewise.
47261         (cos_test_towardzero): Likewise.
47262         (cos_test_downward): Likewise.
47263         (cos_test_upward): Likewise.
47264         (cosh_test): Likewise.
47265         (cosh_test_tonearest): Likewise.
47266         (cosh_test_towardzero): Likewise.
47267         (cosh_test_downward): Likewise.
47268         (cosh_test_upward): Likewise.
47269         (cpow_test): Use END_COMPLEX macro without arguments.
47270         (cproj_test): Likewise.
47271         (creal_test): Use END macro without arguments.
47272         (csin_test): Use END_COMPLEX macro without arguments.
47273         (csinh_test): Likewise.
47274         (csqrt_test): Likewise.
47275         (ctan_test): Likewise.
47276         (ctan_test_tonearest): Likewise.
47277         (ctan_test_towardzero): Likewise.
47278         (ctan_test_downward): Likewise.
47279         (ctan_test_upward): Likewise.
47280         (ctanh_test): Likewise.
47281         (ctanh_test_tonearest): Likewise.
47282         (ctanh_test_towardzero): Likewise.
47283         (ctanh_test_downward): Likewise.
47284         (ctanh_test_upward): Likewise.
47285         (erf_test): Use END macro without arguments.
47286         (erfc_test): Likewise.
47287         (exp_test): Likewise.
47288         (exp_test_tonearest): Likewise.
47289         (exp_test_towardzero): Likewise.
47290         (exp_test_downward): Likewise.
47291         (exp_test_upward): Likewise.
47292         (exp10_test): Likewise.
47293         (exp2_test): Likewise.
47294         (expm1_test): Likewise.
47295         (fabs_test): Likewise.
47296         (fdim_test): Likewise.
47297         (finite_test): Likewise.
47298         (floor_test): Likewise.
47299         (fma_test): Likewise.
47300         (fma_test_towardzero): Likewise.
47301         (fma_test_downward): Likewise.
47302         (fma_test_upward): Likewise.
47303         (fmax_test): Likewise.
47304         (fmin_test): Likewise.
47305         (fmod_test): Likewise.
47306         (fpclassify_test): Likewise.
47307         (frexp_test): Likewise.
47308         (gamma_test): Likewise.
47309         (hypot_test): Likewise.
47310         (ilogb_test): Likewise.
47311         (isfinite_test): Likewise.
47312         (isgreater_test): Likewise.
47313         (isgreaterequal_test): Likewise.
47314         (isinf_test): Likewise.
47315         (isless_test): Likewise.
47316         (islessequal_test): Likewise.
47317         (islessgreater_test): Likewise.
47318         (isnan_test): Likewise.
47319         (isnormal_test): Likewise.
47320         (issignaling_test): Likewise.
47321         (isunordered_test): Likewise.
47322         (j0_test): Likewise.
47323         (j1_test): Likewise.
47324         (jn_test): Likewise.
47325         (ldexp_test): Likewise.
47326         (lgamma_test): Likewise.
47327         (lrint_test): Likewise.
47328         (lrint_test_tonearest): Likewise.
47329         (lrint_test_towardzero): Likewise.
47330         (lrint_test_downward): Likewise.
47331         (lrint_test_upward): Likewise.
47332         (llrint_test): Likewise.
47333         (llrint_test_tonearest): Likewise.
47334         (llrint_test_towardzero): Likewise.
47335         (llrint_test_downward): Likewise.
47336         (llrint_test_upward): Likewise.
47337         (log_test): Likewise.
47338         (log10_test): Likewise.
47339         (log1p_test): Likewise.
47340         (log2_test): Likewise.
47341         (logb_test): Likewise.
47342         (logb_test_downward): Likewise.
47343         (lround_test): Likewise.
47344         (llround_test): Likewise.
47345         (modf_test): Likewise.
47346         (nearbyint_test): Likewise.
47347         (nextafter_test): Likewise.
47348         (nexttoward_test): Likewise.
47349         (pow_test): Likewise.
47350         (pow_test_tonearest): Likewise.
47351         (pow_test_towardzero): Likewise.
47352         (pow_test_downward): Likewise.
47353         (pow_test_upward): Likewise.
47354         (remainder_test): Likewise.
47355         (remainder_test_tonearest): Likewise.
47356         (remainder_test_towardzero): Likewise.
47357         (remainder_test_downward): Likewise.
47358         (remainder_test_upward): Likewise.
47359         (remquo_test): Likewise.
47360         (rint_test): Likewise.
47361         (rint_test_tonearest): Likewise.
47362         (rint_test_towardzero): Likewise.
47363         (rint_test_downward): Likewise.
47364         (rint_test_upward): Likewise.
47365         (round_test): Likewise.
47366         (scalb_test): Likewise.
47367         (scalbn_test): Likewise.
47368         (scalbln_test): Likewise.
47369         (signbit_test): Likewise.
47370         (sin_test): Likewise.
47371         (sin_test_tonearest): Likewise.
47372         (sin_test_towardzero): Likewise.
47373         (sin_test_downward): Likewise.
47374         (sin_test_upward): Likewise.
47375         (sincos_test): Likewise.
47376         (sinh_test): Likewise.
47377         (sinh_test_tonearest): Likewise.
47378         (sinh_test_towardzero): Likewise.
47379         (sinh_test_downward): Likewise.
47380         (sinh_test_upward): Likewise.
47381         (sqrt_test): Likewise.
47382         (tan_test): Likewise.
47383         (tan_test_tonearest): Likewise.
47384         (tan_test_towardzero): Likewise.
47385         (tan_test_downward): Likewise.
47386         (tan_test_upward): Likewise.
47387         (tanh_test): Likewise.
47388         (tgamma_test): Likewise.
47389         (trunc_test): Likewise.
47390         (y0_test): Likewise.
47391         (y1_test): Likewise.
47392         (yn_test): Likewise.
47393         (significand_test): Likewise.
47395 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47397         [BZ #15381]
47398         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47400 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47402         [BZ #14894]
47403         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47404         __ppc_mdoio and __ppc_mdoom.
47405         * manual/platform.texi: Document new functions __ppc_yield,
47406         __ppc_mdoio and __ppc_mdoom.
47408 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47410         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47411         (main): Mention "tls" pseudo-hwcap is legacy.
47412         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47414 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47416         * math/gen-libm-test.pl (parse_args): Output only string of
47417         arguments as text for test name, not full call or descriptions of
47418         tests for extra outputs.
47419         (generate_testfile): Do not pass function name to parse_args.
47420         Generate this_func variable from START.
47421         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47422         field to arg_str.
47423         (struct test_ff_f_data): Likewise.
47424         (test_ff_f_data_nexttoward): Likewise.
47425         (struct test_fi_f_data): Likewise.
47426         (struct test_fl_f_data): Likewise.
47427         (struct test_if_f_data): Likewise.
47428         (struct test_fff_f_data): Likewise.
47429         (struct test_c_f_data): Likewise.
47430         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47431         (struct test_fF_f1_data): Likewise.
47432         (struct test_ffI_f1_data): Likewise.
47433         (struct test_c_c_data): Rename test_name field to arg_str.
47434         (struct test_cc_c_data): Likewise.
47435         (struct test_f_i_data): Likewise.
47436         (struct test_ff_i_data): Likewise.
47437         (struct test_f_l_data): Likewise.
47438         (struct test_f_L_data): Likewise.
47439         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47440         and extra2_name.
47441         (COMMON_TEST_SETUP): New macro.
47442         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47443         (COMMON_TEST_CLEANUP): Likewise.
47444         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47445         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47446         macros.
47447         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47448         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47449         macros.
47450         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47451         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47452         cleanup macros.
47453         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47454         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47455         macros.
47456         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47457         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47458         macros.
47459         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47460         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47461         cleanup macros.
47462         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47463         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47464         cleanup macros.
47465         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47466         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47467         cleanup macros.
47468         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47469         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47470         macros.
47471         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47472         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47473         macros.
47474         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47475         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47476         macros.
47477         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47478         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47479         cleanup macros.
47480         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47481         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47482         cleanup macros.
47483         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47484         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47485         macros.
47486         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47487         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47488         cleanup macros.
47489         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47490         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47491         macros.
47492         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47493         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47494         macros.
47495         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47496         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47497         cleanup macros.
47498         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47500 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47502         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47503         to _sifields.sigfault.
47504         (si_addr_lsb): Define new macro.
47505         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47506         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47509 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47511         [BZ #15441]
47512         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47513         returns -1.
47514         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47515         null return -1.
47516         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47517         loading the domain.
47519 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47521         * math/gen-libm-test.pl (parse_args): Do not include expected
47522         result in test name.
47523         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47524         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47525         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47526         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47527         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47530 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47532         * benchtests/Makefile: Sort function entries.
47534         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47535         tanh, asinh, acosh, atanh.
47536         * benchtests/acos-inputs: New file.
47537         * benchtests/acosh-inputs: New file.
47538         * benchtests/asin-inputs: New file.
47539         * benchtests/asinh-inputs: New file.
47540         * benchtests/atanh-inputs: New file.
47541         * benchtests/cosh-inputs: New file.
47542         * benchtests/log-inputs: New file.
47543         * benchtests/sinh-inputs: New file.
47544         * benchtests/tanh-inputs: New file.
47546 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47548         [BZ #15339]
47549         * posix/tst-getaddrinfo4.c: New test.
47550         * posix/Makefile (tests): Add it.
47552 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47554         [BZ #15339]
47555         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47556         when no services were used.
47557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47558         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47560 2013-05-21  Andreas Schwab  <schwab@suse.de>
47562         [BZ #15014]
47563         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47564         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47565         successful.
47566         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47567         redundant variable declarations and reallocation of buffer when
47568         parsing as IPv6 address.  Always set NSS status when called from
47569         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47570         buffer too small.  Correct computation of needed size.
47571         * nss/Makefile (tests): Add test-digits-dots.
47572         * nss/test-digits-dots.c: New test.
47574 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47576         * benchtests/Makefile: Remove instructions for adding
47577         benchmark tests.
47578         * benchtests/README: New file to explain how to execute and
47579         enhance the benchmark tests.
47581 2013-05-21  Andreas Schwab  <schwab@suse.de>
47583         [BZ #15493]
47584         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47585         * setjmp/tst-sigsetjmp.c: New test.
47587 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47589         * sysdeps/x86_64/memset.S (memset): New implementation.
47590         (__bzero): Likewise.
47591         (__memset_tail): New function.
47593 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47595         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47596         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47597         __memcpy_sse2_unaligned ifunc selection.
47598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47599         Add memcpy-sse2-unaligned.S.
47600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47601         Add: __memcpy_sse2_unaligned.
47603 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47605         [BZ #15490]
47606         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47607         math_force_eval before restoring floating-point envrionment.
47608         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47610         Likewise.
47611         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47612         <math_private.h>.
47613         (__nearbyintl): Use math_force_eval before restoring
47614         floating-point environment.
47615         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47617         * math/gen-libm-test.pl (special_functions): Remove.
47618         (parse_args): Don't handle TEST_extra.  Handle functions with no
47619         return value.
47620         * math/libm-test.inc (struct test_sincos_data): Replace with
47621         struct test_fFF_11_data.
47622         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47623         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47624         (sincos_test_data): Change element type to struct
47625         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47626         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47627         RUN_TEST_LOOP_sincos.
47628         * math/README.libm-test: Don't mention special handling of
47629         individual functions.
47630         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47631         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47632         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47633         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47634         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47637         * math/gen-libm-test.pl (get_variable): Remove function.
47638         (parse_args): Don't show pointer parameters to call in test
47639         names.  Use "extra output N" in test names for extra outputs
47640         rather than naming variables.
47642 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47644         [BZ #15488]
47645         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47646         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47647         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47648         double tests.
47649         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47650         disable.
47651         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47652         check_long_double.
47654         * math/gen-libm-test.pl (@tests): Remove variable.
47655         ($count): Likewise.
47656         (new_test): Remove function.
47657         (show_exceptions): New function.
47658         (special_functions): Use show_exceptions instead of new_test.
47659         (parse_args): Likewise.
47660         (generate_testfile): Pass only function name in generated call to
47661         print_max_error or print_complex_max_error.
47662         (get_ulps): Do not handle complex tests specially.
47663         (output_test): Rename to ...
47664         (get_all_ulps_for_test): ... this.  Return a string rather than
47665         printing to a file.  Require ulps to be present.
47666         (output_ulps): Generate arrays rather than #defines.
47667         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47668         (struct ulp_data): New type.
47669         (BUILD_COMPLEX_ULP): Remove macro.
47670         (compare_ulp_data): New function.
47671         (find_ulps): Likewise.
47672         (find_test_ulps): Likewise.
47673         (find_function_ulps): Likewise.
47674         (find_complex_function_ulps): Likewise.
47675         (print_max_error): Determine allowed ulps using
47676         find_function_ulps.
47677         (print_complex_max_error): Determine allowed ulps using
47678         find_complex_function_ulps.
47679         (check_float_internal): Determine max ulps using find_test_ulps.
47680         (check_float): Do not take max_ulp parameter.  Update call to
47681         check_float_internal.
47682         (check_complex): Likewise.
47683         (check_int): Do not take max_ulp parameter.
47684         (check_long): Likewise.
47685         (check_bool): Likewise.
47686         (check_longlong): Likewise.
47687         (struct test_f_f_data): Remove max_ulp field.
47688         (struct test_ff_f_data): Likewise.
47689         (struct test_ff_f_data_nexttoward): Likewise.
47690         (struct test_fi_f_data): Likewise.
47691         (struct test_fl_f_data): Likewise.
47692         (struct test_if_f_data): Likewise.
47693         (struct test_fff_f_data): Likewise.
47694         (struct test_c_f_data): Likewise.
47695         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47696         (struct test_fF_f1_data): Likewise.
47697         (struct test_ffI_f1_data): Likewise.
47698         (struct test_c_c_data): Remove max_ulp field.
47699         (struct test_cc_c_data): Likewise.
47700         (struct test_f_i_data): Likewise.
47701         (struct test_ff_i_data): Likewise.
47702         (struct test_f_l_data): Likewise.
47703         (struct test_f_L_data): Likewise.
47704         (struct test_sincos_data): Likewise.
47705         (RUN_TEST_f_f): Do not handle ulps.
47706         (RUN_TEST_LOOP_f_f): Likewise.
47707         (RUN_TEST_2_f): Likewise.
47708         (RUN_TEST_LOOP_2_f): Likewise.
47709         (RUN_TEST_fff_f): Likewise.
47710         (RUN_TEST_LOOP_fff_f): Likewise.
47711         (RUN_TEST_c_f): Likewise.
47712         (RUN_TEST_LOOP_c_f): Likewise.
47713         (RUN_TEST_f_f1): Likewise.
47714         (RUN_TEST_LOOP_f_f1): Likewise.
47715         (RUN_TEST_fF_f1): Likewise.
47716         (RUN_TEST_LOOP_fF_f1): Likewise.
47717         (RUN_TEST_fI_f1): Likewise.
47718         (RUN_TEST_LOOP_fI_f1): Likewise.
47719         (RUN_TEST_ffI_f1): Likewise.
47720         (RUN_TEST_LOOP_ffI_f1): Likewise.
47721         (RUN_TEST_c_c): Likewise.
47722         (RUN_TEST_LOOP_c_c): Likewise.
47723         (RUN_TEST_cc_c): Likewise.
47724         (RUN_TEST_LOOP_cc_c): Likewise.
47725         (RUN_TEST_f_i): Likewise.
47726         (RUN_TEST_LOOP_f_i): Likewise.
47727         (RUN_TEST_f_i_tg): Likewise.
47728         (RUN_TEST_LOOP_f_i_tg): Likewise.
47729         (RUN_TEST_ff_i_tg): Likewise.
47730         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47731         (RUN_TEST_f_b): Likewise.
47732         (RUN_TEST_LOOP_f_b): Likewise.
47733         (RUN_TEST_f_b_tg): Likewise.
47734         (RUN_TEST_LOOP_f_b_tg): Likewise.
47735         (RUN_TEST_f_l): Likewise.
47736         (RUN_TEST_LOOP_f_l): Likewise.
47737         (RUN_TEST_f_L): Likewise.
47738         (RUN_TEST_LOOP_f_L): Likewise.
47739         (RUN_TEST_sincos): Likewise.
47740         (RUN_TEST_LOOP_sincos): Likewise.
47742 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47744         [BZ #15480]
47745         [BZ #15485]
47746         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47747         main case of finite arguments, set rounding mode to FE_TONEAREST
47748         and discard exceptions.
47749         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47750         exceptions.
47751         (remainder_tonearest_test_data): New variable.
47752         (remainder_test_tonearest): New function.
47753         (remainder_towardzero_test_data): New variable.
47754         (remainder_test_towardzero): New function.
47755         (remainder_downward_test_data): New variable.
47756         (remainder_test_downward): New function.
47757         (remainder_upward_test_data): New variable.
47758         (remainder_test_upward): New function.
47759         (main): Call the new test functions.
47761         * math/libm-test.inc (struct test_f_f1_data): Remove field
47762         extra_init.
47763         (struct test_fF_f1_data): Likewise.
47764         (struct test_ffI_f1_data): Likewise.
47765         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47766         based on value of EXTRA_EXPECTED.
47767         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47768         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47769         EXTRA_VAR based on value of EXTRA_EXPECTED.
47770         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47771         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47772         EXTRA_VAR based on value of EXTRA_EXPECTED.
47773         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47774         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47775         EXTRA_VAR based on value of EXTRA_EXPECTED.
47776         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47777         * math/gen-libm-test.pl (parse_args): Don't output initializers
47778         for extra output values.
47780         * math/libm-test.inc (check_int): Expect result to be exactly
47781         equal to expected value and do not handle ulps.
47782         (check_long): Likewise.
47783         (check_longlong): Likewise.
47785         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47786         exceptions.
47787         (cimag_test_data): Likewise.
47788         (conj_test_data): Likewise.
47789         (copysign_test_data): Likewise.
47790         (cproj_test_data): Likewise.
47791         (creal_test_data): Likewise.
47792         (fabs_test_data): Likewise.
47793         (fdim_test_data): Likewise.
47794         (finite_test_data): Likewise.
47795         (floor_test_data): Likewise.
47796         (fmax_test_data): Likewise.
47797         (fmin_test_data): Likewise.
47798         (fmod_test_data): Likewise.
47799         (fpclassify_test_data): Likewise.
47800         (frexp_test_data): Likewise.
47801         (ilogb_test_data): Likewise.
47802         (isfinite_test_data): Likewise.
47803         (isgreater_test_data): Likewise.
47804         (isgreaterequal_test_data): Likewise.
47805         (isinf_test_data): Likewise.
47806         (isless_test_data): Likewise.
47807         (islessequal_test_data): Likewise.
47808         (islessgreater_test_data): Likewise.
47809         (isnan_test_data): Likewise.
47810         (isnormal_test_data): Likewise.
47811         (issignaling_test_data): Likewise.
47812         (isunordered_test_data): Likewise.
47813         (ldexp_test_data): Likewise.
47814         (lrint_test_data): Likewise.
47815         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47816         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47817         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47818         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47819         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47820         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47821         test input.
47822         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47823         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47824         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47825         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47826         that test input.
47827         (lrint_downward_test_data): Test for "inexact" exceptions.
47828         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47829         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47830         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47831         test input.
47832         (lrint_upward_test_data): Test for "inexact" exceptions.
47833         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47834         test input.
47835         (llrint_test_data): Test for "inexact" exceptions.
47836         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47837         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47838         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47839         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47840         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47841         (llrint_downward_test_data): Test for "inexact" exceptions.
47842         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47843         (llrint_upward_test_data): Test for "inexact" exceptions.
47844         (logb_test_data): Likewise.
47845         (logb_downward_test_data): Likewise.
47846         (nextafter_test_data): Likewise.
47847         (nexttoward_test_data): Likewise.
47848         (remainder_test_data): Likewise.
47849         (remquo_test_data): Likewise.
47850         (scalbn_test_data): Likewise.
47851         (scalbln_test_data): Likewise.
47852         (signbit_test_data): Likewise.
47853         (sqrt_test_data): Likewise.
47854         (significand_test_data): Likewise.
47856 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47858         [BZ #15424]
47859         * benchtests/bench-modf.c (struct args): Mark arg0 as
47860         volatile.
47861         * scripts/bench.pl: Mark members of struct args as volatile.
47863 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47865         [BZ # 15497]
47866         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47867         negative infinity on POWER6 or lower.
47868         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47870 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47872         [BZ #15442]
47873         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47874         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47875         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47876         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47877         (_FP_SETQNAN): New macro.
47878         (_FP_SETQNAN_SEMIRAW): Likewise.
47879         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47880         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47881         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47882         (FP_EXTEND): Use _FP_FRAC_SNANP.
47883         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47884         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47885         into account.
47886         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47887         New macro.
47888         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47889         Likewise.
47891 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47893         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47894         with DIVIDE_BY_ZERO_EXCEPTION.
47895         (gamma_test_data): Likewise.
47896         (lgamma_test_data): Likewise.
47897         (log_test_data): Likewise.
47898         (log10_test_data): Likewise.
47899         (log2_test_data): Likewise.
47900         (tgamma_test_data): Likewise.
47902         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47903         (acos_test_tonearest): Likewise.
47904         (acos_test_towardzero): Likewise.
47905         (acos_test_downward): Likewise.
47906         (acos_test_upward): Likewise.
47907         (acosh_test): Likewise.
47908         (asin_test): Likewise.
47909         (asin_test_tonearest): Likewise.
47910         (asin_test_towardzero): Likewise.
47911         (asin_test_downward): Likewise.
47912         (asin_test_upward): Likewise.
47913         (asinh_test): Likewise.
47914         (atan_test): Likewise.
47915         (atanh_test): Likewise.
47916         (atan2_test): Likewise.
47917         (cabs_test): Likewise.
47918         (cacos_test): Likewise.
47919         (cacosh_test): Likewise.
47920         (casin_test): Likewise.
47921         (casinh_test): Likewise.
47922         (catan_test): Likewise.
47923         (catanh_test): Likewise.
47924         (cbrt_test): Likewise.
47925         (ccos_test): Likewise.
47926         (ccosh_test): Likewise.
47927         (cexp_test): Likewise.
47928         (clog_test): Likewise.
47929         (clog10_test): Likewise.
47930         (cos_test): Likewise.
47931         (cos_test_tonearest): Likewise.
47932         (cos_test_towardzero): Likewise.
47933         (cos_test_downward): Likewise.
47934         (cos_test_upward): Likewise.
47935         (cosh_test): Likewise.
47936         (cosh_test_tonearest): Likewise.
47937         (cosh_test_towardzero): Likewise.
47938         (cosh_test_downward): Likewise.
47939         (cosh_test_upward): Likewise.
47940         (cpow_test): Likewise.
47941         (csin_test): Likewise.
47942         (csinh_test): Likewise.
47943         (csqrt_test): Likewise.
47944         (ctan_test): Likewise.
47945         (ctan_test_tonearest): Likewise.
47946         (ctan_test_towardzero): Likewise.
47947         (ctan_test_downward): Likewise.
47948         (ctan_test_upward): Likewise.
47949         (ctanh_test): Likewise.
47950         (ctanh_test_tonearest): Likewise.
47951         (ctanh_test_towardzero): Likewise.
47952         (ctanh_test_downward): Likewise.
47953         (ctanh_test_upward): Likewise.
47954         (erf_test): Likewise.
47955         (erfc_test): Likewise.
47956         (exp_test): Likewise.
47957         (exp_test_tonearest): Likewise.
47958         (exp_test_towardzero): Likewise.
47959         (exp_test_downward): Likewise.
47960         (exp_test_upward): Likewise.
47961         (exp10_test): Likewise.
47962         (exp2_test): Likewise.
47963         (expm1_test): Likewise.
47964         (fmod_test): Likewise.
47965         (gamma_test): Likewise.
47966         (hypot_test): Likewise.
47967         (j0_test): Likewise.
47968         (j1_test): Likewise.
47969         (jn_test): Likewise.
47970         (lgamma_test): Likewise.
47971         (log_test): Likewise.
47972         (log10_test): Likewise.
47973         (log1p_test): Likewise.
47974         (log2_test): Likewise.
47975         (logb_test_downward): Likewise.
47976         (pow_test): Likewise.
47977         (pow_test_tonearest): Likewise.
47978         (pow_test_towardzero): Likewise.
47979         (pow_test_downward): Likewise.
47980         (pow_test_upward): Likewise.
47981         (remainder_test): Likewise.
47982         (remquo_test): Likewise.
47983         (sin_test): Likewise.
47984         (sin_test_tonearest): Likewise.
47985         (sin_test_towardzero): Likewise.
47986         (sin_test_downward): Likewise.
47987         (sin_test_upward): Likewise.
47988         (sincos_test): Likewise.
47989         (sinh_test): Likewise.
47990         (sinh_test_tonearest): Likewise.
47991         (sinh_test_towardzero): Likewise.
47992         (sinh_test_downward): Likewise.
47993         (sinh_test_upward): Likewise.
47994         (sqrt_test): Likewise.
47995         (tan_test): Likewise.
47996         (tan_test_tonearest): Likewise.
47997         (tan_test_towardzero): Likewise.
47998         (tan_test_downward): Likewise.
47999         (tan_test_upward): Likewise.
48000         (tanh_test): Likewise.
48001         (tgamma_test): Likewise.
48002         (y0_test): Likewise.
48003         (y1_test): Likewise.
48004         (yn_test): Likewise.
48006         * math/gen-libm-test.pl (adjust_arg): Remove function.
48007         (special_function): Remove argument $in_func.  Only handle
48008         generating output for tables of tests, not inside functions.
48009         (parse_args): Likewise.
48010         (generate_testfile): Remove variable $in_func.  Update call to
48011         parse_args.
48012         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48013         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48014         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48015         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48016         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48017         (MAX_VALUE_INIT): Rename macro to max_value.
48018         (MIN_VALUE_INIT): Rename macro to min_value.
48019         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48020         (plus_zero): Remove variable.
48021         (minus_zero): Likewise.
48022         (plus_infty): Likewise.
48023         (minus_infty): Likewise.
48024         (qnan_value): Likewise.
48025         (max_value): Likewise.
48026         (min_value): Likewise.
48027         (min_subnorm_value): Likewise.
48029 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48031         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48032         uint64_t or uint32_t usage.
48033         * crypt/sha256-block.c: Likewise.
48034         * crypt/sha256-crypt.c: Likewise.
48035         * crypt/sha256.c: Likewise.
48036         * crypt/sha512-block.c: Likewise.
48037         * crypt/sha512-crypt.c: Likewise.
48038         * crypt/sha512.c: Likewise.
48039         * debug/backtrace-tst.c: Likewise.
48040         * debug/pcprofiledump.c: Likewise.
48041         * elf/cache.c: Likewise.
48042         * elf/dl-cache.c: Likewise.
48043         * elf/dl-misc.c: Likewise.
48044         * elf/dl-profile.c: Likewise.
48045         * elf/dl-support.c: Likewise.
48046         * elf/ldconfig.c: Likewise.
48047         * elf/sprof.c: Likewise.
48048         * iconv/dummy-repertoire.c: Likewise.
48049         * iconv/iconv_charmap.c: Likewise.
48050         * iconv/skeleton.c: Likewise.
48051         * iconvdata/8bit-generic.c: Likewise.
48052         * iconvdata/cp737.h: Likewise.
48053         * iconvdata/cp775.h: Likewise.
48054         * iconvdata/ibm1008.h: Likewise.
48055         * iconvdata/ibm1025.h: Likewise.
48056         * iconvdata/ibm1046.h: Likewise.
48057         * iconvdata/ibm1097.h: Likewise.
48058         * iconvdata/ibm1112.h: Likewise.
48059         * iconvdata/ibm1122.h: Likewise.
48060         * iconvdata/ibm1123.h: Likewise.
48061         * iconvdata/ibm1124.h: Likewise.
48062         * iconvdata/ibm1129.h: Likewise.
48063         * iconvdata/ibm1130.h: Likewise.
48064         * iconvdata/ibm1132.h: Likewise.
48065         * iconvdata/ibm1133.h: Likewise.
48066         * iconvdata/ibm1137.h: Likewise.
48067         * iconvdata/ibm1140.h: Likewise.
48068         * iconvdata/ibm1141.h: Likewise.
48069         * iconvdata/ibm1142.h: Likewise.
48070         * iconvdata/ibm1143.h: Likewise.
48071         * iconvdata/ibm1144.h: Likewise.
48072         * iconvdata/ibm1145.h: Likewise.
48073         * iconvdata/ibm1146.h: Likewise.
48074         * iconvdata/ibm1147.h: Likewise.
48075         * iconvdata/ibm1148.h: Likewise.
48076         * iconvdata/ibm1149.h: Likewise.
48077         * iconvdata/ibm1153.h: Likewise.
48078         * iconvdata/ibm1154.h: Likewise.
48079         * iconvdata/ibm1155.h: Likewise.
48080         * iconvdata/ibm1156.h: Likewise.
48081         * iconvdata/ibm1157.h: Likewise.
48082         * iconvdata/ibm1158.h: Likewise.
48083         * iconvdata/ibm1160.h: Likewise.
48084         * iconvdata/ibm1161.h: Likewise.
48085         * iconvdata/ibm1162.h: Likewise.
48086         * iconvdata/ibm1163.h: Likewise.
48087         * iconvdata/ibm1164.h: Likewise.
48088         * iconvdata/ibm1166.h: Likewise.
48089         * iconvdata/ibm1167.h: Likewise.
48090         * iconvdata/ibm12712.h: Likewise.
48091         * iconvdata/ibm1390.h: Likewise.
48092         * iconvdata/ibm1399.h: Likewise.
48093         * iconvdata/ibm16804.h: Likewise.
48094         * iconvdata/ibm4517.h: Likewise.
48095         * iconvdata/ibm4899.h: Likewise.
48096         * iconvdata/ibm4909.h: Likewise.
48097         * iconvdata/ibm4971.h: Likewise.
48098         * iconvdata/ibm5347.h: Likewise.
48099         * iconvdata/ibm803.h: Likewise.
48100         * iconvdata/ibm856.h: Likewise.
48101         * iconvdata/ibm901.h: Likewise.
48102         * iconvdata/ibm902.h: Likewise.
48103         * iconvdata/ibm9030.h: Likewise.
48104         * iconvdata/ibm9066.h: Likewise.
48105         * iconvdata/ibm921.h: Likewise.
48106         * iconvdata/ibm922.h: Likewise.
48107         * iconvdata/ibm9448.h: Likewise.
48108         * iconvdata/isiri-3342.h: Likewise.
48109         * iconvdata/jis0201.h: Likewise.
48110         * include/link.h: Likewise.
48111         * include/netdb.h: Likewise.
48112         * inet/check_native.c: Likewise.
48113         * inet/check_pf.c: Likewise.
48114         * inet/getipv4sourcefilter.c: Likewise.
48115         * inet/getnameinfo.c: Likewise.
48116         * inet/getsourcefilter.c: Likewise.
48117         * inet/htonl.c: Likewise.
48118         * inet/setipv4sourcefilter.c: Likewise.
48119         * inet/setsourcefilter.c: Likewise.
48120         * inet/test-inet6_opt.c: Likewise.
48121         * inet/tst-network.c: Likewise.
48122         * locale/C-collate.c: Likewise.
48123         * locale/C-ctype.c: Likewise.
48124         * locale/C-time.c: Likewise.
48125         * locale/C-translit.h: Likewise.
48126         * locale/loadarchive.c: Likewise.
48127         * locale/programs/3level.h: Likewise.
48128         * locale/programs/charmap.c: Likewise.
48129         * locale/programs/charmap.h: Likewise.
48130         * locale/programs/ld-address.c: Likewise.
48131         * locale/programs/ld-collate.c: Likewise.
48132         * locale/programs/ld-ctype.c: Likewise.
48133         * locale/programs/ld-identification.c: Likewise.
48134         * locale/programs/ld-measurement.c: Likewise.
48135         * locale/programs/ld-messages.c: Likewise.
48136         * locale/programs/ld-monetary.c: Likewise.
48137         * locale/programs/ld-name.c: Likewise.
48138         * locale/programs/ld-numeric.c: Likewise.
48139         * locale/programs/ld-paper.c: Likewise.
48140         * locale/programs/ld-telephone.c: Likewise.
48141         * locale/programs/ld-time.c: Likewise.
48142         * locale/programs/linereader.c: Likewise.
48143         * locale/programs/locale.c: Likewise.
48144         * locale/programs/locarchive.c: Likewise.
48145         * locale/programs/locfile.h: Likewise.
48146         * locale/programs/repertoire.c: Likewise.
48147         * locale/programs/simple-hash.c: Likewise.
48148         * locale/programs/simple-hash.h: Likewise.
48149         * malloc/memusage.c: Likewise.
48150         * malloc/memusagestat.c: Likewise.
48151         * nis/nis_defaults.c: Likewise.
48152         * nis/nis_hash.c: Likewise.
48153         * nis/nis_print.c: Likewise.
48154         * nis/nis_xdr.c: Likewise.
48155         * nscd/connections.c: Likewise.
48156         * nscd/hstcache.c: Likewise.
48157         * nscd/nscd_gethst_r.c: Likewise.
48158         * nscd/nscd_getserv_r.c: Likewise.
48159         * nscd/nscd_helper.c: Likewise.
48160         * nscd/servicescache.c: Likewise.
48161         * nss/makedb.c: Likewise.
48162         * nss/nss_db/db-XXX.c: Likewise.
48163         * nss/nss_db/db-initgroups.c: Likewise.
48164         * nss/nss_db/db-netgrp.c: Likewise.
48165         * nss/nss_files/files-network.c: Likewise.
48166         * nss/nss_files/files-parse.c: Likewise.
48167         * posix/bug-regex5.c: Likewise.
48168         * posix/fnmatch_loop.c: Likewise.
48169         * posix/regcomp.c: Likewise.
48170         * posix/regexec.c: Likewise.
48171         * posix/tst-rfc3484-2.c: Likewise.
48172         * posix/tst-rfc3484-3.c: Likewise.
48173         * posix/tst-rfc3484.c: Likewise.
48174         * resolv/nss_dns/dns-canon.c: Likewise.
48175         * resolv/nss_dns/dns-network.c: Likewise.
48176         * resolv/res_init.c: Likewise.
48177         * resolv/res_mkquery.c: Likewise.
48178         * resolv/tst-aton.c: Likewise.
48179         * stdlib/cxa_atexit.c: Likewise.
48180         * stdlib/cxa_finalize.c: Likewise.
48181         * stdlib/gen-fpioconst.c: Likewise.
48182         * stdlib/strtol_l.c: Likewise.
48183         * string/tst-endian.c: Likewise.
48184         * sunrpc/auth_des.c: Likewise.
48185         * sunrpc/clnt_udp.c: Likewise.
48186         * sunrpc/rtime.c: Likewise.
48187         * sunrpc/svcauth_des.c: Likewise.
48188         * sunrpc/xdr.c: Likewise.
48189         * sunrpc/xdr_intXX_t.c: Likewise.
48190         * sunrpc/xdr_rec.c: Likewise.
48191         * sysdeps/generic/ldconfig.h: Likewise.
48192         * sysdeps/generic/ldsodefs.h: Likewise.
48193         * sysdeps/generic/memusage.h: Likewise.
48194         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48195         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48196         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48197         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48198         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48199         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48200         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48201         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48202         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48204         * sysdeps/posix/getaddrinfo.c: Likewise.
48205         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48206         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48207         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48208         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48209         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48210         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48211         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48212         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48213         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48214         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48215         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48216         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48217         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48218         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48219         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48220         * sysdeps/x86_64/dl-tls.h: Likewise.
48221         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48222         * time/alt_digit.c: Likewise.
48223         * time/era.c: Likewise.
48224         * wcsmbs/tst-c16c32-1.c: Likewise.
48226 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48228         * math/libm-test.inc (struct test_sincos_data): New type.
48229         (RUN_TEST_LOOP_sincos): New macro.
48230         (sincos_test_data): New variable.
48231         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48233 2013-05-16  Richard Henderson  <rth@redhat.com>
48235         * math/atest-exp2.c (LIMB64): New macro.
48236         (CONSTSZ): New macro.
48237         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48238         (hexdig): Move ...
48239         (print_mpn_fp): ... to function scope.
48240         (read_mpn_hex): Remove.
48241         (get_log2): Remove.
48242         (exp2_mpn): Use mp_log2.
48243         (main): Use mp_exp1.
48245 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48247         * math/libm-test.inc: Remove comment about not testing "inexact"
48248         exceptions.
48249         (INEXACT_EXCEPTION): New macro.
48250         (NO_INEXACT_EXCEPTION): Likewise.
48251         (INVALID_EXCEPTION_OK): Update value.
48252         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48253         (OVERFLOW_EXCEPTION_OK): Likewise.
48254         (UNDERFLOW_EXCEPTION_OK): Likewise.
48255         (IGNORE_ZERO_INF_SIGN): Likewise.
48256         (ERRNO_UNCHANGED): Likewise.
48257         (ERRNO_EDOM): Likewise.
48258         (ERRNO_ERANGE): Likewise.
48259         (test_exceptions): Handle testing "inexact" exceptions.
48260         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48261         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48262         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48263         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48264         INEXACT_EXCEPTION.
48265         (rint_towardzero_test_data): Likewise.
48266         (rint_downward_test_data): Likewise.
48267         (rint_upward_test_data): Likewise.
48269         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48270         with OVERFLOW_EXCEPTION.
48271         (exp10_test_data): Likewise.
48272         (exp2_test_data): Likewise.
48273         (expm1_test_data): Likewise.
48274         (lgamma_test_data): Likewise.
48275         (pow_test_data): Likewise.
48276         (tgamma_test_data): Likewise.
48277         (yn_test_data): Remove duplicate test of overflow.
48279         * math/libm-test.inc (struct test_cc_c_data): New type.
48280         (RUN_TEST_LOOP_cc_c): New macro.
48281         (cpow_test_data): New variable.
48282         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48284         * math/libm-test.inc (struct test_f_L_data): New type.
48285         (RUN_TEST_LOOP_f_L): New macro.
48286         (llrint_test_data): New variable.
48287         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48288         (llrint_tonearest_test_data): New variable.
48289         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48290         (llrint_towardzero_test_data): New variable.
48291         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48292         (llrint_downward_test_data): New variable.
48293         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48294         (llrint_upward_test_data): New variable.
48295         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48296         (llround_test_data): New variable.
48297         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48299 2013-05-13  Peter Collingbourne  <pcc@google.com>
48301         * math/atest-exp2.c (get_log2): Remove const attribute.
48303 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48305         * math/libm-test.inc (struct test_f_l_data): New type.
48306         (RUN_TEST_LOOP_f_l): New macro.
48307         (lrint_test_data): New variable.
48308         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48309         (lrint_tonearest_test_data): New variable.
48310         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48311         (lrint_towardzero_test_data): New variable.
48312         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48313         (lrint_downward_test_data): New variable.
48314         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48315         (lrint_upward_test_data): New variable.
48316         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48317         (lround_test_data): New variable.
48318         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48320 2013-05-15  Peter Collingbourne  <pcc@google.com>
48322         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48323         (EXTRACT_WORDS64) Use where appropriate.
48324         (INSERT_WORDS64) Likewise.
48326         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48327         constraints with x constraints.
48328         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48330         * malloc/obstack.c (_obstack_compat): Add initializer.
48332 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48334         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48335         si_trapno and add si_addr_lsb to _sifields.sigfault.
48336         (si_trapno): Remove macro.
48337         (si_addr_lsb): Define new macro.
48338         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48340 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48342         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48343         instead of TEST_f_l.
48344         (llrint_test_tonearest): Likewise.
48345         (llrint_test_towardzero): Likewise.
48346         (llrint_test_downward): Likewise.
48347         (llrint_test_upward): Likewise.
48348         (llround_test): Likewise.
48350         * math/libm-test.inc (struct test_f_i_data): Add comment.
48351         (RUN_TEST_LOOP_f_b): New macro.
48352         (RUN_TEST_LOOP_f_b_tg): Likewise.
48353         (finite_test_data): New variable.
48354         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48355         (isfinite_test_data): New variable.
48356         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48357         (isinf_test_data): New variable.
48358         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48359         (isnan_test_data): New variable.
48360         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48361         (isnormal_test_data): New variable.
48362         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48363         (issignaling_test_data): New variable.
48364         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48365         (signbit_test_data): New variable.
48366         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48368         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48369         with INVALID_EXCEPTION.
48370         (acosh_test_data): Likewise.
48371         (asin_test_data): Likewise.
48372         (atanh_test_data): Likewise.
48373         (fmod_test_data): Likewise.
48374         (log_test_data): Likewise.
48375         (log10_test_data): Likewise.
48376         (log2_test_data): Likewise.
48377         (pow_test_data): Likewise.
48378         (sqrt_test_data): Likewise.
48379         (y0_test_data): Likewise.
48380         (y1_test_data): Likewise.
48381         (yn_test_data): Likewise.
48383         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48384         function contents.
48386         * math/libm-test.inc (struct test_ff_i_data): New type.
48387         (RUN_TEST_LOOP_ff_i_tg): New macro.
48388         (isgreater_test_data): New variable.
48389         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48390         (isgreaterequal_test_data): New variable.
48391         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48392         (isless_test_data): New variable.
48393         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48394         (islessequal_test_data): New variable.
48395         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48396         (islessgreater_test_data): New variable.
48397         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48398         (isunordered_test_data): New variable.
48399         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48401 2013-05-14  David S. Miller  <davem@davemloft.net>
48403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48405 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48407         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48409         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48410         extra_test to int.
48411         (struct test_f_i_data): Change type of max_ulp to int.
48413         * math/libm-test.inc (test_ffI_f1_data): New type.
48414         (RUN_TEST_LOOP_ffI_f1): New macro.
48415         (remquo_test_data): New variable.
48416         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48418         * setjmp/tst-setjmp-fp.c: New file.
48419         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48420         (link-libm): New variable.
48421         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48423         * math/libm-test.inc (struct test_f_i_data): New type.
48424         (RUN_TEST_LOOP_f_i): New macro.
48425         (RUN_TEST_LOOP_f_i_tg): Likewise.
48426         (fpclassify_test_data): New variable.
48427         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48428         (ilogb_test_data): New variable.
48429         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48431         * math/libm-test.inc (scalbln_test): Correct function name in END
48432         call.
48434         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48435         (RUN_TEST_LOOP_fI_f1): New macro.
48436         (frexp_test_data): New variable.
48437         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48439         * math/libm-test.inc (struct test_fF_f1_data): New type.
48440         (RUN_TEST_LOOP_fF_f1): New macro.
48441         (modf_test_data): New variable.
48442         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48444         * math/libm-test.inc (struct test_f_f1_data): New type.
48445         (RUN_TEST_LOOP_f_f1): New macro.
48446         (gamma_test_data): New variable.
48447         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48448         (lgamma_test_data): New variable.
48449         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48451 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48453         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48454         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48455         (main): Comment "tls" pseudo-hwcap.
48457 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48459         * math/libm-test.inc (struct test_fl_f_data): New type.
48460         (RUN_TEST_LOOP_fl_f): New variable.
48461         (scalbln_test_data): New variable.
48462         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48464         * math/libm-test.inc (struct test_fi_f_data): New type.
48465         (RUN_TEST_LOOP_fi_f): New macro.
48466         (ldexp_test_data): New variable.
48467         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48468         (scalbn_test_data): New variable.
48469         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48471         * math/libm-test.inc (struct test_c_f_data): New type.
48472         (RUN_TEST_LOOP_c_f): New macro.
48473         (cabs_test_data): New variable.
48474         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48475         (carg_test_data): New variable.
48476         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48477         (cimag_test_data): New variable.
48478         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48479         (creal_test_data): New variable.
48480         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48482         * math/libm-test.inc (struct test_if_f_data): New type.
48483         (RUN_TEST_LOOP_if_f): New macro.
48484         (jn_test_data): New variable.
48485         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48486         (yn_test_data): New variable.
48487         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48489         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48491 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48493         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48494         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48496 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48498         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48499         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48500         (bench-deps): Add bench-timing.h.
48501         * benchtests-bench-skeleton.c: Include bench-timing.h.
48502         (main): Use TIMING_* macros instead of clock_gettime.
48503         * benchtests/bench-timing.h: New file.
48505         [BZ #14582]
48506         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48507         Renamed from _LIB_VERSION.
48508         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48510 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48512         * math/libm-test.inc (struct test_fff_f_data): New type.
48513         (RUN_TEST_LOOP_fff_f): New macro.
48514         (fma_test_data): New variable.
48515         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48516         (fma_towardzero_test_data): New variable.
48517         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48518         (fma_downward_test_data): New variable.
48519         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48520         (fma_upward_test_data): New variable.
48521         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48523         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48524         (struct test_c_c_data): New type.
48525         (RUN_TEST_LOOP_c_c): New macro.
48526         (cacos_test_data): New variable.
48527         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48528         (cacosh_test_data): New variable.
48529         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48530         (casin_test_data): New variable.
48531         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48532         (casinh_test_data): New variable.
48533         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48534         (catan_test_data): New variable.
48535         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48536         (catanh_test_data): New variable.
48537         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48538         (ccos_test_data): New variable.
48539         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48540         (ccosh_test_data): New variable.
48541         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48542         (cexp_test_data): New variable.
48543         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48544         (clog_test_data): New variable.
48545         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48546         (clog10_test_data): New variable.
48547         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48548         (conj_test_data): New variable.
48549         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48550         (cproj_test_data): New variable.
48551         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48552         (csin_test_data): New variable.
48553         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48554         (csinh_test_data): New variable.
48555         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48556         (csqrt_test_data): New variable.
48557         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48558         (ctan_test_data): New variable.
48559         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48560         (ctan_tonearest_test_data): New variable.
48561         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48562         (ctan_towardzero_test_data): New variable.
48563         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48564         (ctan_downward_test_data): New variable.
48565         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48566         (ctan_upward_test_data): New variable.
48567         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48568         (ctanh_test_data): New variable.
48569         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48570         (ctanh_tonearest_test_data): New variable.
48571         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48572         (ctanh_towardzero_test_data): New variable.
48573         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48574         (ctanh_downward_test_data): New variable.
48575         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48576         (ctanh_upward_test_data): New variable.
48577         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48578         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48579         of BUILD_COMPLEX.
48581         * math/libm-test.inc (struct test_ff_f_data): New type.
48582         (struct test_ff_f_data_nexttoward): Likewise.
48583         (RUN_TEST_LOOP_2_f): New macro.
48584         (RUN_TEST_LOOP_ff_f): Likewise.
48585         (atan2_test_data): New variable.
48586         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48587         (copysign_test_data): New variable.
48588         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48589         (fdim_test_data): New variable.
48590         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48591         (fmax_test_data): New variable.
48592         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48593         (fmin_test_data): New variable.
48594         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48595         (fmod_test_data): New variable.
48596         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48597         (hypot_test_data): New variable.
48598         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48599         (nextafter_test_data): New variable.
48600         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48601         (nexttoward_test_data): New variable.
48602         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48603         (pow_test_data): New variable.
48604         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48605         (pow_tonearest_test_data): New variable.
48606         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48607         (pow_towardzero_test_data): New variable.
48608         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48609         (pow_downward_test_data): New variable.
48610         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48611         (pow_upward_test_data): New variable.
48612         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48613         (remainder_test_data): New variable.
48614         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48615         (scalb_test_data): New variable.
48616         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48617         * sysdeps/i386/fpu/libm-test-ulps: Update.
48619 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48621         * math/libm-test.inc (fma_test): Use max_value instead of local
48622         variable fltmax.
48623         (nextafter_test): Likewise.
48625         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48626         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48627         (acos_downward_test_data): New variable.
48628         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48629         (acos_upward_test_data): New variable.
48630         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48631         (acosh_test_data): New variable.
48632         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48633         (asin_test_data): New variable.
48634         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48635         (asin_tonearest_test_data): New variable.
48636         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48637         (asin_towardzero_test_data): New variable.
48638         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48639         (asin_downward_test_data): New variable.
48640         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48641         (asin_upward_test_data): New variable.
48642         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48643         (asinh_test_data): New variable.
48644         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48645         (atan_test_data): New variable.
48646         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48647         (atanh_test_data): New variable.
48648         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48649         (cbrt_test_data): New variable.
48650         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48651         (ceil_test_data): New variable.
48652         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48653         (cos_test_data): New variable.
48654         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48655         (cos_tonearest_test_data): New variable.
48656         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48657         (cos_towardzero_test_data): New variable.
48658         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48659         (cos_downward_test_data): New variable.
48660         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48661         (cos_upward_test_data): New variable.
48662         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48663         (cosh_test_data): New variable.
48664         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48665         (cosh_tonearest_test_data): New variable.
48666         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48667         (cosh_towardzero_test_data): New variable.
48668         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48669         (cosh_downward_test_data): New variable.
48670         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48671         (cosh_upward_test_data): New variable.
48672         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48673         (erf_test_data): New variable.
48674         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48675         (erfc_test_data): New variable.
48676         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48677         (exp_test_data): New variable.
48678         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48679         (exp_tonearest_test_data): New variable.
48680         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48681         (exp_towardzero_test_data): New variable.
48682         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48683         (exp_downward_test_data): New variable.
48684         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48685         (exp_upward_test_data): New variable.
48686         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48687         (exp10_test_data): New variable.
48688         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48689         (exp2_test_data): New variable.
48690         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48691         (expm1_test_data): New variable.
48692         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48693         (fabs_test_data): New variable.
48694         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48695         (floor_test_data): New variable.
48696         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48697         (j0_test_data): New variable.
48698         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48699         (j1_test_data): New variable.
48700         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48701         (log_test_data): New variable.
48702         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48703         (log10_test_data): New variable.
48704         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48705         (log1p_test_data): New variable.
48706         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48707         (log2_test_data): New variable.
48708         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48709         (logb_test_data): New variable.
48710         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48711         (logb_downward_test_data): New variable.
48712         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48713         (nearbyint_test_data): New variable.
48714         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48715         (rint_test_data): New variable.
48716         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48717         (rint_tonearest_test_data): New variable.
48718         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48719         (rint_towardzero_test_data): New variable.
48720         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48721         (rint_downward_test_data): New variable.
48722         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48723         (rint_upward_test_data): New variable.
48724         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48725         (round_test_data): New variable.
48726         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48727         (sin_test_data): New variable.
48728         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48729         (sin_tonearest_test_data): New variable.
48730         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48731         (sin_towardzero_test_data): New variable.
48732         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48733         (sin_downward_test_data): New variable.
48734         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48735         (sin_upward_test_data): New variable.
48736         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48737         (sinh_test_data): New variable.
48738         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48739         (sinh_tonearest_test_data): New variable.
48740         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48741         (sinh_towardzero_test_data): New variable.
48742         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48743         (sinh_downward_test_data): New variable.
48744         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48745         (sinh_upward_test_data): New variable.
48746         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48747         (sqrt_test_data): New variable.
48748         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48749         (tan_test_data): New variable.
48750         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48751         (tan_tonearest_test_data): New variable.
48752         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48753         (tan_towardzero_test_data): New variable.
48754         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48755         (tan_downward_test_data): New variable.
48756         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48757         (tan_upward_test_data): New variable.
48758         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48759         (tanh_test_data): New variable.
48760         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48761         (tgamma_test_data): New variable.
48762         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48763         (trunc_test_data): New variable.
48764         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48765         (y0_test_data): New variable.
48766         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48767         (y1_test_data): New variable.
48768         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48769         (significand_test_data): New variable.
48770         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48772 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48774         [BZ #12387]
48775         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48777 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48779         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48781 2013-05-10  Andreas Jaeger  <aj@suse.de>
48783         [BZ #15448]
48784         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48785         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48787 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48789         * math/gen-libm-test.pl (adjust_arg): New function.
48790         (special_functions): Handle generating output in both functions
48791         and arrays.
48792         (parse_args): Likewise.
48793         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48794         $in_func argument to parse_args.
48795         * math/libm-test.inc (struct test_f_f_data): New type.
48796         (IF_ROUND_INIT_): New macro.
48797         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48798         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48799         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48800         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48801         (ROUND_RESTORE_): Likewise.
48802         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48803         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48804         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48805         (ROUND_RESTORE_FE_UPWARD): Likewise.
48806         (RUN_TEST_LOOP_f_f): New macro.
48807         (acos_test_data): New variable.
48808         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48809         (acos_tonearest_test_data): New variable.
48810         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48812 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         * benchtests/bench-skeleton.c (startup): Fix coding style.
48816 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48818         [BZ #6809]
48819         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48820         negative infinity argument.
48821         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48822         negative infinity argument.
48823         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48824         negative infinity argument.
48825         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48826         domain errors.
48828 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48830         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48831         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48832         * iconv/iconv_prog.c (main): Likewise.
48833         * locale/programs/charmap-dir.c (charmap_readdir)
48834         (fopen_uncompressed): Likewise.
48835         * locale/programs/locfile.c (siblings_uncached)
48836         (write_locale_data): Use lstat64 instead of lstat.
48837         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48838         stat.
48840 2013-05-10  Andreas Jaeger  <aj@suse.de>
48842         [BZ #15395]
48843         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48844         localization.
48845         Include <locale.h>.
48847 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48849         * elf/dl-close.c (_dl_close_worker): Add comments.
48851 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48853         [BZ #15359]
48854         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48855         high part of pi/2.
48856         (__ieee754_rem_pio2l): Update comments.
48858         [BZ #15429]
48859         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48860         high part of pi/2.
48861         (__ieee754_rem_pio2l): Update comments.
48863         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48864         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48866         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48867         M_PI_4l.
48869         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48870         (M_PI_34_LOG10El): Likewise.
48871         (M_PI2_LOG10El): Likewise.
48872         (M_PI4_LOG10El): Likewise.
48873         (M_PI_LOG10El): Likewise.
48875 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48879 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48881         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48882         (MINUS_ZERO_INIT): Likewise.
48883         (PLUS_INFTY_INIT): Likewise.
48884         (MINUS_INFTY_INIT): Likewise.
48885         (QNAN_VALUE_INIT): Likewise.
48886         (MAX_VALUE_INIT): Likewise.
48887         (MIN_VALUE_INIT): Likewise.
48888         (MIN_SUBNORM_VALUE_INIT): Likewise.
48889         (plus_zero): Initialize with PLUS_ZERO_INIT.
48890         (minus_zero): Initialize with MINUS_ZERO_INIT.
48891         (plus_infty): Initialize with PLUS_INFTY_INIT.
48892         (minus_infty): Initialize with MINUS_INFTY_INIT.
48893         (qnan_value): Initialize with QNAN_VALUE_INIT.
48894         (max_value): Initialize with MAX_VALUE_INIT.
48895         (min_value): Initialize with MIN_VALUE_INIT.
48896         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48898         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48899         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48900         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48901         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48903         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48904         (RUN_TEST_2_f): Likewise.
48905         (RUN_TEST_ff_f): Likewise.
48906         (RUN_TEST_fi_f): Likewise.
48907         (RUN_TEST_fl_f): Likewise.
48908         (RUN_TEST_fff_f): Likewise.
48909         (RUN_TEST_c_f): Likewise.
48910         (RUN_TEST_f_f1): Likewise.
48911         (RUN_TEST_fF_f1): Likewise.
48912         (RUN_TEST_fI_f1): Likewise.
48913         (RUN_TEST_ffI_f1): Likewise.
48914         (RUN_TEST_c_c): Likewise.
48915         (RUN_TEST_cc_c): Likewise.
48916         (RUN_TEST_f_i): Likewise.
48917         (RUN_TEST_f_i_tg): Likewise.
48918         (RUN_TEST_ff_i_tg): Likewise.
48919         (RUN_TEST_f_b): Likewise.
48920         (RUN_TEST_f_b_tg): Likewise.
48921         (RUN_TEST_f_l): Likewise.
48922         (RUN_TEST_f_L): Likewise.
48923         (RUN_TEST_sincos): Likewise.
48924         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48925         whether to show exceptions.  Do not include ");\n" in return
48926         value.
48927         (special_functions): Output call to RUN_TEST_sincos instead of
48928         check_float calls.  Update calls to new_test.
48929         (parse_args): Output call to single RUN_TEST_* macro instead of
48930         check_* calls and other assignments.  Update calls to new_test.
48932         [BZ #2546]
48933         [BZ #2560]
48934         [BZ #5159]
48935         [BZ #15426]
48936         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48937         input to result for tgamma overflow.
48938         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48939         (gamma_coeff): New variable.
48940         (NCOEFF): New macro.
48941         (gamma_positive): New function.
48942         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48943         underflow here.  Use gamma_positive instead of exp (lgamma) for
48944         other arguments.
48945         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48946         (gamma_coeff): New variable.
48947         (NCOEFF): New macro.
48948         (gammaf_positive): New function.
48949         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48950         underflow here.  Use gamma_positive instead of exp (lgamma) for
48951         other arguments.
48952         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48953         (gamma_coeff): New variable.
48954         (NCOEFF): New macro.
48955         (gammal_positive): New function.
48956         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48957         underflow here.  Use gamma_positive instead of exp (lgamma) for
48958         other arguments.
48959         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48960         (gamma_coeff): New variable.
48961         (NCOEFF): New macro.
48962         (gammal_positive): New function.
48963         (__ieee754_gammal_r): Handle positive infinity, overflow and
48964         underflow here.  Handle NaN the same as positive infinity.  Remove
48965         check x < 0xffffffff for negative integers.  Use gamma_positive
48966         instead of exp (lgamma) for other arguments.
48967         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48968         (gamma_coeff): New variable.
48969         (NCOEFF): New macro.
48970         (gammal_positive): New function.
48971         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48972         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48973         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48974         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48975         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48976         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48977         * sysdeps/generic/math_private.h (__gamma_productf): New
48978         prototype.
48979         (__gamma_product): Likewise.
48980         (__gamma_productl): Likewise.
48981         * math/Makefile (libm-calls): Add gamma_product.
48982         * math/libm-test.inc (tgamma_test): Add more tests.
48983         * sysdeps/i386/fpu/libm-test-ulps: Update.
48984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48986 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48988         * benchtests/bench-skeleton.c (main): Preheat CPU.
48990 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48992         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48994 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48996         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48997         and _dl_skip_args_internal.
48999 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49001         * manual/message.texi (Message Translation): Talk about users.
49002         Message to key mapping impacts design.
49004 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49006         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49008         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49010         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49011         * sysdeps/wordsize-64/glob64.c: ... here.
49013         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49014         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49015         New macros.
49017         * debug/getlogin_r_chk.c: Moved to ...
49018         * login/getlogin_r_chk.c: ... here.
49019         * debug/Makefile (routines): Move getlogin_r_chk to ...
49020         * login/Makefile (routines): ... here.
49021         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49022         * login/Versions (libc: GLIBC_2.4): ... here.
49024         * io/poll.c (__poll): Renamed from poll.
49025         Add libc_hidden_def.
49026         (poll): Define as weak alias.
49028         * debug/ptsname_r_chk.c: Moved to ...
49029         * login/ptsname_r_chk.c: ... here.
49030         * debug/Makefile (routines): Move ptsname_r_chk to ...
49031         * login/Makefile (routines): ... here.
49032         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49033         * login/Versions (libc: GLIBC_2.4): ... here.
49035         * posix/getlogin.c: Moved to ...
49036         * login/getlogin.c: ... here.
49037         * posix/getlogin_r.c: Moved to ...
49038         * login/getlogin_r.c: ... here.
49039         * posix/getlogin_r.c: Moved to ...
49040         * login/getlogin_r.c: ... here.
49041         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49042         * login/Makefile (routines): ... here.
49043         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49044         * login/Versions (libc: GLIBC_2.0): ... here.
49046         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49047         (setrlimit): Define as weak alias.
49049         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49050         Call __ names for open, ftruncate, and close.
49051         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49052         (truncate): Define as weak alias.
49054 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49056         * math/gen-libm-test.pl (parse_args): Initialize x before each
49057         test of frexp, modf and remquo.
49059         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49060         test signgam value.
49062 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49064         [BZ #15418]
49065         [BZ #15419]
49066         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49067         internal tests.
49068         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49070 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49072         * elf/dl-writev.h: New file.
49073         * elf/dl-misc.c: Include it.
49074         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49075         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49077 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49079         * math/libm-test.inc (noXFails): Remove variable.
49080         (noXPasses): Likewise.
49081         (BUILD_COMPLEX_INT): Remove macro.
49082         (print_screen): Remove xfail argument.
49083         (print_screen_max_error): Likewise.
49084         (update_stats): Likewise.
49085         (print_max_error): Likewise.  Update calls to other affected
49086         functions.
49087         (print_complex_max_error): Likewise.
49088         (test_single_exception): Update calls to print_screen.
49089         (test_single_errno): Likewise.
49090         (check_float_internal): Remove xfail argument.  Update calls to
49091         other affected functions.
49092         (check_float): Likewise.
49093         (check_complex): Likewise.
49094         (check_int): Likewise.
49095         (check_long): Likewise.
49096         (check_bool): Likewise.
49097         (check_longlong): Likewise.
49098         (main): Don't print noXFails and noXPasses.
49099         * math/gen-libm-test.pl (top level): Don't mention expected
49100         failure handling in comment.
49101         (new_test): Don't handle expected failures.
49102         (parse_args): Don't mention expected failure handling in comment.
49103         (generate_testfile): Don't handle expected failures.
49104         (parse_ulps): Likewise.
49105         (print_ulps_file): Likewise.
49106         (get_failure): Remove function.
49107         (output_test): Don't handle expected failures.
49108         * make/README.libm-test: Don't mention expected failure handling.
49110         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49111         (minus_zero): Likewise.
49112         (plus_infty): Likewise.
49113         (minus_infty): Likewise.
49114         (qnan_value): Likewise.
49115         (max_value): Likewise.
49116         (min_value): Likewise.
49117         (min_subnorm_value): Likewise.
49118         (initialize): Do not initialize those variables dynamically.
49120 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49122         * io/open.c (__open_2): Moved to ...
49123         * io/open_2.c: ... this new file.
49124         * io/open64.c (__open64_2): Moved to ...
49125         * io/open64_2.c: ... this new file.
49126         * io/openat.c (__openat_2): Moved to ...
49127         * io/openat_2.c: ... this new file.
49128         * io/openat64.c (__openat64_2): Moved to ...
49129         * io/openat64_2.c: ... this new file.
49130         * io/Makefile (routines): Add them.
49131         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49132         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49133         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49134         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49135         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49136         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49137         (__openat64): Add hidden_ver.
49138         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49139         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49141         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49142         Separately conditionalize setting of GLRO(dl_sysinfo) so
49143         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49144         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49146 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49148         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49149         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49150         definition.
49151         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49152         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49153         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49154         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49155         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49157 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49159         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49160         test signgam value.
49162         * math/libm-test.inc (hypot_test): Do not use
49163         IGNORE_ZERO_INF_SIGN.
49165 2013-05-03  Andreas Jaeger  <aj@suse.de>
49167         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49168         Linux 3.9.
49169         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49170         (PF_MAX): Adjust for VSOCK change.
49172 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49176 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49178         [BZ #15264]
49179         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49180         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49181         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49183 2013-05-02  David S. Miller  <davem@davemloft.net>
49185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49187 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49189         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49191 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49193         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49195 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49197         [BZ #14952]
49198         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49199         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49200         Use __attribute__ ((__gnu_inline__)).
49201         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49202         Don't use __attribute__ ((__gnu_inline__)).
49204 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49206         [BZ #15423]
49207         * math/s_catan.c (__catan): Handle small real or imaginary part of
49208         input specially to avoid spurious underflow.
49209         * math/s_catanf.c (__catanf): Likewise.
49210         * math/s_catanh.c (__catanh): Likewise.
49211         * math/s_catanhf.c (__catanhf): Likewise.
49212         * math/s_catanhl.c (__catanhl): Likewise.
49213         * math/s_catanl.c (__catanl): Likewise.
49214         * math/libm-test.inc (catan_test): Add more tests.
49215         (catanh_test): Likewise.
49216         * sysdeps/i386/fpu/libm-test-ulps: Update.
49217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49219 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49223 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49225         [BZ #15416]
49226         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49227         accurately for denominator in atan2.
49228         * math/s_catanf.c (__catanf): Likewise.
49229         * math/s_catanh.c (__catanh): Likewise.
49230         * math/s_catanhf.c (__catanhf): Likewise.
49231         * math/s_catanhl.c (__catanhl): Likewise.
49232         * math/s_catanl.c (__catanl): Likewise.
49233         * math/libm-test.inc (catan_test): Add more tests.
49234         (catanh_test): Likewise.
49235         * sysdeps/i386/fpu/libm-test-ulps: Update.
49236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49238 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49240         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49242         * benchtests/Makefile (bench): Remove slow benchmarks.
49243         * benchtests/atan-inputs: Add slow benchmark inputs.
49244         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49245         (BENCH_FUNC): Accept variant offset.
49246         (VARIANT): Define.
49247         * benchtests/bench-skeleton.c (main): Run benchmark for each
49248         variant.
49249         * benchtests/cos-inputs: Add slow benchmark inputs.
49250         * benchtests/exp-inputs: Likewise.
49251         * benchtests/pow-inputs: Likewise.
49252         * benchtests/sin-inputs: Likewise.
49253         * benchtests/slowatan-inputs: Remove.
49254         * benchtests/slowatan.c: Remove.
49255         * benchtests/slowcos-inputs: Remove.
49256         * benchtests/slowcos.c: Remove.
49257         * benchtests/slowexp-inputs: Remove.
49258         * benchtests/slowexp.c: Remove.
49259         * benchtests/slowpow-inputs: Remove.
49260         * benchtests/slowpow.c: Remove.
49261         * benchtests/slowsin-inputs: Remove.
49262         * benchtests/slowsin.c: Remove.
49263         * benchtests/slowtan-inputs: Remove.
49264         * benchtests/slowtan.c: Remove.
49265         * benchtests/tan-inputs: Add slow benchmark inputs.
49266         * scripts/bench.pl: Parse comments and directives.
49268         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49269         in CPPFLAGS.
49270         ($(objpfx)bench-%.c): Remove *-ITER.
49271         * benchtests/bench-modf.c: Remove definition of ITER.
49272         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49273         (main): Loop for DURATION seconds instead of fixed number of
49274         iterations.
49275         * scripts/bench.pl: Don't expect iterations in parameters.
49277 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49279         * io/fchdir.c (__fchdir): Renamed from fchdir.
49280         (fchdir): Define as weak alias.
49282 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49284         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49285         (ERRNO_EDOM): Likewise.
49286         (ERRNO_ERANGE): Likewise.
49287         (noErrnoTests): New variable.
49288         (init_max_error): Set errno to 0.
49289         (test_single_errno): New function.
49290         (test_errno): Likewise.
49291         (check_float_internal): Call test_errno.  Set errno to 0.
49292         (check_complex): Refer to errno tests in comment.
49293         (check_int): Call test_errno.  Set errno to 0.
49294         (check_long): Likewise.
49295         (check_bool): Likewise.
49296         (check_longlong): Likewise.
49297         (cos_test): Use ERRNO_* flags for errno tests instead of
49298         check_int.
49299         (expm1_test): Likewise.
49300         (fmod_test): Likewise.
49301         (ilogb_test): Likewise.
49302         (lgamma_test): Likewise.
49303         (pow_test): Likewise.
49304         (remainder_test): Likewise.
49305         (sin_test): Likewise.
49306         (tan_test): Likewise.
49307         (yn_test): Likewise.
49308         (initialize): Set errno to 0.
49309         (main): Print number of errno tests.
49310         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49312 2013-04-29  Andreas Jaeger  <aj@suse.de>
49314         [BZ #15084]
49315         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49316         and RES_USEVC.
49318         [BZ #15085]
49319         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49320         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49321         unimplemented.
49323         [BZ #15380]
49324         * stdlib/random.c (__initstate): Return NULL if
49325         __initstate fails.
49327         [BZ #15086]
49328         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49329         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49330         RES_SNGLKUPREOP.
49332 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49336 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49338         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49339         of individual tests.
49340         (casin_test): Likewise.
49341         (casinh_test): Likewise.
49343 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49345         [BZ #15409]
49346         * math/s_catan.c (__catan): Handle arguments with large real or
49347         imaginary part separately without squaring.
49348         * math/s_catanf.c (__catanf): Likewise.
49349         * math/s_catanh.c (__catanh): Likewise.
49350         * math/s_catanhf.c (__catanhf): Likewise.
49351         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49352         and redefine.
49353         (__catanhl): Handle arguments with large real or imaginary part
49354         separately without squaring.
49355         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49356         and redefine.
49357         (__catanl): Handle arguments with large real or imaginary part
49358         separately without squaring.
49359         * math/libm-test.inc (catan_test): Add more tests.
49360         (catanh_test): Likewise.
49361         * sysdeps/i386/fpu/libm-test-ulps: Update.
49362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49364 2013-04-27  Andreas Jaeger  <aj@suse.de>
49366         [BZ #15007]
49367         * stdlib/stdlib.h: Update guards for qecvt.
49368         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49369         <stdlib.h>.
49371 2013-04-27  Allan McRae  <allan@archlinux.org>
49373         * sysdeps/i386/fpu/libm-test-ulps: Update.
49375 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49377         [BZ #15406]
49378         * math/s_catan.c: Include <float.h>.
49379         (__catan): Ensure underflow exception occurs for underflowed
49380         result.
49381         * math/s_catanf.c: Include <float.h>.
49382         (__catanf): Ensure underflow exception occurs for underflowed
49383         result.
49384         * math/s_catanh.c: Include <float.h>.
49385         (__catanh): Ensure underflow exception occurs for underflowed
49386         result.
49387         * math/s_catanhf.c: Include <float.h>.
49388         (__catanhf): Ensure underflow exception occurs for underflowed
49389         result.
49390         * math/s_catanhl.c: Include <float.h>.
49391         (__catanhl): Ensure underflow exception occurs for underflowed
49392         result.
49393         * math/s_catanl.c: Include <float.h>.
49394         (__catanl): Ensure underflow exception occurs for underflowed
49395         result.
49396         * math/libm-test.inc (catan_test): Add more tests.
49397         (catanh_test): Likewise.
49399         [BZ #15405]
49400         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49401         underflowed result.
49402         * math/s_ccoshf.c (__ccoshf): Likewise.
49403         * math/s_ccoshl.c (__ccoshl): Likewise.
49404         * math/s_csin.c (__csin): Likewise.
49405         * math/s_csinf.c (__csinf): Likewise.
49406         * math/s_csinh.c (__csinh): Likewise.
49407         * math/s_csinhf.c (__csinhf): Likewise.
49408         * math/s_csinhl.c (__csinhl): Likewise.
49409         * math/s_csinl.c (__csinl): Likewise.
49410         * math/libm-test.inc (ccos_test): Add more tests.
49411         (ccosh_test): Likewise.
49412         (csin_test): Likewise.
49413         (csinh_test): Likewise.
49415 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49417         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49418         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49419         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49420         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49421         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49422         powerpc/power5+/fpu folders.
49423         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49426 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49430 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49432         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49433         additions to variable.
49434         [$(config-machine) = x86_64] (modules-names): Likewise.
49435         ($(objpfx)tst-audit3): Remove dependency.
49436         ($(objpfx)tst-audit3.out): Likewise.
49437         ($(objpfx)tst-audit4): Likewise.
49438         ($(objpfx)tst-audit4.out): Likewise.
49439         ($(objpfx)tst-audit5): Likewise.
49440         ($(objpfx)tst-audit5.out): Likewise.
49441         ($(objpfx)tst-audit6): Likewise.
49442         ($(objpfx)tst-audit6.out): Likewise.
49443         ($(objpfx)tst-audit7): Likewise.
49444         ($(objpfx)tst-audit7.out): Likewise.
49445         (tst-audit3-ENV): Remove variable.
49446         (tst-audit4-ENV): Likewise.
49447         (tst-audit5-ENV): Likewise.
49448         (tst-audit6-ENV): Likewise.
49449         (tst-audit7-ENV): Likewise.
49450         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49451         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49452         addition to variable.
49453         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49454         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49455         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49456         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49457         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49458         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49459         tst-audit3, tst-audit4 and tst-audit5.
49460         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49461         tst-audit6 and tst-audit7.
49462         [$(subdir) = elf] (modules-names): Add audit modules for those
49463         tests.
49464         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49465         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49466         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49467         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49468         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49469         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49470         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49471         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49472         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49473         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49474         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49475         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49476         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49477         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49478         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49479         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49480         Likewise.
49481         [$(subdir) = elf && $(config-cflags-avx) = yes]
49482         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49483         [$(subdir) = elf && $(config-cflags-avx) = yes]
49484         (CFLAGS-tst-auditmod4a.c): Likewise.
49485         [$(subdir) = elf && $(config-cflags-avx) = yes]
49486         (CFLAGS-tst-auditmod4b.c): Likewise.
49487         [$(subdir) = elf && $(config-cflags-avx) = yes]
49488         (CFLAGS-tst-auditmod6b.c): Likewise.
49489         [$(subdir) = elf && $(config-cflags-avx) = yes]
49490         (CFLAGS-tst-auditmod6c.c): Likewise.
49491         [$(subdir) = elf && $(config-cflags-avx) = yes]
49492         (CFLAGS-tst-auditmod7b.c): Likewise.
49493         * elf/tst-audit3.c: Move to ...
49494         * sysdeps/x86_64/tst-audit3.c: ... here.
49495         * elf/tst-audit4.c: Move to ...
49496         * sysdeps/x86_64/tst-audit4.c: ... here.
49497         * elf/tst-audit5.c: Move to ...
49498         * sysdeps/x86_64/tst-audit5.c: ... here.
49499         * elf/tst-audit6.c: Move to ...
49500         * sysdeps/x86_64/tst-audit6.c: ... here.
49501         * elf/tst-audit7.c: Move to ...
49502         * sysdeps/x86_64/tst-audit7.c: ... here.
49503         * elf/tst-auditmod3a.c: Move to ...
49504         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49505         * elf/tst-auditmod3b.c: Move to ...
49506         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49507         * elf/tst-auditmod4a.c: Move to ...
49508         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49509         * elf/tst-auditmod4b.c: Move to ...
49510         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49511         * elf/tst-auditmod5a.c: Move to ...
49512         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49513         * elf/tst-auditmod5b.c: Move to ...
49514         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49515         * elf/tst-auditmod6a.c: Move to ...
49516         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49517         * elf/tst-auditmod6b.c: Move to ...
49518         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49519         * elf/tst-auditmod6c.c: Move to ...
49520         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49521         * elf/tst-auditmod7a.c: Move to ...
49522         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49523         * elf/tst-auditmod7b.c: Move to ...
49524         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49526 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49528         [BZ #15366]
49529         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49530         define unconditionally.
49531         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49532         define unconditionally.
49533         (INT8_C, INT16_C, etc.): Likewise.
49535 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49537         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49538         __ehdr_start with hidden visibility.
49540         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49542 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49544         * math/libm-test.inc (cos_test): Use accurate hex constants.
49545         (sincost_test): Likewise.
49547 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49549         * math/libm-test.inc (catan_test): Add more tests.
49550         (catanh_test): Likewise.
49552         * math/s_catanf.c (__catanf): Use suffixed floating-point
49553         constants.
49554         * math/s_catanhf.c (__catanhf): Likewise.
49555         * math/s_catanhl.c (__catanhl): Likewise.
49556         * math/s_catanl.c (__catanl): Likewise.
49558         [BZ #15394]
49559         * math/s_catan.c (__catan): Calculate imaginary part of result
49560         with log1p not log unless computing log of number close to 0.
49561         * math/s_catanf.c (__catanf): Likewise.
49562         * math/s_catanl.c (__catanl): Likewise.
49563         * math/s_catanh.c (__catanh): Calculate real part of result with
49564         log1p not log unless computing log of number close to 0.
49565         * math/s_catanhf.c (__catanhf): Likewise.
49566         * math/s_catanhl.c (__catanhl): Likewise.
49567         * math/libm-test.inc (catan_test): Add more tests.
49568         (catanh_test): Likewise.
49569         * sysdeps/i386/fpu/libm-test-ulps: Update.
49570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49572 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49574         * benchtests/Makefile: Mention files in which fast and slow
49575         paths of math functions are implemented.
49577 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49579         * sysdeps/posix/timespec_get.c: New file.
49581 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49583         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49584         POWER.
49585         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49586         for POWER.
49587         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49588         powerpc/power5/fpu folders.
49589         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49590         * benchtests/Makefile: Add modf testcase.
49591         * benchtests/bench-modf.c: New file: Benchmark test for mo
49593 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49595         [BZ #14888]
49596         * time/Makefile (tests): Add tst-strptime-whitespace.
49597         * time/strptime_l.c (get_number): Use ISSPACE.
49598         (__strptime_internal): Likewise.
49599         * time/tst-strptime-whitespace.c: New test case.
49601 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49603         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49604         member.
49605         (_nss_files_init): Set it here.
49607 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49609         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49610         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49611         unsigned.
49613 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49615         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49617 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49619         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49620         size just once.
49622 2013-04-21  David S. Miller  <davem@davemloft.net>
49624         * po/ru.po: Update Russion translation from translation project.
49626 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49628         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49629         and setfsgid.
49631 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49633         * configure.in: Remove i386 configure warning. Remove i386 case.
49634         * configure: Regenerate.
49635         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49636         Add example to error message.
49637         * sysdeps/i386/configure: Regenerate.
49639 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49641         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49642         slowtan.
49643         * benchtests/cos-inputs: New file.
49644         * benchtests/slowcos-inputs: New file.
49645         * benchtests/slowcos.c: New file.
49646         * benchtests/slowtan-inputs: New file.
49647         * benchtests/slowtan.c: New file.
49648         * benchtests/tan-inputs: New file.
49650 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49652         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49653         considered kosher.
49655 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49657         * benchtests/Makefile: Include cppflags-iterator.mk to add
49658         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49660         * Makefile.in (bench-clean): New target.
49661         * benchtests/Makefile (bench-clean): Likewise.
49663 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49665         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49667 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49669         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49671 2013-04-15  Andreas Schwab  <schwab@suse.de>
49673         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49674         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49675         * nscd/pwdcache.c (cache_addpw): Likewise.
49676         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49677         more than recsize.
49679 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49681         * benchtests/Makefile (bench): Write all output to
49682         bench-out.tmp together.
49684 2013-04-15  Andreas Schwab  <schwab@suse.de>
49686         * nscd/nscd.c (main): Don't fork again after closing files.
49688 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49690         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49692         * benchtests/Rules (bench-deps): Collect dependencies into a
49693         single variable.  Add Makefile to dependencies.
49694         ($(objpfx)bench-%.c): Depend on bench-deps.
49696 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49697             Xavier Roche  <roche+kml2@exalead.com>
49699         [BZ #15361]
49700         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49701         just that it's a file descriptor.
49702         * manual/llio.texi (Synchronizing AIO Operations): Update description
49703         for EBADF error from aio_fsync.
49705 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49707         * Rules (bench): Move target definition...
49708         * benchtests/Makefile: ... here.
49710 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49712         * math/libm-test.inc (cos_test): Fix PI/2 test.
49713         (sincos_test): Likewise.
49714         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49715         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49717 2013-04-11  Andreas Schwab  <schwab@suse.de>
49719         [BZ #13988]
49720         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49721         accept exponent character only when digits were seen.
49722         * stdio-common/Makefile (tests): Add bug26.
49723         * stdio-common/bug26.c: New file.
49725         [BZ #14293]
49726         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49727         non-freeable.
49729 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49731         * Makeconfig (rtld-prefix): Define built linker prefix.
49732         * Rules (run-bench): Use it.
49733         * math/Makefile (run-regen-ulps): Likewise.
49735         * Rules (bench): Remove eval.
49737 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49738             Roland McGrath  <roland@hack.frob.com>
49739             Ondrej Bilka  <neleai@seznam.cz>
49741         [BZ #15346]
49742         * time/getdate.c: Include ctype.h and alloca.h.
49743         (__getdate_r): Trim leading and trailing spaces of input.
49744         * time/tst-getdate.c (tests): Add tests with leading and
49745         trailing spaces.
49747 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49749         [BZ #14280]
49750         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49751         when computing value.
49753 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49755         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49756         Use testrun.sh to run libm tests.
49758         [BZ #15309]
49759         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49761 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49763         [BZ #15264]
49764         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49766 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49768         * Makefile.in (regen-ulps): New target.
49769         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49770         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49771         [ifneq (no,$(PERL)] (regen-ulps): New target.
49772         [ifeq (no,$(PERL)] (regen-ulps): New target.
49773         * math/libm-test.inc (ulps_file_name): Define.
49774         (output_dir): New variable.
49775         (options): Add "output-dir" option.
49776         (parse_opt): Handle 'o' case.
49777         (main): If output_dir is non-NULL use it as a prefix
49778         otherwise use "".
49779         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49781 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49783         [BZ #10060, #10062]
49784         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49785         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49786         fail configure if __sync_val_compare_and_swap is not inlined.
49787         * sysdeps/i386/configure: Regenerate.
49788         * configure.in: Build for i686 when configured for i386.
49789         * configure: Regenerate.
49790         * README: Remove i386 reference.
49792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49794         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49795         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49797 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49799         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49800         (lmsnanval): New variables.
49801         (F): Add conversion tests.
49802         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49803         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49805         * stdio-common/tstdiomisc.c (F): Properly collect individual
49806         tests' results.
49808         [BZ #14686, #15336]
49809         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49810         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49811         Instead, use input NaN values or generate a qNaN by arithmetic
49812         operation.  Also fix bugs to comply with the standard.
49813         * math/libm-test.inc (remainder_test): Add more tests.
49815         [BZ #15335, #15342]
49816         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49818         input NaN values or generate a qNaN by arithmetic operation.
49820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49821         unreachable code.
49823         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49824         definitions.
49826 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49828         [BZ #14478]
49829         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49830         underflowed result.
49831         * math/s_cexpf.c (__cexpf): Likewise.
49832         * math/s_cexpl.c (__cexpl): Likewise.
49833         * math/libm-test.inc (cexp_test): Add more tests.
49835 2013-04-03  Andreas Schwab  <schwab@suse.de>
49837         [BZ #15330]
49838         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49839         order arrays from heap if bigger than alloca cutoff.
49841 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49843         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49844         (SNAN_TESTS_double): Refer to GCC PR56831.
49845         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49846         GCC PR56828.
49848 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49850         * Rules (bench): Move bench.out after the run is complete.
49852         * Rules (bench): Echo currently running benchmark.
49854         * benchtests/Makefile (bench): Add atan and slowatan.
49855         * benchtests/atan-inputs: New file.
49856         * benchtests/slowatan-inputs: New file.
49857         * benchtests/slowatan.c: New file.
49859         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49860         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49861         its value.
49863         [BZ #15305]
49864         * sysdeps/unix/sysv/linux/kernel-features.h
49865         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49866         __ASSUME_XFS_RESTRICTED_CHOWN.
49867         * sysdeps/unix/sysv/linux/pathconf.c
49868         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49869         Save and restore errno.
49871 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49873         [BZ #15327]
49874         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49875         arguments using __kernel_casinh.
49876         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49877         arguments using __kernel_casinhf.
49878         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49879         arguments using __kernel_casinhl.
49880         * math/libm-test.inc (cacosh_test): Add more tests.
49881         * sysdeps/i386/fpu/libm-test-ulps: Update.
49882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49884 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49886         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49889         * bench/Makefile (bench): Add sin and slowsin.
49890         * benchtests/sin-inputs: New file.
49891         * benchtests/slowsin-inputs: New file.
49892         * benchtests/slowsin.c: New file.
49894         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49895         (bench): Add slowexp and slowpow.
49896         (exp-ITER): Increase iterations.
49897         (pow-ITER): Likewise.
49898         * benchtests/exp-inputs: Change input.
49899         * benchtests/pow-inputs: Likewise.
49900         * benchtests/slowexp-inputs: New file.
49901         * benchtests/slowexp.c: New file.
49902         * benchtests/slowpow-inputs: New file.
49903         * benchtests/slowpow.c: New file.
49905 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49907         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49908         instructions.
49909         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49910         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49911         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49912         * benchtests/Makefile: Add rint benchtest.
49913         * benchtests/rint-inputs: Input for rint benchtest.
49915 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49917         * Versions.def (libm): Add GLIBC_2.18.
49918         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49919         hidden libm prototypes.
49920         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49921         * math/Makefile (libm-calls): Add s_issignaling.
49922         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49923         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49924         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49925         declaration.
49926         * math/math.h [__USE_GNU] (issignaling): New macro.
49927         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49928         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49929         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49930         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49931         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49932         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49933         * manual/arith.texi (issignaling): New section.
49934         * manual/libm-err-tab.pl (@all_functions): Update comment.
49935         * math/gen-libm-test.pl (parse_args): Apply special handling for
49936         issignaling.
49937         * math/libm-test.inc (print_float, issignaling_test): New
49938         functions.
49939         (check_float_internal): Add issignaling checks.
49940         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49941         default definition.
49942         * sysdeps/powerpc/math-tests.h: New file.
49943         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49944         tests.
49945         * math/test-snan.c (TEST_FUNC): Likewise.
49947 2013-03-30  David S. Miller  <davem@davemloft.net>
49949         * po/de.po: Update from translation team.
49951 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49953         [BZ #10357]
49954         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49955         imaginary part less than 1.0 and real part less than 0.5
49956         specially.
49957         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49958         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49959         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49960         (cacos_test): Add more tests.
49961         (casin_test): Likewise.
49962         (casinh_test): Likewise.
49963         * sysdeps/i386/fpu/libm-test-ulps: Update.
49964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49966 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49968         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49969         ONE with its value.
49971         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49972         (__pow_mp): Replace ONE and MONE with their values.
49973         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49975         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49976         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49977         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49978         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49980         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49982         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49983         (__pow_mp): Replace ZERO and MZERO with their values.
49984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49985         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49988         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49989         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49990         (__sqr): Likewise.
49992         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49994         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49996 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49998         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49999         Declare with __attribute__ ((weak)).
50000         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50001         Call __call_tls_dtors only if it's not NULL.
50003 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50005         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50006         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50007         magic __ehdr_start linker symbol if it's defined.
50008         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50009         them up here if it was already done.
50011         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50012         (_dl_aux_init): Use const in cast when setting it.
50013         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50014         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50015         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50017         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50018         Declare them here.
50019         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50020         * csu/libc-tls.c: Nor here.
50021         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50023         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50024         (__libc_message): Never call vsyslog.
50026 2013-03-28  Alan Modra  <amodra@gmail.com>
50028         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50029         Define as empty.
50030         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50031         Likewise.
50033 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50035         [BZ #15214]
50036         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50037         underflow.
50038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50040 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50042         [BZ #15304]
50043         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50044         Don't add gid passed as argument.
50046         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50048 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50050         [BZ #15307]
50051         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50052         imaginary part between 1.0 and 1.5 and real part less than 0.5
50053         specially.
50054         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50055         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50056         * math/libm-test.inc (cacos_test): Add more tests.
50057         (casin_test): Likewise.
50058         (casinh_test): Likewise.
50059         * sysdeps/i386/fpu/libm-test-ulps: Update.
50060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50062 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50064         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50065         constants.
50066         (norm): Likewise.
50067         (denorm): Likewise.
50068         (__dbl_mp): Likewise.
50069         (add_magnitudes): Likewise.
50070         (sub_magnitudes): Likewise.
50071         (__add): Likewise.
50072         (__sub): Likewise.
50073         (__mul): Likewise.
50074         (__sqr): Likewise.
50075         (__inv): Likewise.
50076         (__dvd): Likewise.
50078         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50079         commented code.
50080         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50081         (__dubcos): Likewise.
50082         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50083         (__ieee754_acos): Likewise.
50084         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50085         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50086         (__exp1): Likewise.
50087         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50089         (log1): Likewise.
50090         (my_log2): Likewise.
50091         (checkint): Likewise.
50092         * sysdeps/ieee754/dbl-64/e_remainder.c
50093         (__ieee754_remainder): Likewise.
50094         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50095         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50096         (bsloww): Likewise.
50097         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50099         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50100         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50101         MANTISSA_STORE_T to store computations on mantissa.  Use
50102         macros for rounding and division.
50103         (denorm): Likewise.
50104         (__dbl_mp): Likewise.
50105         (add_magnitudes): Likewise.
50106         (sub_magnitudes): Likewise.
50107         (__mul): Likewise.
50108         (__sqr): Likewise.
50109         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50110         powers of two in terms of TWOPOW macro.
50111         (mp_no): Make type of mantissa as MANTISSA_T.
50112         [!RADIXI]: Define RADIXI.
50113         [!TWO52]: Define TWO52.
50114         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50116 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50118         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50119         llroundl symbol when building for PPC32.
50121 2013-03-24  Mark H Weaver  <mhw@netris.org>
50123         * manual/arith.texi (Normalization Functions): Fix prototypes for
50124         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50126 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50128         [BZ #13889]
50129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50130         high value to check if expl overflow.
50131         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50132         to check for underflow and overflow.
50133         * math/libm-test.inc: Add exp test.
50135 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50137         [BZ #11120]
50138         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50139         with NOT_IN_libc.
50141 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50143         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50144         symbol.
50146 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50148         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50149         wrap blocks consisting of several statements.
50151         * sysdeps/generic/math-tests.h: New file.
50152         * sysdeps/i386/fpu/math-tests.h: Likewise.
50153         * math/test-snan.c: Include it.
50154         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50156 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50158         [BZ #15285]
50159         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50160         (__ieee754_j0l): Do not improve calculations using cos of twice
50161         input for inputs above LDBL_MAX / 2.0L.
50162         (__ieee754_y0l): Likewise.
50163         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50164         (__ieee754_j1l): Do not improve calculations using cos of twice
50165         input for inputs above LDBL_MAX / 2.0L.
50166         (__ieee754_y1l): Likewise.
50167         * math/libm-test.inc (j0_test): Add another test.
50168         (j1_test): Likewise.
50169         (y0_test): Likewise.
50170         (y1_test): Likewise.
50171         * sysdeps/i386/fpu/libm-test-ulps: Update.
50173 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         * Rules ($(objpfx)bench-%.c): Include code from a C source
50176         file.
50178 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50180         [BZ #15287]
50181         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50182         imaginary part 1.0 and real part less than 0.5 specially.
50183         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50184         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50185         * math/libm-test.inc (cacos_test): Add more tests.
50186         (casin_test): Likewise.
50187         (casinh_test): Likewise.
50188         * sysdeps/i386/fpu/libm-test-ulps: Update.
50189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50191 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50193         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50194         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50196 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50198         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50199         * config.make.in (config-cflags-sse4): Remove variable.
50200         (config-cflags-avx): Likewise.
50201         (config-cflags-sse2avx): Likewise.
50202         (config-cflags-novzeroupper): Likewise.
50203         (config-asflags-i686): Likewise.
50204         (have-mfma4): Likewise.
50205         (have-as-vis3): Likewise.
50206         (MIG): Likewise.
50207         * configure.in (MIG): Do not AC_SUBST.
50208         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50209         (libc_cv_cc_sse4): Do not AC_SUBST.
50210         (libc_cv_cc_avx): Likewise.
50211         (libc_cv_cc_sse2avx): Likewise.
50212         (libc_cv_cc_novzeroupper): Likewise.
50213         (libc_cv_cc_fma4): Likewise.
50214         (libc_cv_as_i686): Likewise.
50215         (libc_cv_sparc_as_vis3): Likewise.
50216         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50217         LIBC_CONFIG_VAR.
50218         (config-asflags-i686): Likewise.
50219         (config-cflags-avx): Likewise.
50220         (config-cflags-sse2avx): Likewise.
50221         (have-mfma4): Likewise.
50222         (config-cflags-novzeroupper): Likewise.
50223         * sysdeps/mach/configure.in (MIG): Likewise.
50224         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50225         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50226         LIBC_CONFIG_VAR.
50227         (config-cflags-avx): Likewise.
50228         (config-cflags-sse2avx): Likewise.
50229         (have-mfma4): Likewise.
50230         (config-cflags-novzeroupper): Likewise.
50231         * configure: Regenerated.
50232         * sysdeps/i386/configure: Likewise.
50233         * sysdeps/mach/configure: Likewise.
50234         * sysdeps/sparc/configure: Likewise.
50235         * sysdeps/x86_64/configure: Likewise.
50237 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50239         [BZ #14812]
50240         * locale/programs/localedef.c (options): Put N_ translation marker
50241         on argument names, not just descriptions.
50243 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50245         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50247 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50249         [BZ #14176]
50250         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50252 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50254         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50255         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50256         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50257         [!BEFORE_ABORT] (before_abort): New function.
50258         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50259         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50260         (writev_for_fatal): New function.
50261         (WRITEV_FOR_FATAL): New macro; call that.
50262         (backtrace_and_maps): New function.
50263         (BEFORE_ABORT): New macro; call that.
50264         (struct str_list): Type removed.
50265         (__libc_message, __libc_fatal): Functions removed.
50266         Include <sysdeps/posix/libc_fatal.c> instead.
50268 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50270         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50271         constants.
50272         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50273         double constants.
50275 2013-03-19  Andreas Schwab  <schwab@suse.de>
50277         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50278         * sysdeps/gnu/configure: Regenerate.
50280         * configure.in: Substitute libc_cv_rtlddir.
50281         * configure: Regenerate.
50282         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50283         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50284         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50285         * elf/Makefile (install-others, CFLAGS-interp.c)
50286         (ldso_install, common-ldd-rewrite): Likewise.
50287         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50288         $(inst_slibdir)/$(rtld-installed-name).
50289         * scripts/rellns-sh: Add -p option.
50290         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50291         for source.
50293 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50295         * manual/nptl.texi: Renamed to ...
50296         * manual/threads.texi: ... this.
50297         * manual/Makefile (chapters): Update.
50299 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50301         [BZ #14812]
50302         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50303         on argument names, not just descriptions.
50304         * malloc/memusagestat.c (options): Likewise.
50305         * nss/getent.c (options): Likewise.
50307 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50309         [BZ #14812]
50310         * iconv/iconv_prog.c (options): Put N_ translation marker
50311         on argument names, not just descriptions.
50312         * iconv/iconvconfig.c (options): Likewise.
50314 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50316         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50317         implementation which is faster on all x86_64 architectures.
50318         Tested on AMD, Intel Nehalem, SNB, IVB.
50319         * sysdeps/x86_64/strnlen.S: Likewise.
50321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50322         Remove all multiarch strlen and strnlen versions.
50323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50324         Remove strlen and strnlen related parts.
50326         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50327         Inline strlen part.
50328         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50330         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50331         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50332         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50333         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50334         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50335         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50337 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50339         * manual/memory.texi (Malloc Tunable Parameters):
50340         Sort parameters alphabetically. Add comments for missing entries.
50342 2013-03-17  David S. Miller  <davem@davemloft.net>
50344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50346 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50348         [BZ #15283]
50349         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50350         for arguments at most half maximum finite value.
50351         * math/libm-test.inc (j0_test): Add more tests.
50352         (j1_test): Likewise.
50353         (y0_test): Likewise.
50354         (y1_test): Likewise.
50355         * sysdeps/i386/fpu/libm-test-ulps: Update.
50356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50358         [BZ #14155]
50359         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50360         1 / x and functions P and Q for arguments above 0x1p256L.
50361         (__ieee754_y0l): Likewise.
50362         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50363         (__ieee754_y1l): Likewise.
50364         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50365         (j1_test): Likewise.
50366         (y0_test): Likewise.
50367         (y1_test): Likewise.
50369 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50371         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50372         variable.
50374 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50376         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50377         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50378         zero since it's initialized to EXEC_PAGESIZE.
50380         * sysdeps/unix/sysv/linux/ldsodefs.h
50381         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50382         * sysdeps/generic/ldsodefs.h: ... here.
50384 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50386         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50388         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50389         math/test-snan.c.
50390         * math/test-snan.c: Renamed from
50391         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50392         * math/Makefile (tests): Add test-snan.
50393         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50394         test-powerpc-snan.
50396         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50397         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50398         functions.
50399         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50400         __builtin_nan family of functions.
50401         * math/libm-test.inc (initialize): Initialize qnan_value with
50402         __builtin_nan family of functions.
50403         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50404         Remove variables.
50405         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50406         Remove functions.
50407         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50408         storage class.  Initialize qNaN_var and sNaN_var with
50409         __builtin_nan and __builtin_nans families of functions,
50410         respectively.
50412         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50413         (sqrt_test): Remove duplicate test with qNaN input.
50414         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50415         (round_test, signbit_test, significand_test): Note missing +/-Inf
50416         as well as qNaN tests.
50418         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50419         qNaN_var.  Fix a few strings, too.
50420         * math/libm-test.inc (nan_value): Rename to qnan_value.
50421         * math/gen-libm-test.pl (%beautify): Adjust to that.
50422         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50423         * math/test-misc.c (main): Likewise.
50424         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50425         to __qnan_bytes, and __qnan_union, respectively.
50426         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50427         Likewise.
50428         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50429         and lqnanval, respectively.
50430         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50431         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50433         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50435         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50436         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50437         doubles.
50439         * math/test-misc.c (main): Fix copy'n'pastos.
50440         * misc/tst-efgcvt.c (special): Likewise.
50442         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50443         Remove declarations.
50445 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50447         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50448         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50449         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50450         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50452 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50454         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50455         macro to return vdso values correctly in IFUNC implementations.
50456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50457         Optimization by using IFUNC.
50459 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50460             Richard Henderson  <rth@redhat.com>
50461             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50463         * Makefile.in (bench): New target.
50464         * NEWS: Mention the benchmark framework.
50465         * Rules (bench): Likewise.
50466         (binaries-bench): Generate binaries for functions to
50467         benchmark.
50468         * benchtests/Makefile: New makefile for benchmark tests.
50469         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50470         programs.
50471         * benchtests/exp-inputs: New input file for EXP function.
50472         * benchtests/pow-inputs: New input file for POW function.
50473         * scripts/bench.pl: New script to generate source files for
50474         benchmark programs.
50476 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50478         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50479         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50480         computations on mantissa.  Use macros for rounding and
50481         division.
50482         (denorm): Likewise.
50483         (__dbl_mp): Likewise.
50484         (add_magnitudes): Likewise.
50485         (sub_magnitudes): Likewise.
50486         (__mul): Likewise.
50487         (__sqr): Likewise.
50488         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50489         powers of two in terms of TWOPOW macro.
50490         (mp_no): Make type of mantissa as MANTISSA_T.
50491         [!RADIXI]: Define RADIXI.
50492         [!TWO52]: Define TWO52.
50493         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50495         * manual/nptl.texi (cindex): Modify threads to pthreads.
50497 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50499         * sysdeps/x86_64/preconfigure: Regenerated.
50501 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50503         [BZ #14155]
50504         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50505         0x1p28 and above.
50506         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50507         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50508         0x1p28 and above.
50509         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50510         * math/libm-test.inc (j0_test): Do not allow one spurious
50511         underflow exception.
50512         (y1_test): Likewise.
50514 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50516         * manual/Makefile (chapters): Add nptl.
50517         * manual/debug.texi (Debugging Support): Add link to Threads
50518         chapter.
50519         * manual/nptl.texi: New file.
50521         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50523 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50525         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50526         for non-NULL pointer before the memory validity test. Pointed
50527         out by Holger Brunck <holger.brunck@keymile.com>.
50529 2013-03-13  Andreas Schwab  <schwab@suse.de>
50531         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50532         instead of .os.
50534 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50536         * timezone/zic.c: Update from tzcode 2013b.
50538 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50540         * manual/install.texi (Configuring and compiling):
50541         Mention i686 and i586.
50542         * INSTALL: Regenerate.
50544 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50546         * sysdeps/init_array/elf-init.c: New file.
50547         * csu/elf-init.c
50548         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50549         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50551         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50552         __gmon_start__ as global, but as static with a .preinit_array pointer.
50553         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50554         * sysdeps/init_array/crti.S: New file, empty except for comments.
50555         * sysdeps/init_array/crtn.S: Likewise.
50557 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50559         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50560         definining bcopy.
50561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50562         Remove Prefer_SSE_for_memop.
50563         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50564         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50565         HAS_PREFER_SSE_FOR_MEMOP.
50566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50567         memset-x86-64.
50568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50569         Remove bzero, memset ifunc support.
50570         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50571         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50572         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50573         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50575 2013-03-11  Andreas Schwab  <schwab@suse.de>
50577         [BZ #15234]
50578         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50579         by SHLIB_COMPAT.
50580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50581         (GLIBC_2.16): Remove pthread_atfork.
50583 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50585         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50586         (ptestcases.h): Likewise.
50588 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50590         * Makeconfig ($(common-objpfx)config.status): Depend on
50591         sysdeps/*/preconfigure{,.in} too.
50593 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50595         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50596         (__free_hook): Use void * instead of __malloc_ptr_t.
50597         (__malloc_hook): Likewise.
50598         (__realloc_hook): Likewise.
50599         (__memalign_hook): Likewise.
50600         (__after_morecore_hook): Likewise.
50601         * malloc/arena.c (save_malloc_hook): Likewise.
50602         (save_free_hook): Likewise.
50603         * malloc/hooks.c (malloc_hook_ini): Likewise.
50604         (realloc_hook_ini): Likewise.
50605         (memalign_hook_ini): Likewise.
50606         * malloc/malloc.c (malloc_hook_ini): Likewise.
50607         (realloc_hook_ini): Likewise.
50608         (memalign_hook_ini): Likewise.
50609         (__free_hook): Likewise.
50610         (__malloc_hook): Likewise.
50611         (__realloc_hook): Likewise.
50612         (__memalign_hook): Likewise.
50613         (__libc_malloc): Likewise.
50614         (__libc_free): Likewise.
50615         (__libc_realloc): Likewise.
50616         (__libc_memalign): Likewise.
50617         (__libc_valloc): Likewise.
50618         (__libc_pvalloc): Likewise.
50619         (__libc_calloc): Likewise.
50620         (__posix_memalign): Likewise.
50621         * malloc/morecore.c (__sbrk): Likewise.
50622         (__default_morecore): Likewise.
50624         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50626         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50627         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50628         __malloc_ptrdiff_t.
50630         * malloc/malloc.h (__malloc_size_t): Remove macro.
50631         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50632         __malloc_size_t.
50633         (old_memalign_hook): Likewise.
50634         (old_realloc_hook): Likewise.
50635         (struct hdr): Likewise.
50636         (flood): Likewise.
50637         (mallochook): Likewise.
50638         (memalignhook): Likewise.
50639         (reallochook): Likewise.
50640         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50641         (tr_old_realloc_hook): Likewise.
50642         (tr_old_memalign_hook): Likewise.
50643         (tr_mallochook): Likewise.
50644         (tr_reallochook): Likewise.
50645         (tr_memalignhook): Likewise.
50647 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50650         default_ldbl_pack and using as default implementation.
50651         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50652         implementation.
50653         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50654         redundant definition.
50655         (ldbl_insert_mantissa): Likewise.
50656         (ldbl_canonicalize): Likewise.
50657         (ldbl_nearbyint): Likewise.
50658         (ldbl_pack): Rename to ldbl_pack_ppc.
50659         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50660         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50661         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50663 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50666         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50667         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50668         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50670         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50671         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50672         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50674 2013-03-07  Andreas Jaeger  <aj@suse.de>
50676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50677         bits/mman-linux.h.
50679 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50681         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50682         Include mpa.h and declare __MPEXP.
50683         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50684         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50685         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50686         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50687         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50688         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50689         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50691         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50692         (__slowpow): Use long double EXPL and LOGL functions to
50693         compute POW.
50694         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50695         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50696         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50697         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50698         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50699         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50702         intermediate variable to calculate exponent.
50703         (__sqr): Likewise.
50704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50705         Likewise.
50706         (__sqr): Likewise.
50708         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50709         [!NO__SQR]: Define __sqr.
50710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50711         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50712         sysdeps/ieee754/dbl-64/mpa.c.
50713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50715         [BZ #12723]
50716         * posix/Makefile (tests): Add tst-pathconf.
50717         * posix/tst-pathconf.c: New test case.
50718         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50719         _PC_PIPE_BUF.
50720         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50722 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50724         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50726 2013-03-06  Andreas Jaeger  <aj@suse.de>
50728         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50729         definition via __MAP_ANONYMOUS.
50731         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50732         it's not part of Linux headers.
50734         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50735         (MAP_HUGE_MASK): Define.
50737         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50738         Define.
50739         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50741         Define.
50742         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50743         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50744         Define.
50745         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50746         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50747         Define.
50748         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50750         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50751         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50752         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50753         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50754         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50755         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50757         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50758         Handle f2fs.
50760         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50761         Handle f2fs and efivarfs.
50763         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50764         f2fs.
50766         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50767         (EFIVARFS_MAGIC): Add.
50768         (F2FS_LINK_MAX): Add.
50770 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50772         * stdio-common/vfprintf.c: Replace __builtin_expect with
50773         __glibc_unlikely.
50775 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50777         [BZ #13550]
50778         * sysdeps/generic/bp-sym.h: Remove file.
50779         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50780         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50781         <bp-sym.h> and <bp-asm.h>.
50782         (__longjmp): Don't use BP_SYM.
50783         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50784         and <bp-asm.h>.
50785         (memcpy): Don't use BP_SYM.
50786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50787         <bp-sym.h> and <bp-asm.h>.
50788         (memcpy): Don't use BP_SYM.
50789         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50790         <bp-asm.h>.
50791         (memcpy): Don't use BP_SYM.
50792         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50793         <bp-asm.h>.
50794         (memset): Don't use BP_SYM.
50795         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50796         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50797         (__bzero): Don't use BP_SYM.
50798         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50799         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50800         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50801         <bp-sym.h> and <bp-asm.h>.
50802         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50803         pointers.
50804         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50805         <bp-sym.h> and <bp-asm.h>.
50806         (memcpy): Don't use BP_SYM.
50807         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50808         <bp-sym.h> and <bp-asm.h>.
50809         (memset): Don't use BP_SYM.
50810         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50811         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50812         (__bzero): Don't use BP_SYM.
50813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50815         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50816         <bp-sym.h> and <bp-asm.h>.
50817         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50818         pointers.
50819         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50820         <bp-sym.h> and <bp-asm.h>.
50821         (memcpy): Don't use BP_SYM.
50822         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50823         <bp-sym.h> and <bp-asm.h>.
50824         (memset): Don't use BP_SYM.
50825         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50826         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50827         (__bzero): Don't use BP_SYM.
50828         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50829         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50830         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50831         <bp-sym.h> and <bp-asm.h>.
50832         (__memchr): Don't use BP_SYM.
50833         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50834         <bp-sym.h> and <bp-asm.h>.
50835         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50836         pointers.
50837         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50838         <bp-sym.h> and <bp-asm.h>.
50839         (memcpy): Don't use BP_SYM.
50840         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50841         <bp-sym.h> and <bp-asm.h>.
50842         (__mempcpy): Don't use BP_SYM.
50843         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50844         <bp-sym.h> and <bp-asm.h>.
50845         (__memrchr): Don't use BP_SYM.
50846         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50847         <bp-sym.h> and <bp-asm.h>.
50848         (memset): Don't use BP_SYM.
50849         (__bzero): Likewise.
50850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50851         <bp-sym.h> and <bp-asm.h>.
50852         (__rawmemchr): Don't use BP_SYM.
50853         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50854         <bp-sym.h> and <bp-asm.h>.
50855         (__STRCMP): Don't use BP_SYM.
50856         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50857         <bp-sym.h> and <bp-asm.h>.
50858         (strchr): Don't use BP_SYM.
50859         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50860         <bp-sym.h> and <bp-asm.h>.
50861         (__strchrnul): Don't use BP_SYM.
50862         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50863         <bp-sym.h> and <bp-asm.h>.
50864         (strlen): Don't use BP_SYM.
50865         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50866         <bp-sym.h> and <bp-asm.h>.
50867         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50868         pointers.
50869         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50870         <bp-sym.h> and <bp-asm.h>.
50871         (__strnlen): Don't use BP_SYM.
50872         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50873         <bp-sym.h> and <bp-asm.h>.
50874         (__GI__setjmp): Don't use BP_SYM.
50875         (_setjmp): Likewise.
50876         (__sigsetjmp): Likewise.
50877         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50878         (L(start_addresses)): Don't use BP_SYM.
50879         (_start): Likewise.
50880         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50881         <bp-asm.h>.
50882         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50883         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50884         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50885         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50886         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50887         <bp-asm.h>.
50888         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50889         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50890         about bounded pointers.
50891         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50892         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50893         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50894         <bp-asm.h>.
50895         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50896         about bounded pointers.  Remove GKM FIXME comments.
50897         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50898         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50899         <bp-asm.h>.
50900         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50901         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50902         Remove GKM FIXME comments.
50903         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50904         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50905         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50906         <bp-asm.h>.
50907         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50908         about bounded pointers.  Remove GKM FIXME comment.
50909         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50910         and <bp-asm.h>.
50911         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50912         pointers.
50913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50914         <bp-sym.h> and <bp-asm.h>.
50915         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50917         <bp-sym.h> and <bp-asm.h>.
50918         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50919         comment.
50921 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50923         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50924         call free(NULL).
50926 2013-03-05  David S. Miller  <davem@davemloft.net>
50928         * po/es.po: Update from translation team.
50930 2013-03-05  Andreas Jaeger  <aj@suse.de>
50932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50933         <bits/mman-linux.h>.
50934         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50935         is fine.
50936         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50937         <bits/mman-linux.h> to end of file.
50938         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50939         is fine.
50940         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50941         <bits/mman-linux.h> to end of file.
50942         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50943         is fine.
50944         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50945         <bits/mman-linux.h> to end of file.
50947         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50948         (MCL_CURRENT, MCL_FUTURE): Define here.
50950 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50952         [BZ #15232]
50953         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50954         attribute_hidden.
50955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50957 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50959         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50960         fourth parameter needed for rt_sigprocmask syscall.
50961         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50962         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50963         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50964         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50965         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50966         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50968 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50970         [BZ #13550]
50971         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50972         comment about bounded pointers.
50973         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50974         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50976 2013-03-04  Andreas Jaeger  <aj@suse.de>
50978         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50979         common definitions.
50981         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50982         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50983         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50984         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50985         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50986         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50988 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50990         [BZ #15055]
50991         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50992         __ieee754_sqrl instead of __sqrl.
50994 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50996         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50997         * sysdeps/powerpc/fpu_control.h: ... here.
50998         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50999         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51000         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51001         * sysdeps/powerpc/bits/mathinline.h: ... here.
51003 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51005         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51006         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51007         to just [NEED_DL_SYSINFO_DSO].
51008         * elf/dl-support.c: Likewise.
51009         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51010         * elf/rtld.c (dl_main): Likewise.
51011         * elf/setup-vdso.h (setup_vdso): Likewise.
51012         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51013         * sysdeps/unix/sysv/linux/dl-sysdep.c
51014         (_dl_discover_osversion): Likewise.
51016 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51018         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51019         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51021 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51023         * NEWS: Mention libm performance improvements and non-x86 PI
51024         futex support.
51026         * csu/libc-start.c (__pthread_initialize_minimal): Change
51027         function arguments.
51028         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51030 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51032         [BZ #13550]
51033         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51034         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51035         <bp-sym.h> and <bp-asm.h>.
51036         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51037         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51038         and <bp-asm.h>.
51039         (memcpy): Don't use BP_SYM.
51040         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51041         <bp-asm.h>.
51042         (__mpn_add_n): Don't use BP_SYM.
51043         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51044         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51045         and <bp-asm.h>.
51046         (__mpn_addmul_1): Don't use BP_SYM.
51047         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51048         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51049         <bp-sym.h>.
51050         (_setjmp): Don't use BP_SYM.
51051         (__novmx_setjmp): Likewise.
51052         (__GI__setjmp): Likewise.
51053         (__vmx_setjmp): Likewise.
51054         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51055         <bp-sym.h>.
51056         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51057         (__bzero): Don't use BP_SYM.
51058         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51059         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51061         <bp-sym.h> and <bp-asm.h>.
51062         (memcpy): Don't use BP_SYM.
51063         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51064         <bp-sym.h> and <bp-asm.h>.
51065         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51066         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51067         <bp-sym.h> and <bp-asm.h>.
51068         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51069         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51070         <bp-asm.h>.
51071         (__mpn_lshift): Don't use BP_SYM.
51072         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51073         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51074         <bp-asm.h>.
51075         (memset): Don't use BP_SYM.
51076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51078         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51079         <bp-asm.h>.
51080         (__mpn_mul_1): Don't use BP_SYM.
51081         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51082         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51083         <bp-sym.h> and <bp-asm.h>.
51084         (memcmp): Don't use BP_SYM.
51085         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51086         <bp-sym.h> and <bp-asm.h>.
51087         (memcpy): Don't use BP_SYM.
51088         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51089         <bp-sym.h> and <bp-asm.h>.
51090         (memset): Don't use BP_SYM.
51091         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51092         <bp-sym.h> and <bp-asm.h>.
51093         (strncmp): Don't use BP_SYM.
51094         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51095         <bp-sym.h> and <bp-asm.h>.
51096         (memcpy): Don't use BP_SYM.
51097         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51098         <bp-sym.h> and <bp-asm.h>.
51099         (memset): Don't use BP_SYM.
51100         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51101         <bp-sym.h> and <bp-asm.h>.
51102         (__memchr): Don't use BP_SYM.
51103         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51104         <bp-sym.h> and <bp-asm.h>.
51105         (memcmp): Don't use BP_SYM.
51106         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51107         <bp-sym.h> and <bp-asm.h>.
51108         (memcpy): Don't use BP_SYM.
51109         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51110         <bp-sym.h> and <bp-asm.h>.
51111         (__mempcpy): Don't use BP_SYM.
51112         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51113         <bp-sym.h> and <bp-asm.h>.
51114         (__memrchr): Don't use BP_SYM.
51115         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51116         <bp-sym.h> and <bp-asm.h>.
51117         (memset): Don't use BP_SYM.
51118         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51119         <bp-sym.h> and <bp-asm.h>.
51120         (__rawmemchr): Don't use BP_SYM.
51121         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51122         <bp-sym.h> and <bp-asm.h>.
51123         (__STRCMP): Don't use BP_SYM.
51124         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51125         <bp-sym.h> and <bp-asm.h>.
51126         (strchr): Don't use BP_SYM.
51127         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51128         <bp-sym.h> and <bp-asm.h>.
51129         (__strchrnul): Don't use BP_SYM.
51130         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51131         <bp-sym.h> and <bp-asm.h>.
51132         (strlen): Don't use BP_SYM.
51133         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51134         <bp-sym.h> and <bp-asm.h>.
51135         (strncmp): Don't use BP_SYM.
51136         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51137         <bp-sym.h> and <bp-asm.h>.
51138         (__strnlen): Don't use BP_SYM.
51139         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51140         <bp-asm.h>.
51141         (__mpn_rshift): Don't use BP_SYM.
51142         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51144         <bp-sym.h> and <bp-asm.h>.
51145         (__sigsetjmp): Don't use BP_SYM.
51146         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51147         (L(start_addresses)): Don't use BP_SYM.
51148         (_start): Likewise.
51149         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51150         <bp-asm.h>.
51151         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51152         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51153         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51154         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51155         <bp-asm.h>.
51156         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51157         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51158         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51159         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51160         <bp-asm.h>.
51161         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51162         comments.
51163         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51164         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51165         <bp-asm.h>.
51166         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51167         FIXME comments.
51168         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51169         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51170         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51171         <bp-asm.h>.
51172         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51173         comment.
51174         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51175         and <bp-asm.h>.
51176         (strncmp): Don't use BP_SYM,
51177         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51178         <bp-asm.h>.
51179         (__mpn_sub_n): Don't use BP_SYM.
51180         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51181         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51182         and <bp-asm.h>.
51183         (__mpn_submul_1): Don't use BP_SYM.
51184         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51186         <bp-sym.h> and <bp-asm.h>.
51187         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51189         <bp-sym.h> and <bp-asm.h>.
51190         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51191         comment.
51193 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51196         Use ZK to minimize writes to Z.
51197         (sub_magnitudes): Simplify code a bit.
51198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51199         Use ZK to minimize writes to Z.
51200         (sub_magnitudes): Simplify code a bit.
51202 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51204         * csu/gmon-start.c: Add special exception to license text.
51206 2013-02-27  Richard Henderson  <rth@redhat.com>
51208         * scripts/config.guess: Update from config.git.
51209         * scripts/config.sub: Likewise.
51211 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51213         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51215         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51217         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51219         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51221         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51223 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51225         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51226         [$(build-shared = yes].
51228 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51230         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51231         (__mul): Reduce iterations for calculating mantissa.
51233         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51234         MPTWO.
51235         (__mpranred): Likewise.
51237         [BZ #15160]
51238         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51239         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51241 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51243         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51244         Define __attribute__.
51246 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51248         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51249         unused.
51250         * posix/regex_internal.h (__attribute): Remove.
51251         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51252         (re_string_context_at): Likewise.
51253         (bitset_not): Use __attribute__ and mark function as possibly
51254         unused.
51255         (bitset_merge): Likewise.
51256         (bitset_mask): Likewise.
51257         (re_string_char_size_at): Likewise.
51258         (re_string_wchar_at): Likewise.
51259         (re_string_elem_size_at): Likewise.
51261 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51263         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51264         code.
51265         (cc32): Likewise.
51267         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51268         (__acr): Likewise.
51269         (__cpy): Likewise.
51270         (norm): Likewise.
51271         (denorm): Likewise.
51272         (__dbl_mp): Likewise.
51273         (add_magnitudes): Likewise.
51274         (sub_magnitudes): Likewise.
51275         (__mul): Likewise.
51276         (__inv): Likewise.
51278         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51279         style.
51281         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51282         style.
51284         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51285         code.
51287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51288         up changes with default code.
51289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51290         Likewise.
51292 2013-02-24  Allan McRae  <allan@archlinux.org>
51294         * manual/socket.texi (The Internet Namespace): Order menu items
51295         to match that in the file.
51297         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51298         node listing of the info page menu.
51300 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51302         [BZ #13550]
51303         * sysdeps/i386/bp-asm.h: Remove file.
51304         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51305         (PARMS): Do not use macros from bp-asm.h.
51306         (S1): Likewise.
51307         (S2): Likewise.
51308         (SIZE): Likewise.
51309         (__mpn_add_n): Do not use BP_SYM
51310         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51311         "bp-asm.h".
51312         (PARMS): Do not use macros from bp-asm.h.
51313         (S1): Likewise.
51314         (SIZE): Likewise.
51315         (__mpn_addmul_1): Do not use BP_SYM
51316         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51317         "bp-asm.h".
51318         (PARMS): Do not use macros from bp-asm.h.
51319         (SIGMSK): Likewise.
51320         (_setjmp): Likewise.  Do not use BP_SYM.
51321         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51322         "bp-asm.h".
51323         (PARMS): Do not use macros from bp-asm.h.
51324         (SIGMSK): Likewise.
51325         (setjmp): Likewise.  Do not use BP_SYM.
51326         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51327         "bp-asm.h".
51328         (PARMS): Do not use macros from bp-asm.h.
51329         (__frexp): Do not use BP_SYM.
51330         (frexp): Likewise.
51331         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51332         "bp-asm.h".
51333         (PARMS): Do not use macros from bp-asm.h.
51334         (__frexpf): Do not use BP_SYM.
51335         (frexpf): Likewise.
51336         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51337         "bp-asm.h".
51338         (PARMS): Do not use macros from bp-asm.h.
51339         (__frexpl): Do not use BP_SYM.
51340         (frexpl): Likewise.
51341         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51342         "bp-asm.h".
51343         (PARMS): Do not use macros from bp-asm.h.
51344         (__remquo): Do not use BP_SYM.
51345         (remquo): Likewise.
51346         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51347         "bp-asm.h".
51348         (PARMS): Do not use macros from bp-asm.h.
51349         (__remquof): Do not use BP_SYM.
51350         (remquof): Likewise.
51351         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51352         "bp-asm.h".
51353         (PARMS): Do not use macros from bp-asm.h.
51354         (__remquol): Do not use BP_SYM.
51355         (remquol): Likewise.
51356         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51357         "bp-asm.h".
51358         (PARMS): Do not use macros from bp-asm.h.
51359         (DEST): Likewise.
51360         (SRC): Likewise.
51361         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51362         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51363         "bp-asm.h".
51364         (PARMS): Do not use macros from bp-asm.h.
51365         (strlen): Do not use BP_SYM.
51366         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51367         "bp-asm.h".
51368         (PARMS): Do not use macros from bp-asm.h.
51369         (S1): Likewise.
51370         (S2): Likewise.
51371         (SIZE): Likewise.
51372         (__mpn_add_n): Do not use BP_SYM.
51373         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51374         "bp-asm.h".
51375         (PARMS): Do not use macros from bp-asm.h.
51376         (S1): Likewise.
51377         (SIZE): Likewise.
51378         (__mpn_addmul_1): Do not use BP_SYM.
51379         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51380         weak_alias.
51381         (bzero): Likewise.
51382         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51383         "bp-asm.h".
51384         (PARMS): Do not use macros from bp-asm.h.
51385         (S): Likewise.
51386         (SIZE): Likewise.
51387         (__mpn_lshift): Do not use BP_SYM.
51388         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51389         "bp-asm.h".
51390         (PARMS): Do not use macros from bp-asm.h.
51391         (DEST): Likewise.
51392         (SRC): Likewise.
51393         (LEN): Likewise.
51394         (memcpy): Likewise.  Do not use BP_SYM.
51395         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51396         libc_hidden_def and weak_alias.
51397         (mempcpy): Do not use BP_SYM in weak_alias.
51398         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51399         "bp-asm.h".
51400         (PARMS): Do not use macros from bp-asm.h.
51401         (DEST): Likewise.
51402         (LEN): Likewise.
51403         [!BZERO_P] (CHR): Likewise.
51404         (memset): Likewise.  Do not use BP_SYM.
51405         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51406         "bp-asm.h".
51407         (PARMS): Do not use macros from bp-asm.h.
51408         (S1): Likewise.
51409         (SIZE): Likewise.
51410         (__mpn_mul_1): Do not use BP_SYM.
51411         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51412         "bp-asm.h".
51413         (PARMS): Do not use macros from bp-asm.h.
51414         (S): Likewise.
51415         (SIZE): Likewise.
51416         (__mpn_rshift): Do not use BP_SYM.
51417         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51418         "bp-asm.h".
51419         (PARMS): Do not use macros from bp-asm.h.
51420         (STR): Likewise.
51421         (CHR): Likewise.
51422         (strchr): Likewise.  Do not use BP_SYM.
51423         (index): Do not use BP_SYM in weak_alias.
51424         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51425         "bp-asm.h".
51426         (PARMS): Do not use macros from bp-asm.h.
51427         (DEST): Likewise.
51428         (SRC): Likewise.
51429         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51430         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51431         "bp-asm.h".
51432         (PARMS): Do not use macros from bp-asm.h.
51433         (strlen): Do not use BP_SYM.
51434         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51435         "bp-asm.h".
51436         (PARMS): Do not use macros from bp-asm.h.
51437         (S1): Likewise.
51438         (S2): Likewise.
51439         (SIZE): Likewise.
51440         (__mpn_sub_n): Do not use BP_SYM.
51441         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51442         "bp-asm.h".
51443         (PARMS): Do not use macros from bp-asm.h.
51444         (S1): Likewise.
51445         (SIZE): Likewise.
51446         (__mpn_submul_1): Do not use BP_SYM.
51447         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51448         "bp-asm.h".
51449         (PARMS): Do not use macros from bp-asm.h.
51450         (S1): Likewise.
51451         (S2): Likewise.
51452         (SIZE): Likewise.
51453         (__mpn_add_n): Do not use BP_SYM.
51454         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51455         weak_alias.
51456         (bzero): Likewise.
51457         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51458         "bp-asm.h".
51459         (PARMS): Do not use macros from bp-asm.h.
51460         (BLK2): Likewise.
51461         (LEN): Likewise.
51462         (memcmp): Do not use BP_SYM.
51463         (bcmp): Do not use BP_SYM in weak_alias.
51464         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51465         "bp-asm.h".
51466         (PARMS): Do not use macros from bp-asm.h.
51467         (DEST): Likewise.
51468         (SRC): Likewise.
51469         (LEN): Likewise.
51470         (memcpy): Likewise.  Do not use BP_SYM.
51471         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51472         "bp-asm.h".
51473         (PARMS): Do not use macros from bp-asm.h.
51474         (DEST): Likewise.
51475         (SRC): Likewise.
51476         (LEN): Likewise.
51477         (memmove): Likewise.  Do not use BP_SYM.
51478         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51479         "bp-asm.h".
51480         (PARMS): Do not use macros from bp-asm.h.
51481         (DEST): Likewise.
51482         (SRC): Likewise.
51483         (LEN): Likewise.
51484         (__mempcpy): Likewise.  Do not use BP_SYM.
51485         (mempcpy): Do not use BP_SYM in weak_alias.
51486         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51487         "bp-asm.h".
51488         (PARMS): Do not use macros from bp-asm.h.
51489         (DEST): Likewise.
51490         (LEN): Likewise.
51491         [!BZERO_P] (CHR): Likewise.
51492         (memset): Likewise.  Do not use BP_SYM.
51493         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51494         "bp-asm.h".
51495         (PARMS): Do not use macros from bp-asm.h.
51496         (STR2): Likewise.
51497         (strcmp): Do not use BP_SYM.
51498         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51499         "bp-asm.h".
51500         (PARMS): Do not use macros from bp-asm.h.
51501         (STR): Likewise.
51502         (DELIM): Likewise.
51503         [USE_AS_STRTOK_R] (SAVE): Likewise.
51504         (FUNCTION): Likewise.  Do not use BP_SYM.
51505         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51506         aliases.
51507         (strtok_r): Likewise.
51508         (__GI___strtok_r): Likewise.
51509         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51510         (PARMS): Do not use macros from bp-asm.h.
51511         (S): Likewise.
51512         (SIZE): Likewise.
51513         (__mpn_lshift): Do not use BP_SYM.
51514         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51515         (PARMS): Do not use macros from bp-asm.h.
51516         (STR): Likewise.
51517         (CHR): Likewise.
51518         (__memchr): Do not use BP_SYM.
51519         (memchr): Do not use BP_SYM in weak_alias.
51520         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51521         (PARMS): Do not use macros from bp-asm.h.
51522         (BLK2): Likewise.
51523         (LEN): Likewise.
51524         (memcmp): Do not use BP_SYM.
51525         (bcmp): Do not use BP_SYM in weak_alias.
51526         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51527         (PARMS): Do not use macros from bp-asm.h.
51528         (S1): Likewise.
51529         (SIZE): Likewise.
51530         (__mpn_mul_1): Do not use BP_SYM.
51531         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51532         "bp-asm.h".
51533         (PARMS): Do not use macros from bp-asm.h.
51534         (STR): Likewise.
51535         (CHR): Likewise.
51536         (__rawmemchr): Do not use BP_SYM.
51537         (rawmemchr): Do not use BP_SYM in weak_alias.
51538         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51539         (PARMS): Do not use macros from bp-asm.h.
51540         (S): Likewise.
51541         (SIZE): Likewise.
51542         (__mpn_rshift): Do not use BP_SYM.
51543         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51544         (PARMS): Do not use macros from bp-asm.h.
51545         (SIGMSK): Likewise.
51546         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51547         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51548         (_start): Do not use BP_SYM.
51549         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51550         (PARMS): Do not use macros from bp-asm.h.
51551         (DEST): Likewise.
51552         (SRC): Likewise.
51553         (__stpcpy): Likewise.  Do not use BP_SYM.
51554         (stpcpy): Do not use BP_SYM in weak_alias.
51555         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51556         "bp-asm.h".
51557         (PARMS): Do not use macros from bp-asm.h.
51558         (DEST): Likewise.
51559         (SRC): Likewise.
51560         (LEN): Likewise.
51561         (__stpncpy): Likewise.  Do not use BP_SYM.
51562         (stpncpy): Do not use BP_SYM in weak_alias.
51563         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51564         (PARMS): Do not use macros from bp-asm.h.
51565         (STR): Likewise.
51566         (CHR): Likewise.
51567         (strchr): Likewise.  Do not use BP_SYM.
51568         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51569         "bp-asm.h".
51570         (PARMS): Do not use macros from bp-asm.h.
51571         (STR): Likewise.
51572         (CHR): Likewise.
51573         (__strchrnul): Likewise.  Do not use BP_SYM.
51574         (strchrnul): Do not use BP_SYM in weak_alias.
51575         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51576         "bp-asm.h".
51577         (PARMS): Do not use macros from bp-asm.h.
51578         (STOP): Likewise.
51579         (strcspn): Do not use BP_SYM.
51580         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51581         "bp-asm.h".
51582         (PARMS): Do not use macros from bp-asm.h.
51583         (STR): Likewise.
51584         (STOP): Likewise.
51585         (strpbrk): Likewise.  Do not use BP_SYM.
51586         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51587         "bp-asm.h".
51588         (PARMS): Do not use macros from bp-asm.h.
51589         (STR): Likewise.
51590         (CHR): Likewise.
51591         (strrchr): Likewise.  Do not use BP_SYM.
51592         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51593         (PARMS): Do not use macros from bp-asm.h.
51594         (SKIP): Likewise.
51595         (strspn): Do not use BP_SYM.
51596         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51597         (PARMS): Do not use macros from bp-asm.h.
51598         (STR): Likewise.
51599         (DELIM): Likewise.
51600         (SAVE): Likewise.
51601         (FUNCTION): Likewise.  Do not use BP_SYM.
51602         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51603         aliases.
51604         (strtok_r): Likewise.
51605         (__GI___strtok_r): Likewise.
51606         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51607         (PARMS): Do not use macros from bp-asm.h.
51608         (S1): Likewise.
51609         (S2): Likewise.
51610         (SIZE): Likewise.
51611         (__mpn_sub_n): Do not use BP_SYM.
51612         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51613         "bp-asm.h".
51614         (PARMS): Do not use macros from bp-asm.h.
51615         (S1): Likewise.
51616         (SIZE): Likewise.
51617         (__mpn_submul_1): Do not use BP_SYM.
51618         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51619         <bp-sym.h>.
51620         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51621         and <bp-asm.h>.
51622         (PARMS): Do not use macros from bp-asm.h.
51623         (FLAGS): Likewise.
51624         (PTID): Likewise.
51625         (TLS): Likewise.
51626         (CTID): Likewise.
51627         (__clone): Do not use BP_SYM.
51628         (clone): Do not use BP_SYM in weak_alias.
51629         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51630         and <bp-asm.h>.
51631         (PARMS): Do not use macros from bp-asm.h.
51632         (LEN): Likewise.
51633         (__mmap64): Do not use BP_SYM.
51634         (mmap64): Do not use BP_SYM in weak_alias.
51635         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51636         <bp-sym.h> and <bp-asm.h>.
51637         (PARMS): Do not use macros from bp-asm.h.
51638         (__posix_fadvise64_l64): Do not use BP_SYM.
51639         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51640         (PARMS): Do not use macros from bp-asm.h.
51641         (NSOPS): Likewise.
51642         (semtimedop): Do not use BP_SYM.
51643         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51644         and <bp-asm.h>.
51646 2013-02-21  Allan McRae  <allan@archlinux.org>
51648         * manual/message.texi (Charset conversion in gettext):
51649         Move @end statement to beginning of line.
51651 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51654         static.
51655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51656         Likewise.
51658         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51659         (denorm): Likewise.
51660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51663 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51665         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51666         tail-call to the resolved function if pltexit isn't needed.
51668 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51671         or Y being zero as being unlikely.
51672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51673         Likewise.
51675 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51677         * manual/nss.texi (System Databases and Name Service Switch):
51678         Remove frobnicate @pxref.
51680 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51682         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51683         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51685 2013-02-20  Petr Machata  <pmachata@redhat.com>
51687         * elf/elf.h (R_ARM_TARGET1): New macro.
51688         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51689         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51690         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51691         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51692         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51693         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51694         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51695         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51696         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51697         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51698         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51699         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51700         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51701         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51702         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51703         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51704         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51705         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51706         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51707         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51708         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51709         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51710         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51711         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51712         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51713         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51714         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51715         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51716         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51717         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51718         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51719         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51720         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51721         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51722         (R_ARM_THM_GOT_BREL12): Likewise.
51723         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51724         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51725         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51726         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51727         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51728         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51729         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51730         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51731         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51733 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51735         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51736         __attribute_used__ to __attribute__ ((unused)).
51738 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51740         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51741         powerpc mpa.c.
51742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51743         comment formatting.
51744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51746 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51748         [BZ #13550]
51749         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51750         Remove macro.
51751         (ENTER): Remove both macro definitions.
51752         (LEAVE): Likewise.
51753         (CHECK_BOUNDS_LOW): Likewise.
51754         (CHECK_BOUNDS_HIGH): Likewise.
51755         (CHECK_BOUNDS_BOTH): Likewise.
51756         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51757         (RETURN_BOUNDED_POINTER): Likewise.
51758         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51759         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51760         (POP_ERRNO_LOCATION_RETURN): Likewise.
51761         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51762         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51763         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51764         macros.
51765         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51766         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51767         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51768         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51769         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51770         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51771         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51772         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51773         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51774         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51775         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51776         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51777         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51778         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51779         removed macros.
51780         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51781         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51782         macros.
51783         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51784         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51785         * sysdeps/i386/i586/memset.S (memset): Likewise.
51786         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51787         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51788         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51789         macros.
51790         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51791         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51792         Change uses of L(2) to L(out).
51793         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51794         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51795         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51796         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51797         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51798         removed macros.
51799         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51800         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51801         macros.
51802         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51803         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51804         (RETURN): Do not use macro LEAVE.
51805         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51806         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51807         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51808         * sysdeps/i386/i686/memset.S (memset): Likewise.
51809         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51810         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51811         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51812         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51813         Likewise.
51814         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51815         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51816         L(1_2) and L(1_3) into L(1).
51817         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51818         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51819         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51820         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51821         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51822         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51823         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51824         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51825         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51826         macros.
51827         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51828         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51829         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51830         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51831         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51832         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51833         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51834         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51835         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51836         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51837         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51838         * sysdeps/i386/strspn.S (strspn): Likewise.
51839         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51840         conditional code.
51841         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51842         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51843         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51844         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51845         L(1_3) into L(1_1).
51846         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51847         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51848         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51849         macros.
51850         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51852 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51854         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51855         macro.
51857 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51859         * math/atest-exp.c (exp_mpn): Remove ROUND.
51860         * math/atest-exp2.c (exp_mpn): Likewise.
51861         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51863         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51864         * stdlib/tst-tls-atexit-lib.c: Likewise.
51865         * stdlib/tst-tls-atexit.c: Likewise.
51867 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51869         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51870         and __attribute_alloc_size__.
51872 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51874         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51875         __attribute_alloc_size__.
51876         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51877         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51879 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51881         * include/programs/xmalloc.h: New file.
51882         * catgets/gencat.c: Include it.
51883         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51884         * elf/pldd.c: Likewise.
51885         * iconv/iconv_charmap.c: Likewise.
51886         * iconv/iconvconfig.c: Likewise.
51887         * iconv/strtab.c: Likewise.
51888         * locale/programs/locale.c: Likewise.
51889         * locale/programs/localedef.h: Likewise.
51890         * locale/programs/simple-hash.c: Likewise.
51891         * nscd/nscd.h: Likewise.
51892         * nss/makedb.c: Likewise.
51893         * sysdeps/generic/ldconfig.h: Likewise.
51895 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51897         * Versions.def: Add GLIBC_2.18.
51898         * include/link.h (struct link_map): New member l_tls_dtor_count.
51899         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51900         (__call_tls_dtors): Likewise.
51901         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51902         __cxa_thread_atexit_impl.
51903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51904         Likewise.
51905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51906         Likewise.
51907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51908         Likewise.
51909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51910         Likewise.
51911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51913         Likewise.
51914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51915         Likewise.
51916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51918         Likewise.
51919         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51920         (tests): Add test case tst-tls-atexit.
51921         (modules-names): Add shared library for tst-tls-atexit.
51922         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51923         (GLIBC_PRIVATE): Add __call_tls_dtors.
51924         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51925         for libstdc++.
51926         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51927         * stdlib/tst-tls-atexit.c: New test case.
51928         * stdlib/tst-tls-atexit-lib.c: New test case.
51930         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51932         * elf/Versions (ld): Add _dl_find_dso_for_object.
51933         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51934         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51935         (dl_open_worker): Use _dl_find_dso_for_object.
51936         * elf/dl-sym.c (do_sym): Likewise.
51937         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51939 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51941         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51942         Syntactic changes only.
51943         (_dl_runtime_profile): Do a tail-call to the resolved function.
51945 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51947         [BZ #13550]
51948         * sysdeps/x86_64/bp-asm.h: Remove file.
51949         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51950         <bp-sym.h> and <bp-asm.h>.
51951         (__clone): Do not use BP_SYM.
51952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51953         <bp-sym.h> and <bp-asm.h>.
51954         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51955         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51956         "bp-asm.h".
51957         (_setjmp): Do not use BP_SYM.
51958         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51959         "bp-asm.h".
51960         (setjmp): Do not use BP_SYM.
51961         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51962         libc_hidden_def.
51963         (mempcpy): Do not use BP_SYM in weak_alias.
51964         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51965         "bp-asm.h".
51966         (strchr): Do not use BP_SYM.
51967         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51968         "bp-asm.h".
51969         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51970         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51971         (_start): Do not use BP_SYM.
51972         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51973         "bp-asm.h".
51974         (strcat): Do not use BP_SYM.
51975         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51976         "bp-asm.h".
51977         (STRCMP): Do not use BP_SYM.
51978         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51979         "bp-asm.h".
51980         (STRCPY): Do not use BP_SYM.
51981         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51982         "bp-asm.h".
51983         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51984         "bp-asm.h".
51985         (FUNCTION): Do not use BP_SYM.
51986         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51987         weak_alias.
51988         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51990 2013-02-17  Andreas Jaeger  <aj@suse.de>
51992         * time/Versions: Sort entries.
51993         * string/Versions: Likewise.
51994         * resolv/Versions: Likewise.
51995         * posix/Versions: Likewise.
51996         * iconv/Versions: Likewise.
51997         * elf/Versions: Likewise.
51998         * wcsmbs/Versions: Likewise.
52000 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52002         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52003         loop termination condition.
52005         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52006         variable to calculate EZ.
52007         (__sqr): Likewise.
52009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52010         the lower precision input.
52012 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52014         [BZ #13550]
52015         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52016         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52017         (run-via-rtld-prefix): Do not handle %-bp tests.
52018         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52019         (all-object-suffixes): Remove .ob.
52020         (bppfx): Remove variable.
52021         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52022         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52023         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52024         [$(build-bounded) = yes] (libtype.ob): Likewise.
52025         * Makerules (elide-routines.ob): Remove variable.
52026         (do-tests-clean): Do not handle *-bp.out.
52027         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52028         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52029         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52030         (tests): Do not include $(tests-bp.out).
52031         (xtests): Do not include $(xtests-bp.out).
52032         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52033         [$(build-bounded) = yes] ($(addprefix
52034         $(objpfx),$(binaries-bounded))): Remove rule.
52035         ($(objpfx)%-bp.out): Remove rule.
52036         * config.make.in (build-bounded): Remove variable.
52037         * crypt/Makefile [$(build-bounded) = yes]
52038         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52039         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52040         append to variable.
52041         [$(build-bounded) = yes] (install-lib): Likewise.
52042         [$(build-bounded) = yes] (generated): Likewise.
52043         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52044         Remove rule.
52045         * intl/Makefile [$(build-bounded) = yes]
52046         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52047         * math/Makefile [$(build-bounded) = yes]
52048         ($(tests:%=$(objpfx)%-bp): Likewise.
52049         * misc/Makefile [$(build-bounded) = yes]
52050         ($(objpfx)tst-tsearch-bp): Likewise.
52051         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52052         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52053         Remove dependency.
52054         * string/Makefile (o-objects.ob): Remove variable.
52055         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52056         (CFLAGS-.ob): Remove variable.
52057         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52058         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52059         both definitions of variable.
52060         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52061         (ASFLAGS-.ob): Remove variable.
52063 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52065         [BZ #13550]
52066         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52067         Remove __BOUNDED_POINTERS__ from condition.
52068         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52069         * string/bits/string2.h [!__NO_STRING_INLINES &&
52070         !__BOUNDED_POINTERS__]: Likewise.
52071         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52072         Likewise.
52073         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52074         Remove conditional code.
52075         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52076         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52077         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52078         condition.
52080         [BZ #13550]
52081         * csu/libc-start.c: Do not include <bp-sym.h>.
52082         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52083         * elf/dl-open.c: Do not include <bp-sym.h>.
52084         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52085         * math/fegetenv.c: Do not include <bp-sym.h>.
52086         (fegetenv): Do not use BP_SYM in versioned symbols.
52087         * nptl/sysdeps/pthread/bits/libc-lockP.h
52088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52089         <bp-sym.h>.
52090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52091         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52093         (__pthread_mutex_destroy): Likewise.
52094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52095         (__pthread_mutex_lock): Likewise.
52096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52097         (__pthread_mutex_trylock): Likewise.
52098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52099         (__pthread_mutex_unlock): Likewise.
52100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52101         (__pthread_mutexattr_init): Likewise.
52102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52103         (__pthread_mutexattr_destroy): Likewise.
52104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52105         (__pthread_mutexattr_settype): Likewise.
52106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52107         (__pthread_rwlock_init): Likewise.
52108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52109         (__pthread_rwlock_destroy): Likewise.
52110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52111         (__pthread_rwlock_rdlock): Likewise.
52112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52113         (__pthread_rwlock_tryrdlock): Likewise.
52114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52115         (__pthread_rwlock_wrlock): Likewise.
52116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52117         (__pthread_rwlock_trywrlock): Likewise.
52118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52119         (__pthread_rwlock_unlock): Likewise.
52120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52121         (__pthread_key_create): Likewise.
52122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52123         (__pthread_setspecific): Likewise.
52124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52125         (__pthread_getspecific): Likewise.
52126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52127         Likewise.
52128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52129         (_pthread_cleanup_push_defer): Likewise.
52130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52131         (_pthread_cleanup_pop_restore): Likewise.
52132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52133         (pthread_setcancelstate): Likewise.
52134         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52135         <bp-sym.h>.
52136         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52137         (memchr): Do not use BP_SYM in weak_alias.
52138         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52139         (fegetenv): Do not use BP_SYM in versioned symbols.
52140         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52141         (fesetenv): Do not use BP_SYM in versioned symbols.
52142         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52143         (feupdateenv): Do not use BP_SYM in versioned symbols.
52144         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52145         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52146         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52147         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52148         (open64): Do not use BP_SYM in weak_alias.
52149         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52150         (fegetenv): Do not use BP_SYM in versioned symbols.
52151         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52152         (fesetenv): Do not use BP_SYM in versioned symbols.
52153         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52154         (feupdateenv): Do not use BP_SYM in versioned symbols.
52155         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52156         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52157         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52158         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52159         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52160         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52161         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52162         <bp-sym.h>.
52163         (__libc_start_main): Do not use BP_SYM.
52165 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52168         redundant return line.
52169         (norm): Likewise.
52170         (denorm): Likewise.
52171         (dbl_mp): Likewise.
52172         (sub_magnitudes): Likewise.
52173         (__add): Likewise.
52174         (__sub): Likewise.
52175         (__mul): Likewise.
52176         (__inv): Likewise.
52177         (__dvd): Likewise.
52178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52179         (norm): Likewise.
52180         (denorm): Likewise.
52181         (dbl_mp): Likewise.
52182         (sub_magnitudes): Likewise.
52183         (__add): Likewise.
52184         (__sub): Likewise.
52185         (__mul): Likewise.
52186         (__inv): Likewise.
52187         (__dvd): Likewise.
52189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52190         instead of __mul.
52191         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52192         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52193         (cc32): Likewise.
52195         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52196         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52197         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52198         of __mul for squares.
52199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52200         function
52201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52202         Likewise.
52203         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52204         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52206 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52208         [BZ #13550]
52209         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52210         code.
52211         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52212         prototype or function definition.  Rename ubp_* variables and
52213         parameters.  Remove argv definitions conditional on
52214         [__BOUNDED_POINTERS__].
52215         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52216         * elf/dl-runtime.c (_dl_fixup): Likewise.
52217         * include/set-hooks.h (RUN_HOOK): Likewise.
52218         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52219         definition.
52220         * string/strcpy.c (strcpy): Do not use __unbounded.
52221         * sysdeps/generic/frame.h (struct layout): Likewise.
52222         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52223         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52224         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52225         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52226         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52227         (__backtrace): Likewise.
52228         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52229         use __ptrvalue.
52230         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52231         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52232         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52233         Likewise.
52234         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52235         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52236         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52237         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52238         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52239         Do not use __unbounded.
52240         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52241         Rename __unboundedrlimits parameter to rlimits in prototype.
52242         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52243         Do not use __unbounded.
52244         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52245         not use __ptrvalue.
52246         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52247         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52248         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52249         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52250         __ptrvalue or __unbounded.
52251         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52252         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52253         use __unbounded.
52254         (__new_msgctl): Do not use __ptrvalue.
52255         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52256         __unbounded.
52257         (__libc_msgrcv): Do not use __ptrvalue.
52258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52259         startup_info): Do not use __unbounded.
52260         (__libc_start_main): Likewise.  Rename ubp_* variables and
52261         parameters.  Remove argv definitions conditional on
52262         [__BOUNDED_POINTERS__].
52263         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52264         __ptrvalue.
52265         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52266         use __unbounded.
52267         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52268         or __ptrvalue.
52269         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52270         use __unbounded.
52271         (__new_shmctl): Do not use __ptrvalue.
52272         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52273         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52274         Likewise.
52275         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52277         (__libc_sigaction): Likewise.
52278         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52279         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52280         Likewise.
52281         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52283 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52285         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52287         * string/mempcpy.c: Implement by calling memcpy.
52289 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52294         evaluation.
52296         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52297         values in the mantissa.
52299         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52300         minimize writes to Z.
52301         (sub_magnitudes): Simplify code a bit.
52303 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52305         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52306         from the message.  The linker prefixes all warnings with that already.
52308 2013-02-12  Andreas Schwab  <schwab@suse.de>
52310         [BZ #15078]
52311         * posix/regexec.c (extend_buffers): Add parameter min_len.
52312         (check_matching): Pass minimum needed length.
52313         (clean_state_log_if_needed): Likewise.
52314         (get_subexp): Likewise.
52315         * posix/Makefile (tests): Add bug-regex34.
52316         (bug-regex34-ENV): Define.
52317         * posix/bug-regex34.c: New file.
52319         [BZ #11561]
52320         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52321         elements compare against the byte sequence of it, not its name.
52322         * posix/Makefile (tests): Add bug-regex35.
52323         (bug-regex35-ENV): Define.
52324         * posix/bug-regex35.c: New file.
52326 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52328         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52329         comment.
52330         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52331         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52332         (CHECK_EOL): Add undef.
52334 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52336         * bits/stdlib-bsearch.h: New file.
52337         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52338         * stdlib/stdlib.h: Likewise.
52340 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52342         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52343         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52344         declaration.
52345         * manual/search.texi (Array Search Function): Add missing const in
52346         lfind prototype.
52347         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52348         declaration to use rlim_t.
52349         (Basic Scheduling Functions): Remove erroneous const from
52350         sched_getparam prototype.  Remove erroneous * from
52351         sched_get_priority_max and sched_get_priority_min prototypes.
52352         (Resource Usage): Fix summary @comment on vtimes to refer to
52353         sys/vtimes.h rather than vtimes.h.
52354         Add missing *s in vtimes prototype.
52355         (Limits on Resources): Fix ulimit prototype to return long int.
52356         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52357         prototypes to use long int rather than double.
52358         (BSD Random): Fix initstate and setstate to use char *, not void *.
52359         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52360         prototype to make second argument 'struct aiocb64 *const[]'.
52361         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52362         (Status of AIO Operations): Remove erroneous const in aio_return and
52363         aio_return64 prototypes.
52364         (Synchronizing I/O): Fix sync prototype to return void.
52365         * manual/startup.texi (Suboptions): Remove an erroneous const in
52366         getsubopt prototype.
52367         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52368         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52369         use size_t rather than int.
52370         (Scanning All Users): Likewise for getpwent_r.
52371         (Setting Groups): Add missing const to setgroups prototype.
52372         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52373         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52374         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52375         'const void *' rather than 'const char *'.
52376         (Host Address Functions): Likewise for inet_ntop.
52377         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52378         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52379         ssize_t for return value.
52380         (Sending Data): Likewise for send, sendto, sendmsg.
52381         (Socket Option Functions): Add a missing const in setsockopt prototype.
52382         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52383         use wchar_t for the argument.
52384         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52385         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52386         take no arguments.
52387         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52388         double/float/long double for second argument.
52389         Fix return types of significand, significandf, significandl.
52390         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52391         argument in fchmod prototype.
52392         (File Owner): Use uid_t and gid_t in fchown prototype.
52393         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52394         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52395         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52396         use 'const struct dirent **' as argument types to CMP function pointer
52397         argument.
52398         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52399         (File Times): Fix summary magic @comment for struct utimbuf and utime
52400         to refer to utime.h, not time.h.
52401         * manual/string.texi (Argz Functions): Add missing const in
52402         argz_extract and argz_next prototypes.
52403         (Finding Tokens in a String): Likewise for basename.
52404         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52405         (Copying and Concatenation): Fix typo in wmemmove prototype.
52406         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52407         (Signal Stack): Remove erroneous const in sigstack prototype.
52408         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52409         prototype.
52410         (Simple Calendar Time): Likewise for stime.
52411         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52412         prototype.
52413         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52414         say sys/sysctl.h instead.
52415         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52416         and vsyslog prototypes.
52418 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52420         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52421         Remove.
52423 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52425         * misc/sys/mman.h: Fix typo in mremap comment.
52427 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52429         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52430         the '\0' terminator.
52432 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52434         [BZ #13550]
52435         * debug/segfault.c: Don't include <bp-checks.h>.
52436         * sysdeps/generic/bp-checks.h: Remove file.
52437         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52438         (__GETDENTS): Don't use CHECK_N.
52439         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52440         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52441         (__getgroups): Don't use CHECK_N.
52442         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52443         (setgroups): Don't use CHECK_N.
52444         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52445         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52446         (__libc_msgrcv): Don't use CHECK_N.
52447         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52448         (__libc_msgsnd): Don't use CHECK_N.
52449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52450         <bp-checks.h>.
52451         (__libc_pread): Don't use CHECK_N.
52452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52453         include <bp-checks.h>.
52454         (__libc_pread64): Don't use CHECK_N.
52455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52456         include <bp-checks.h>.
52457         (__libc_pwrite): Don't use CHECK_N.
52458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52459         include <bp-checks.h>.
52460         (__libc_pwrite64): Don't use CHECK_N.
52461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52462         <bp-checks.h>.
52463         (__libc_pread): Don't use CHECK_N.
52464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52465         include <bp-checks.h>.
52466         (__libc_pread64): Don't use CHECK_N.
52467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52468         include <bp-checks.h>.
52469         (__libc_pwrite): Don't use CHECK_N.
52470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52471         include <bp-checks.h>.
52472         (__libc_pwrite64): Don't use CHECK_N.
52473         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52474         (do_pread): Don't use CHECK_N.
52475         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52476         (do_pread64): Don't use CHECK_N.
52477         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52478         (do_pwrite): Don't use CHECK_N.
52479         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52480         (do_pwrite64): Don't use CHECK_N.
52481         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52482         (__libc_readv): Don't use CHECK_N.
52483         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52484         (semop): Don't use CHECK_N.
52485         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52486         <bp-checks.h>.
52487         (semtimedop): Don't use CHECK_N.
52488         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52489         (__libc_pread): Don't use CHECK_N.
52490         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52491         <bp-checks.h>.
52492         (__libc_pread64): Don't use CHECK_N.
52493         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52494         <bp-checks.h>.
52495         (__libc_pwrite): Don't use CHECK_N.
52496         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52497         <bp-checks.h>.
52498         (__libc_pwrite64): Don't use CHECK_N.
52499         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52500         <bp-checks.h>.
52501         (__libc_msgrcv): Don't use CHECK_N.
52502         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52503         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52504         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52505         (__libc_writev): Don't use CHECK_N.
52507 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52509         * string/strcpy.c: Removed unused variable.
52511         * Makeconfig (+sysdep-includes): Define with := rather than =.
52512         Use an existing include/ subdir of each sysdeps dir before it.
52514 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52516         * nscd/connection.c (register_traced_file): Comment function.
52517         [HAVE_INOTIFY] (union __inev): Define.
52518         [HAVE_INOTIFY] (inotify_check_files): New function.
52519         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52520         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52521         clear_db_cache.
52522         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52524 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52526         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52527         loaded if not already and that a failure is permanent.
52529 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52531         [BZ #15006]
52532         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52533         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52535 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52537         [BZ #13550]
52538         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52539         (CHECK_1_NULL_OK): Likewise.
52540         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52541         (__fxstat): Do not use CHECK_1.
52542         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52543         <bp-checks.h>.
52544         (___fxstat64): Do not use CHECK_1.
52545         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52546         <bp-checks.h>.
52547         (__fxstatat): Do not use CHECK_1.
52548         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52549         <bp-checks.h>.
52550         (__fxstatat64): Do not use CHECK_1.
52551         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52552         <bp-checks.h>.
52553         (__fxstat): Do not use CHECK_1.
52554         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52555         <bp-checks.h>.
52556         (__fxstatat): Do not use CHECK_1.
52557         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52558         <bp-checks.h>.
52559         (__getresgid): Do not use CHECK_1.
52560         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52561         <bp-checks.h>.
52562         (__getresuid): Do not use CHECK_1.
52563         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52564         <bp-checks.h>.
52565         (__lxstat): Do not use CHECK_1.
52566         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52567         <bp-checks.h>.
52568         (__old_msgctl): Do not use CHECK_1.
52569         (__new_msgctl): Likewise.
52570         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52571         <bp-checks.h>.
52572         (__new_setrlimit): Do not use CHECK_1.
52573         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52574         <bp-checks.h>.
52575         (__old_shmctl): Do not use CHECK_1.
52576         (__new_shmctl): Likewise.
52577         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52578         <bp-checks.h>.
52579         (__xstat): Do not use CHECK_1.
52580         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52581         (__lxstat): Do not use CHECK_1.
52582         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52583         <bp-checks.h>.
52584         (___lxstat64): Do not use CHECK_1.
52585         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52586         (__old_msgctl): Do not use CHECK_1.
52587         (__new_msgctl): Likewise.
52588         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52589         <bp-checks.h>.
52590         (__gettimeofday): Do not use CHECK_1.
52591         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52592         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52593         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52594         <bp-checks.h>.
52595         (__gettimeofday): Do not use CHECK_1.
52596         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52597         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52598         (__new_shmctl): Do not use CHECK_1.
52599         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52600         <bp-checks.h>.
52601         (do_sigtimedwait): Do not use CHECK_1.
52602         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52603         <bp-checks.h>.
52604         (do_sigwaitinfo): Do not use CHECK_1.
52605         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52606         <bp-checks.h>.
52607         (msgctl): Do not use CHECK_1.
52608         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52609         <bp-checks.h>.
52610         (shmctl): Do not use CHECK_1.
52611         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52612         (ustat): Do not use CHECK_1.
52613         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52614         <bp-checks.h>.
52615         (__fxstat): Do not use CHECK_1.
52616         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52617         <bp-checks.h>.
52618         (__fxstatat): Do not use CHECK_1.
52619         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52620         <bp-checks.h>.
52621         (__lxstat): Do not use CHECK_1.
52622         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52623         <bp-checks.h>.
52624         (__xstat): Do not use CHECK_1.
52625         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52626         (__xstat): Do not use CHECK_1.
52627         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52628         (___xstat64): Do not use CHECK_1.
52630         [BZ #13550]
52631         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52632         definitions.
52633         (CHECK_BOUNDS_HIGH): Likewise.
52634         * string/strcpy.c: Do not include <bp-checks.h>.
52635         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52637 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52639         * nscd/nscd-client.h (__nscd_drop_map_ref):
52640         Add __attribute__ ((unused)).
52641         * nis/nss-nisplus.h (niserr2nss): Likewise.
52643         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52644         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52646         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52647         Remove inline keyword.
52648         * include/rounding-mode.h (round_away): Likewise.
52649         * libio/wfileops.c (adjust_wide_data): Likewise.
52650         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52651         (__m128i_strloadu_tolower): Likewise.
52652         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52653         (__m128i_strloadu_tolower): Likewise.
52654         * time/mktime.c (ydhms_diff): Likewise.
52655         * locale/elem-hash.h (elem_hash): Likewise.
52656         * locale/setlocale.c (setdata): Likewise.
52657         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52658         (re_string_wchar_at): Likewise.
52659         (bitset_not, bitset_merge, bitset_mask): Likewise.
52660         [!(__GNUC__ > 3)] (inline): Remove macro.
52661         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52662         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52663         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52664         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52665         * string/memcmp.c (memcmp_bytes): Likewise.
52666         * locale/programs/locarchive.c (compute_hashval): Likewise.
52667         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52668         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52669         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52670         * nss/getent.c (print_rpc, print_protocols): Likewise.
52671         (print_passwd, print_group, print_aliases): Likewise.
52672         * nis/nss-nisplus.h (niserr2nss): Likewise.
52673         * nscd/connections.c (restart_p): Likewise.
52674         Change return type to bool.
52676 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52678         * Makeconfig (all-Depend-files): Add existing
52679         $(sorted-subdirs:=/Depend) files.
52680         (all-subdirs): Remove nss.
52681         * sysdeps/unix/inet/Subdirs: Add it here instead.
52682         * hesiod/Depend: New file.
52684         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52685         instead of calling alloca.
52687         * io/lseek.c (__lseek): Rename to __libc_lseek.
52688         Define __lseek as an alias.
52690         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52692 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52694         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52695         else clause and remove check for non-standard endianness.
52697 2013-02-04  David S. Miller  <davem@davemloft.net>
52699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52701 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52703         [BZ #13550]
52704         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52705         (__ubp_memchr): Remove prototype.
52706         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52707         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52708         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52709         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52710         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52711         Remove alias.
52712         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52713         (__ubp_memchr): Likewise.
52714         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52715         (__ubp_memchr): Likewise.
52716         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52717         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52718         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52719         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52720         CHECK_STRING.
52721         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52722         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52723         (__getcwd): Do not use CHECK_STRING.
52724         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52725         <bp-checks.h>.
52726         (__real_chown): Do not use CHECK_STRING.
52727         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52728         <bp-checks.h>.
52729         (fchownat): Do not use CHECK_STRING.
52730         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52731         CHECK_STRING.
52732         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52733         <bp-checks.h>.
52734         (__lchown): Do not use CHECK_STRING.
52735         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52736         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52737         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52738         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52740         include <bp-checks.h>.
52741         (truncate64): Do not use CHECK_STRING.
52742         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52743         <bp-checks.h>.
52744         (__real_chown): Do not use CHECK_STRING.
52745         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52746         <bp-checks.h>.
52747         (__lchown): Do not use CHECK_STRING.
52748         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52749         <bp-checks.h>.
52750         (__chown): Do not use CHECK_STRING.
52751         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52752         <bp-checks.h>.
52753         (truncate64): Do not use CHECK_STRING.
52754         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52755         Likewise.
52756         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52757         (__xmknod): Do not use CHECK_STRING.
52758         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52759         <bp-checks.h>.
52760         (__xmknodat): Do not use CHECK_STRING.
52761         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52762         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52764 2013-02-04  Andreas Schwab  <schwab@suse.de>
52766         [BZ #14142]
52767         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52768         * include/netdb.h: Likewise for h_errno.
52769         * elf/tst-stackguard1.c: Include <tls.h>.
52771 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52773         * elf/link.h (struct link_map): Extend the l_addr comment.
52774         * include/link.h (struct link_map): Likewise.
52776 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52778         [BZ #13550]
52779         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52780         (BOUNDED_1): Remove macro.
52781         * debug/backtrace.c: Don't include <bp-checks.h>.
52782         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52783         (__backtrace): Likewise.
52784         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52785         <bp-checks.h>.
52786         (__backtrace): Don't use BOUNDED_1.
52787         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52788         <bp-checks.h>.
52789         (__backtrace): Don't use BOUNDED_1.
52790         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52791         (__backtrace): Don't use BOUNDED_1.
52792         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52793         (shmat): Don't use BOUNDED_N.
52795 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52797         [BZ #13550]
52798         * sysdeps/generic/bp-start.h: Remove file.
52799         * csu/libc-start.c: Don't include <bp-start.h>.
52800         (LIBC_START_MAIN): Set up __environ directly instead of using
52801         INIT_ARGV_and_ENVIRON.
52802         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52803         <bp-start.h>.
52805         [BZ #13550]
52806         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52807         definitions.
52808         (CHECK_FCNTL): Likewise.
52809         (CHECK_N_PAGES): Likewise.
52811         [BZ #13550]
52812         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52813         definitions.
52814         (CHECK_SIGSET_NULL_OK): Likewise.
52815         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52816         <bp-checks.h>.
52817         (sigpending): Don't use CHECK_SIGSET.
52818         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52819         <bp-checks.h>.
52820         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52821         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52822         <bp-checks.h>.
52823         (do_sigsuspend): Don't use CHECK_SIGSET.
52824         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52825         use CHECK_SIGSET.
52826         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52827         (do_sigwait): Don't use CHECK_SIGSET.
52828         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52829         use CHECK_SIGSET.
52830         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52831         include <bp-checks.h>.
52832         (sigpending): Don't use CHECK_SIGSET.
52833         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52834         include <bp-checks.h>.
52835         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52836         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52837         <bp-checks.h>.
52838         (sigpending): Don't use CHECK_SIGSET.
52839         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52840         <bp-checks.h>.
52841         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52843         [BZ #13550]
52844         * sysdeps/generic/bp-semctl.h: Remove file.
52845         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52846         <bp-checks.h> and <bp-semctl.h>.
52847         (__old_semctl): Don't use CHECK_SEMCTL.
52848         (__new_semctl): Likewise.
52849         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52850         and <bp-semctl.h>.
52851         (__old_semctl): Don't use CHECK_SEMCTL.
52852         (__new_semctl): Likewise.
52853         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52854         <bp-checks.h> and <bp-semctl.h>.
52855         (__old_semctl): Don't use CHECK_SEMCTL.
52856         (__new_semctl): Likewise.
52857         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52858         <bp-checks.h> and <bp-semctl.h>.
52859         (semctl): Don't use CHECK_SEMCTL.
52861         [BZ #13550]
52862         * Makerules (elide-bp-thunks): Remove variable.
52863         (elide-routines.oS): Don't use $(elide-bp-thunks).
52864         (elide-routines.os): Likewise.
52865         (elide-routines.o): Likewise.
52866         (elide-routines.op): Likewise.
52867         (elide-routines.og): Likewise.
52868         (objects): Don't use $(bp-thunks).
52869         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52870         include.
52871         (common-generated): Do not add s-proto-bp.d.
52872         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52873         (int): Likewise.
52874         (typ): Likewise.
52875         Do not generate makefile rules for bounded-pointer thunks.
52876         * sysdeps/generic/bp-thunks.h: Remove file.
52877         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52878         * sysdeps/unix/s-proto-bp.S: Likewise.
52880         [BZ #15062]
52881         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52882         parts of result separately when argument is not close to line from
52883         -i to i and one part of argument is small.
52884         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52885         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52886         * math/libm-test.inc (cacos_test): Add more tests.
52887         (casin_test): Likewise.
52888         (casinh_test): Likewise.
52889         * sysdeps/i386/fpu/libm-test-ulps: Update.
52890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52892 2013-01-31  David S. Miller  <davem@davemloft.net>
52894         * po/de.po: Update from translation team.
52896 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52898         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52900 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52902         * configure.in (_AC_PROG_CC_C89): New definition.
52903         * configure: Regenerate.
52905         * configure.in (AC_PROG_CPP): New definition.
52906         * configure: Regenerate.
52908 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52910         * debug/tst-backtrace.h: New file.
52911         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52912         (ret): Remove variable.
52913         (x): Likewise.
52914         (FAIL): Remove macro.
52915         (NO_INLINE): Likewise.
52916         (fn1): Use match function instead of strstr.
52917         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52918         (ret): Remove variable.
52919         (x): Likewise.
52920         (FAIL): Remove macro.
52921         (NO_INLINE): Likewise.
52922         (fn): Use match function instead of strstr.
52923         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52924         (ret): Remove variable.
52925         (x): Likewise.
52926         (FAIL): Remove macro.
52927         (NO_INLINE): Likewise.
52928         (handle_signal): Use match function instead of strstr.
52929         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52930         (ret): Remove variable.
52931         (x): Likewise.
52932         (FAIL): Remove macro.
52933         (NO_INLINE): Likewise.
52934         (handle_signal): Use match function instead of strstr.
52936 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52938         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52940 2013-01-23  David S. Miller  <davem@davemloft.net>
52942         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52943         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52944         argument of CAS if possible.
52945         * sysdeps/sparc/sparc64/bits/atomic.h
52946         (__arch_compare_and_exchange_val_32_acq): Likewise.
52947         (__arch_compare_and_exchange_val_64_acq): Likewise.
52949 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52951         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52952         * sysdeps/posix/ulimit.c: ... this.
52953         Include <limits.h>.
52954         * sysdeps/unix/bsd/ulimit.c: Remove file.
52956 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52958         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52959         (LDFLAGS-tst-array5): Likewise.
52961 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52963         [BZ #15036]
52964         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52965         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52966         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52967         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52969 2013-01-21  David S. Miller  <davem@davemloft.net>
52971         * sysdeps/sparc/backtrace.c: New file.
52972         * sysdeps/sparc/sparc32/backtrace.h: New file.
52973         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52974         * sysdeps/sparc/sparc64/backtrace.h: New file.
52975         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52976         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52977         -funwind-tables.
52979 2013-01-21  Andreas Schwab  <schwab@suse.de>
52981         [BZ #15020]
52982         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52983         closed its stdout.
52985 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52988         "mpa2.h".
52989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52991 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52992             Mark Mitchell  <mark@codesourcery.com>
52993             Tom de Vries  <tom@codesourcery.com>
52994             Paul Pluzhnikov  <ppluzhnikov@google.com>
52996         * debug/tst-backtrace2.c: New file.
52997         * debug/tst-backtrace3.c: Likewise.
52998         * debug/tst-backtrace4.c: Likewise.
52999         * debug/tst-backtrace5.c: Likewise.
53000         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53001         (CFLAGS-tst-backtrace3.c): Likewise.
53002         (CFLAGS-tst-backtrace4.c): Likewise.
53003         (CFLAGS-tst-backtrace5.c): Likewise.
53004         (LDFLAGS-tst-backtrace2): Likewise.
53005         (LDFLAGS-tst-backtrace3): Likewise.
53006         (LDFLAGS-tst-backtrace4): Likewise.
53007         (LDFLAGS-tst-backtrace5): Likewise.
53008         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53009         tst-backtrace4 and tst-backtrace5.
53011 2013-01-18  Anton Blanchard  <anton@samba.org>
53012             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53014         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53015         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53016         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53017         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53019         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53020         "+r" and remove output regs list as redundant.  Add explicit inline
53021         asm to specify register of return val to work around compiler codegen
53022         bug.  Remove (int) cast on return value.  Add return type parameter to
53023         use in macro so that this macro does not truncate return value for
53024         64-bit values.
53025         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53026         pass to INTERNAL_VSYSCALL_NCS.
53027         (INLINE_VSYSCALL): Add 'long int' as return type to
53028         INTERNAL_VSYSCALL_NCS macro invocation.
53029         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53030         INTERNAL_VSYSCALL_NCS macro invocation.
53031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53033 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53035         [BZ #14496]
53036         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53037         Fix application of SIMD FP exception mask.
53039         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53040         mp_no from a power of two.
53041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53042         __mpexp_twomm1.  Use __pow_mp.
53044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53045         multiplication.
53047 2013-01-17  David S. Miller  <davem@davemloft.net>
53049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53051 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53053         [BZ #15023]
53054         * include/complex.h: Condition contents on [!_COMPLEX_H].
53055         (__kernel_casinhf): New prototype.
53056         (__kernel_casinh): Likewise.
53057         (__kernel_casinhl): Likewise.
53058         * math/Makefile (libm_calls): Add k_casinh.
53059         * math/k_casinh.c: New file.
53060         * math/k_casinhf.c: Likewise.
53061         * math/k_casinhl.c: Likewise.
53062         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53063         finite nonzero arguments.
53064         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53065         finite nonzero arguments.
53066         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53067         finite nonzero arguments.
53068         * math/s_casinh.c: Do not include <float.h>.
53069         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53070         * math/s_casinhf.c: Do not include <float.h>.
53071         (__casinhf): Move code for finite nonzero arguments to
53072         k_casinhf.c.
53073         * math/s_casinhl.c: Do not include <float.h>.
53074         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53075         redefine.
53076         (__casinhl): Move code for finite nonzero arguments to
53077         k_casinhl.c.
53078         * math/libm-test.inc (cacos_test): Add more tests.
53079         * sysdeps/i386/fpu/libm-test-ulps: Update.
53080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53082 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53084         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53085         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53086         [!HAVE_MREMAP]: Remove [defined linux] case.
53087         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53089 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53091         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53093 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53095         * elf/elf.h (R_386_SIZE32): New relocation.
53096         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53097         R_386_SIZE32.
53098         (elf_machine_rela): Likewise.
53099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53100         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53102 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53104         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53105         (FP_FAST_FMA): Do not define.
53106         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53107         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53108         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53109         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53110         !_SOFT_FLOAT]: Likewise.
53111         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53112         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53113         value.
53114         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53115         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53116         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53117         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53118         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53119         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53120         file.
53122 2013-01-16  Andreas Schwab  <schwab@suse.de>
53124         [BZ #14327]
53125         * include/stdlib.h (__mktemp): Add declaration.
53126         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53127         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53129 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53131         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53132         definitions.
53133         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53134         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53135         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53136         definitions here.
53137         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53138         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53139         definitions.
53140         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53141         and ONE.
53142         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53143         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53144         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53145         definitions.
53146         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53147         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53148         definitions.
53149         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53151         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53153 2013-01-15  David S. Miller  <davem@davemloft.net>
53155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53156         trunc{,f} to libm-sysdep_routes.
53157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53159         file.
53160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53162         file.
53163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53164         file.
53165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53167         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53168         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53169         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53170         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53171         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53172         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53175         nearbyint{,f} to libm-sysdep_routes.
53176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53178         New file.
53179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53180         file.
53181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53182         New file.
53183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53184         file.
53185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53187         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53188         file.
53189         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53190         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53191         file.
53192         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53193         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53194         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53196         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53197         libc_feholdexcept and libc_fesetenv.
53199 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53201         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53203 2013-01-14  David S. Miller  <davem@davemloft.net>
53205         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53206         (SPARC_ASM_VIS2_IFUNC): Likewise.
53207         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53209         use of 'siam' instruction.
53210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53211         Likewise.
53212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53213         Likewise.
53214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53215         Likewise.
53216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53221         file.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53223         file.
53224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53225         file.
53226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53227         file.
53228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53233         new VIS2 routines.
53234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53237         Likewise.
53238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53243         routines to libm-sysdep_routines.
53244         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53247         fdim/fdimf to libm-sysdep_routines.
53248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53249         file.
53250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53252         file.
53253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53256         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53257         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53258         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53259         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53261 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53263         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53264         to optimize copies.
53266         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53271         local variable MPTWO.
53272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53273         Likewise.
53275 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53277         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53278         GLOB_NOESCAPE.
53280 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53282         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53284 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53286         * manual/pattern.texi (glob_t): Document gl_flags.
53287         (glob64_t): Likewise.
53289 2013-01-11  David S. Miller  <davem@davemloft.net>
53291         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53292         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53293         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53294         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53295         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53296         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53297         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53298         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53299         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53300         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53301         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53302         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53303         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53305         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53306         sparc V9 rather than using V8 code.
53307         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53308         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53310         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53311         Move to...
53312         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53313         Here.
53315 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53317         [BZ #14941]
53318         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53319         not in the main loop.
53320         * configure: Regenerated.
53322 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53324         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53325         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53326         to just #else.
53327         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53328         [!__GLIBC_HAVE_LONG_LONG] case.
53329         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53330         condition to just #else.
53331         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53332         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53333         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53334         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53335         unconditional.
53336         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53337         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53338         #elif condition to just #else.
53339         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53340         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53341         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53342         #elif condition to just #else.
53344 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53346         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53347         (EF_MIPS_ARCH_64): Fix value.
53348         (EF_MIPS_ARCH_32R2): New.
53349         (EF_MIPS_ARCH_64R2): New.
53351 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53353         * Makeconfig (+link-pie-before-libc): New.
53354         (+link-pie-after-libc): Likewise.
53355         (+link-pie-tests): Likewise.
53356         (+link-pie): Rewritten.
53357         (link-before-libc): Remove $(config-LDFLAGS).
53358         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53359         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53360         (config-LDFLAGS): Renamed to ...
53361         (rtld-LDFLAGS): This.
53362         (rtld-tests-LDFLAGS): New macro.
53363         (link-libc-rpath-link): Likewise.
53364         (link-libc-tests-rpath-link): Likewise.
53365         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53366         (link-libc): Prepand $(link-libc-rpath-link).
53367         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53368         (test-program-prefix): New macro.
53369         (test-via-rtld-prefix): Likewise.
53370         (test-program-cmd): Likewise.
53371         (host-test-program-cmd): Likewise.
53372         * Makefile ($(common-objpfx)testrun.sh): Replace
53373         $(run-program-prefix) with $(test-program-prefix).
53374         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53375         $(rtld-LDFLAGS).
53376         ($(common-objpfx)shlib.lds): Likewise.
53377         (build-module-helper): Likewise.
53378         ($(common-objpfx)format.lds): Likewise.
53379         * Rules (binaries-pie-tests): New.
53380         (binaries-pie-notests): Likewise.
53381         (binaries-pie): Rewritten.
53382         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53383         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53384         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53385         (make-test-out): Replace $(host-built-program-cmd) with
53386         $(host-test-program-cmd).
53387         * config.make.in (build-hardcoded-path-in-tests): New variable.
53388         * configure.in (--enable-hardcoded-path-in-tests): New configure
53389         option.
53390         (hardcoded_path_in_tests): New AC_SUBST.
53391         * configure: Regenerated.
53392         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53393         $(built-program-cmd) with $(test-program-cmd).
53394         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53395         (test_program_cmd): This.
53396         * elf/Makefile ($(objpfx)order.out): Run test with
53397         $(test-program-prefix).
53398         ($(objpfx)order2.out): Likewise.
53399         ($(objpfx)tst-initorder.out): Likewise.
53400         ($(objpfx)tst-initorder2.out): Likewise.
53401         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53402         $(test-program-cmd).
53403         ($(objpfx)tst-array1-static.out): Likewise.
53404         ($(objpfx)tst-array2.out): Likewise.
53405         ($(objpfx)tst-array3.out): Likewise.
53406         ($(objpfx)tst-array4.out): Likewise.
53407         ($(objpfx)tst-array5.out): Likewise.
53408         ($(objpfx)tst-array5-static.out): Likewise.
53409         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53410         $(test-program-cmd).
53411         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53412         $(run-program-prefix) with $(test-program-prefix).
53413         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53414         (test_program_prefix): This.
53415         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53416         $(run-program-prefix) with $(test-program-prefix).
53417         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53418         (test_program_prefix): This.
53419         * iconvdata/tst-tables.sh: Likewise.
53420         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53421         $(run-program-prefix) with $(test-program-prefix).
53422         ($(objpfx)tst-translit.out): Likewise.
53423         ($(objpfx)tst-gettext2.out): Likewise.
53424         ($(objpfx)tst-gettext4.out): Likewise.
53425         ($(objpfx)tst-gettext6.out): Likewise.
53426         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53427         (test_program_prefix): This.
53428         * intl/tst-gettext2.sh: Likewise.
53429         * intl/tst-gettext4.sh  Likewise.
53430         * intl/tst-gettext6.sh: Likewise.
53431         * intl/tst-translit.sh: Likewise.
53432         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53433         with $(test-program-cmd).
53434         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53435         $(run-program-prefix) with $(test-program-prefix).
53436         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53437         (test_program_prefix): This.
53438         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53439         $(run-program-prefix) with $(test-program-prefix).
53440         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53441         (test_program_prefix): This.
53442         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53443         * posix/Makefile ($(objpfx)globtest.out): Replace
53444         $(run-via-rtld-prefix) and $(test-wrapper) with
53445         $(test-program-prefix) and $(test-via-rtld-prefix).
53446         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53447         $(test-program-prefix).
53448         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53449         $(host-test-program-cmd).
53450         (tst-spawn-ARGS): Likewise.
53451         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53452         $(test-program-prefix).
53453         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53454         (test_via_rtld_prefix): This.
53455         (test_wrapper): Renamed to ...
53456         (test_program_prefix): This.
53457         (run_program_prefix): Replaced by test_program_prefix.
53458         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53459         (test_program_prefix): This.
53460         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53461         with $(host-test-program-cmd).
53462         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53463         $(run-program-prefix) with $(test-program-prefix).
53464         ($(objpfx)tst-printf.out): Likewise.
53465         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53466         $(test-program-cmd).
53467         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53468         (test_program_prefix): This.
53469         * stdio-common/tst-unbputc.sh: Likewise.
53470         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53471         $(run-program-prefix) with $(test-program-prefix).
53472         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53473         (test_program_prefix): This.
53474         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53475         $(built-program-cmd) with $(test-program-cmd).
53477 2013-01-11  Andreas Jaeger  <aj@suse.de>
53479         [BZ #15003]
53480         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53481         value. Sync with Linux 3.7.
53483 2013-01-10  David S. Miller  <davem@davemloft.net>
53485         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53486         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53487         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53489 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53491         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53492         never set.
53493         * configure: Regenerated.
53495 2013-01-10  David S. Miller  <davem@davemloft.net>
53497         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53498         sparc V9 rather than using V8 code.
53499         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53500         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53502 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53504         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53505         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53506         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53507         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53508         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53509         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53510         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53511         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53512         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53513         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53514         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53515         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53516         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53517         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53518         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53519         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53520         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53521         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53522         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53523         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53524         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53525         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53526         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53527         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53528         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53529         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53530         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53532 2013-01-10  David S. Miller  <davem@davemloft.net>
53534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53536 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53538         * posix/Makefile (tests-static): New variable.
53539         (tests): Add $(tests-static).
53540         (tst-exec-static-ARGS): New variable.
53541         (tst-spawn-static-ARGS): Likewise.
53542         * posix/tst-exec-static.c: New file.
53543         * posix/tst-spawn-static.c: Likewise.
53544         * posix/tst-exec.c: Support run directly.
53545         * posix/tst-spawn.c: Likewise.
53547 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53549         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53550         long.
53551         * math/bits/mathcalls.h (llrint): Likewise.
53552         (llround): Likewise.
53553         * stdlib/stdlib.h (struct drand48_data): Likewise.
53554         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53555         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53556         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53557         Likewise.
53558         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53559         Likewise.
53560         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53561         (elf_greg_t): Likewise.
53562         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53563         (__jmp_buf): Likewise.
53564         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53565         definitions.
53566         (llrint): Likewise, for all definitions.
53567         (llrintl): Likewise.
53569         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53570         Remove [__GNUC__] condition.
53571         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53572         condition to just [__USE_ISOC99].
53573         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53575 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53577         [BZ #14200]
53578         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53579         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53580         defined.
53581         (_POSIX_V6_ILP32_OFF32): Likewise.
53582         (_XBS5_ILP32_OFF32): Likewise.
53583         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53584         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53586 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53591         doubles __mpexp_twomm1.  Adjust usage.
53592         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53593         Remove.
53595 2013-01-10  Andreas Schwab  <schwab@suse.de>
53597         [BZ #14964]
53598         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53599         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53601 2013-01-09  David S. Miller  <davem@davemloft.net>
53603         [BZ #15003]
53604         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53605         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53606         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53607         (TCP_FASTOPEN): Define.
53608         (tcp_repair_opt): New structure.
53609         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53610         enum values.
53611         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53612         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53613         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53614         (tcp_cookie_transactions): New structure.
53616 2013-01-09  Anton Blanchard  <anton@samba.org>
53618         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53619         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53621         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53623 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53625         * include/features.h (__USE_ANSI): Remove.
53627 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53629         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53631         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53633 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53635         * sysdeps/s390/fpu/libm-test-ulps: Update.
53637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53639         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53640         (__acr): Likewise.
53641         (__cpy): Likewise.
53642         (norm): Likewise.
53643         (denorm): Likewise.
53644         (__mp_dbl): Likewise.
53645         (__dbl_mp): Likewise.
53646         (add_magnitudes): Likewise.
53647         (sub_magnitudes): Likewise.
53648         (__add): Likewise.
53649         (__sub): Likewise.
53650         (__mul): Likewise.
53651         (__inv): Likewise.
53652         (__dvd): Likewise.
53653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53654         (__acr): Likewise.
53655         (__cpy): Likewise.
53656         (norm): Likewise.
53657         (denorm): Likewise.
53658         (__mp_dbl): Likewise.
53659         (__dbl_mp): Likewise.
53660         (add_magnitudes): Likewise.
53661         (sub_magnitudes): Likewise.
53662         (__add): Likewise.
53663         (__sub): Likewise.
53664         (__mul): Likewise.
53665         (__inv): Likewise.
53666         (__dvd): Likewise.
53667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53668         (__acr): Likewise.
53669         (__cpy): Likewise.
53670         (norm): Likewise.
53671         (denorm): Likewise.
53672         (__mp_dbl): Likewise.
53673         (__dbl_mp): Likewise.
53674         (add_magnitudes): Likewise.
53675         (sub_magnitudes): Likewise.
53676         (__add): Likewise.
53677         (__sub): Likewise.
53678         (__mul): Likewise.
53679         (__inv): Likewise.
53680         (__dvd): Likewise.
53682 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53684         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53685         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53686         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53687         2 && __USE_EXTERN_INLINES]: Likewise.
53689 2013-01-08  Andreas Jaeger  <aj@suse.de>
53691         [BZ# 14985]
53692         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53693         Remove.
53694         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53695         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53697 2013-01-07  Anton Blanchard  <anton@samba.org>
53699         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53700         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53701         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53702         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53703         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53704         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53705         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53706         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53708         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53709         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53710         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53711         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53712         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53713         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53714         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53715         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53717         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53718         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53719         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53720         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53722         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53723         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53724         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53725         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53726         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53728         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53729         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53732         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53733         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53734         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53735         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53736         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53737         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53738         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53739         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53740         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53741         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53743 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53745         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53746         (__MALLOC_PMT): Likewise.
53747         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53748         [__GNUC__], only on [_LIBC].
53749         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53750         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53751         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53752         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53753         forward declaration.
53754         (realloc_hook_ini): Likewise.
53755         (memalign_hook_ini): Likewise.
53756         (__libc_memalign): Do not use __MALLOC_PMT in variable
53757         declaration.
53758         (__libc_valloc): Likewise.
53759         (__libc_pvalloc): Likewise.
53760         (__libc_calloc): Likewise.
53761         (__posix_memalign): Likewise.
53763         [BZ #14996]
53764         * math/s_casinh.c: Include <float.h>.
53765         (__casinh): Do not do computation with squaring and square root
53766         for large arguments.
53767         * math/s_casinhf.c: Include <float.h>.
53768         (__casinhf): Do not do computation with squaring and square root
53769         for large arguments.
53770         * math/s_casinhl.c: Include <float.h>.
53771         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53772         (__casinhl): Do not do computation with squaring and square root
53773         for large arguments.
53774         * math/libm-test.inc (casin_test): Add more tests.
53775         (casinh_test): Likewise.
53776         * sysdeps/i386/fpu/libm-test-ulps: Update.
53777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53779 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53781         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53782         (__x86_64_raw_data_cache_size): Likewise.
53783         (__x86_64_data_cache_size_half): Likewise.
53784         (__x86_64_raw_data_cache_size_half): Likewise.
53785         (__x86_64_shared_cache_size): Likewise.
53786         (__x86_64_raw_shared_cache_size): Likewise.
53787         (__x86_64_shared_cache_size_half): Likewise.
53788         (__x86_64_raw_shared_cache_size_half): Likewise.
53789         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53790         to ...
53791         (__x86_data_cache_size): This.
53792         (__x86_64_raw_data_cache_size): Renamed to ...
53793         (__x86_raw_data_cache_size): This.
53794         (__x86_64_data_cache_size_half): Renamed to ...
53795         (__x86_data_cache_size_half): This.
53796         (__x86_64_raw_data_cache_size_half): Renamed to ...
53797         (__x86_raw_data_cache_size_half): This.
53798         (__x86_64_shared_cache_size): Renamed to ...
53799         (__x86_shared_cache_size): This.
53800         (__x86_64_raw_shared_cache_size): Renamed to ...
53801         (__x86_raw_shared_cache_size): This.
53802         (__x86_64_shared_cache_size_half): Renamed to ...
53803         (__x86_shared_cache_size_half): This.
53804         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53805         (__x86_raw_shared_cache_size_half): This.
53806         * sysdeps/x86_64/memcpy.S: Updated.
53807         * sysdeps/x86_64/memset.S: Likewise.
53808         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53810         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53812 2013-01-04  David S. Miller  <davem@davemloft.net>
53814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53816 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53818         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53819         1 to avoid redefinition warning.
53820         (__USE_GNU): Don't define.
53821         (init_signaling_nan): Protoize.
53823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53825 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53827         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53829         (__cpymn): Likewise.
53830         (norm): Remove commented code.
53831         (denorm): Likewise.
53832         (__mp_dbl): Likewise.
53833         (__inv): Likewise.
53834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53835         (__cpymn): Likewise.
53836         (norm): Remove commented code.
53837         (denorm): Likewise.
53838         (__mp_dbl): Likewise.
53839         (__inv): Likewise.
53841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53842         mp_no value for 1.0 and 2.0.
53843         (norm): Use RADIXI instead of radixi.d.
53844         (denorm): Likewise.
53845         (__mul): Use 0.0 instead of zero.d.
53846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53847         mp_no value for 1.0 and 2.0.
53848         (norm): Use RADIXI instead of radixi.d.
53849         (denorm): Likewise.
53850         (__mul): Use 0.0 instead of zero.d.
53852 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53854         [BZ #14994]
53855         * math/s_casinh.c (__casinh): Reduce finite argument to first
53856         quadrant then set signs of results at the end.
53857         * math/s_casinhf.c (__casinhf): Likewise.
53858         * math/s_casinhl.c (__casinhl): Likewise.
53859         * math/libm-test.inc (casin_test): Add more tests.
53860         (casinh_test): Likewise.
53861         * sysdeps/i386/fpu/libm-test-ulps: Update.
53862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53864 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53866         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53868         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53870         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53871         declarations.
53872         (denorm): Likewise.
53873         (__mp_dbl): Likewise.
53874         (__inv): Likewise.
53876         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53877         and adjust the header comment.
53879         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53880         variable name from declaration.
53882 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53885         Initialize COMMON_CPUID_INDEX_7 element.
53886         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53887         (CPUID_RTM): Likewise.
53888         (HAS_RTM): Likewise.
53889         (COMMON_CPUID_INDEX_7): New enum.
53891 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53893         [BZ #14981]
53894         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53895         size is zero, record memory as freed.
53897 2013-01-03  Andreas Jaeger  <aj@suse.de>
53899         * po/ia.po: Add new Interlingua translation.
53901 2012-01-03  Allan McRae  <allan@archlinux.org>
53903         * locale/programs/localedef.c: Fix description of '--posix' flag.
53905 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53907         * NEWS: Update dates in second copyright notice.
53908         * README: Update copyright dates in example.
53909         * manual/libc.texinfo: Update copyright dates.
53910         * scripts/test-installation.pl: Update copyright date in --version
53911         output.
53913         * hurd/ctty-input.c: Fix copyright notice formatting.
53914         * hurd/ctty-output.c: Likewise.
53915         * hurd/dtable.c: Likewise.
53916         * hurd/hurd-raise.c: Likewise.
53917         * hurd/hurdprio.c: Likewise.
53918         * hurd/msgportdemux.c: Likewise.
53919         * misc/sys/file.h: Likewise.
53920         * misc/sys/ioctl.h: Likewise.
53921         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53922         * sysdeps/mach/hurd/chdir.c: Likewise.
53923         * sysdeps/mach/hurd/fchdir.c: Likewise.
53924         * sysdeps/mach/hurd/rename.c: Likewise.
53925         * sysdeps/mach/hurd/rmdir.c: Likewise.
53926         * sysdeps/mach/hurd/seekdir.c: Likewise.
53927         * sysdeps/mach/hurd/setsid.c: Likewise.
53928         * sysdeps/posix/wait3.c: Likewise.
53930         * All files with FSF copyright notices: Update copyright dates
53931         using scripts/update-copyrights.
53932         * intl/plural.c: Regenerated.
53933         * locale/programs/charmap-kw.h: Likewise.
53934         * locale/programs/locfile-kw.h: Likewise.
53936 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53938         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53939         four values.
53941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53942         calculation loop and add branch prediction.
53944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53945         check access beyond bounds of m1np.
53947         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53948         MPTWO.
53949         (__inv): Remove local variable MPTWO to use the global
53950         constant.
53951         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53952         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53953         variable MPTWO.
53954         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53955         MP3HALFS static const.
53957 2013-01-01  David S. Miller  <davem@davemloft.net>
53959         * po/ca.po: Update from translation team.
53961 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53963         * scripts/update-copyrights: New file.
53964         * Makeconfig: Reformat copyright notice.
53965         * ctype/ctype.h: Likewise.
53966         * debug/swprintf_chk.c: Likewise.
53967         * elf/dl-cache.c: Likewise.
53968         * elf/dl-debug.c: Likewise.
53969         * elf/dl-object.c: Likewise.
53970         * grp/initgroups.c: Likewise.
53971         * hurd/Makefile: Likewise.
53972         * hurd/hurd/signal.h: Likewise.
53973         * hurd/hurdfault.c: Likewise.
53974         * hurd/hurdioctl.c: Likewise.
53975         * hurd/hurdlookup.c: Likewise.
53976         * hurd/intr-msg.c: Likewise.
53977         * iconv/gconv_open.c: Likewise.
53978         * libio/swprintf.c: Likewise.
53979         * locale/lc-ctype.c: Likewise.
53980         * locale/nl_langinfo.c: Likewise.
53981         * mach/Machrules: Likewise.
53982         * mach/Makefile: Likewise.
53983         * malloc/obstack.h: Likewise.
53984         * manual/Makefile: Likewise.
53985         * manual/tsort.awk: Likewise.
53986         * misc/bits/stab.def: Likewise.
53987         * nis/nis_print_group_entry.c: Likewise.
53988         * nis/nis_table.c: Likewise.
53989         * nis/nss_compat/compat-pwd.c: Likewise.
53990         * nis/nss_compat/compat-spwd.c: Likewise.
53991         * po/Makefile: Likewise.
53992         * posix/fnmatch.c: Likewise.
53993         * posix/regex.h: Likewise.
53994         * resolv/Makefile: Likewise.
53995         * resolv/nss_dns/dns-network.c: Likewise.
53996         * resolv/res_hconf.c: Likewise.
53997         * scripts/gen-sorted.awk: Likewise.
53998         * soft-fp/soft-fp.h: Likewise.
53999         * stdio-common/printf.h: Likewise.
54000         * stdlib/monetary.h: Likewise.
54001         * stdlib/random.c: Likewise.
54002         * stdlib/random_r.c: Likewise.
54003         * sysdeps/generic/Makefile: Likewise.
54004         * sysdeps/gnu/Makefile: Likewise.
54005         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54007         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54009         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54012         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54013         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54014         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54015         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54016         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54017         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54018         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54019         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54020         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54021         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54022         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54025         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54026         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54027         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54028         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54029         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54030         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54031         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54032         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54033         * sysdeps/mach/hurd/errnos.awk: Likewise.
54034         * sysdeps/mach/hurd/fork.c: Likewise.
54035         * sysdeps/mach/hurd/getcwd.c: Likewise.
54036         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54037         * sysdeps/mach/hurd/mmap.c: Likewise.
54038         * sysdeps/mach/hurd/utimes.c: Likewise.
54039         * sysdeps/mach/hurd/xmknod.c: Likewise.
54040         * sysdeps/posix/profil.c: Likewise.
54041         * sysdeps/posix/readdir_r.c: Likewise.
54042         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54043         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54044         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54045         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54047         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54048         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54049         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54051         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54053         * sysdeps/pthread/lio_listio.c: Likewise.
54054         * sysdeps/sparc/dl-procinfo.h: Likewise.
54055         * sysdeps/unix/i386/sysdep.S: Likewise.
54056         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54057         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54058         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54059         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54061         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54062         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54063         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54064         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54065         * sysdeps/wordsize-32/divdi3.c: Likewise.
54066         * time/sys/time.h: Likewise.
54067         * wcsmbs/Makefile: Likewise.
54069 2013-01-01  David S. Miller  <davem@davemloft.net>
54071         * po/fr.po: Update from translation team.
54073         * catgets/gencat.c: Update copyright year.
54074         * csu/version.c: Likewise.
54075         * debug/catchsegv.sh: Likewise.
54076         * debug/pcprofiledump.c: Likewise.
54077         * debug/xtrace.sh: Likewise.
54078         * elf/ldconfig.c: Likewise.
54079         * elf/ldd.bash.in: Likewise.
54080         * elf/pldd.c: Likewise.
54081         * elf/sotruss.ksh: Likewise.
54082         * elf/sprof.c: Likewise.
54083         * iconv/iconv_prog.c: Likewise.
54084         * iconv/iconvconfig.c: Likewise.
54085         * locale/programs/locale.c: Likewise.
54086         * locale/programs/localedef.c: Likewise.
54087         * login/programs/pt_chown.c: Likewise.
54088         * malloc/memusage.sh: Likewise.
54089         * malloc/memusagestat.c: Likewise.
54090         * malloc/mtrace.pl: Likewise.
54091         * nscd/nscd.c: Likewise.
54092         * nss/getent.c: Likewise.
54093         * nss/makedb.c: Likewise.
54094         * posix/getconf.c: Likewise.
54096 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54098         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54099         numbers.
54101 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54103         * math/bits/mathcalls.h (modf): Use __nonnull.
54105 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54107         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54108         (split): Use macro CN instead of the bare value.
54109         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54110         could be used.
54111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54112         instead of the bare value.
54113         (power1): Likewise.
54115 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54118         __ATAN_TWOM.
54119         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54121         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54122         their values.
54123         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54125         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54126         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54128 2012-12-28  Andreas Jaeger  <aj@suse.de>
54130         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54131         values are from Linux 3.7.
54133         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54134         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54136 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54138         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54139         TRUE case.
54141         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54142         (norm): Likewise.
54143         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54144         variables with preprocessor constants.
54145         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54146         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54147         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54149 2012-12-27  Bruno Haible  <bruno@clisp.org>
54151         [BZ #14317]
54152         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54153         only if needed.
54155 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54158         and use variable directly.
54159         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54161         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54162         MPONE.
54163         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54164         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54165         variable MPONE.
54166         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54168         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54169         include directive.  Remove local variable MPONE.
54170         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54171         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54172         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54174 2012-12-25  David S. Miller  <davem@davemloft.net>
54176         * version.h (RELEASE): Set to "development".
54177         (VERSION): Set to "2.17.90".
54178         * NEWS: Add 2.18 section.
54180 2012-12-21  David S. Miller  <davem@davemloft.net>
54182         * po/hr.po: Update from translation team.
54184 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54186         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54188 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54190         * NEWS:  Mention new memcpy for MIPS.
54192 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54194         * manual/contrib.texi (Contributors): Spelling correction.
54196 2012-12-15  David S. Miller  <davem@davemloft.net>
54198         * po/ru.po: Update from translation team.
54200 2012-12-13  David S. Miller  <davem@davemloft.net>
54202         * NEWS: Mention IFUNC testsuite enhancements.
54204         * po/pl.po: Update from translation team.
54205         * po/bg.po: Likewise.
54207         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54208         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54210 2012-12-11  David S. Miller  <davem@davemloft.net>
54212         * po/sv.po: Update from translation team.
54214         * po/vi.po: Update from translation team.
54216         * po/cs.po: Update from translation team.
54218         * po/de.po: Update from translation team.
54219         * po/eo.po: Likewise.
54220         * po/nl.po: Likewise.
54222 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54224         [BZ #14246]
54225         * manual/argp.texi (Argp Helper Functions): Move node to follow
54226         Argp Parsing State.
54228         [BZ #14872]
54229         * manual/conf.texi (Limits on File System Capacity): Mention if
54230         terminating null is included in the max size.
54232 2012-12-10  Andreas Jaeger  <aj@suse.de>
54234         * po/cs.po: Update from translation team.
54236 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54238         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54239         void pointer and cast to uintptr_t.
54240         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54241         path.
54242         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54243         * sysdeps/s390/s390-64/memset.S: Likewise.
54245 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54247         [BZ #14833]
54248         * menual/message.texi (Message Translation): Fix typos.
54249         (Helper programs for gettext): Likewise.
54251 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54253         [BZ #14898]
54254         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54255         Change to -1.
54257 2012-12-07  David S. Miller  <davem@davemloft.net>
54259         * po/libc.pot: Update.
54261 2012-12-07  Richard Henderson  <rth@redhat.com>
54263         [BZ #10114]
54264         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54265         normal/normal case to before the switch.
54266         (_FP_DIV): Likewise.
54268 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54269             Mike Frysinger  <vapier@gentoo.org>
54271         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54272         check for __NR_fadvise64_64.
54274 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54276         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54277         0, not just to plain "0" as a statement.
54278         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54279         with cw.
54281 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54283         * NEWS: Use sourceware.org in Bugzilla URL.
54285 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54288         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54290         * stdio-common/tst-put-error.c (do_test): Add newline to the
54291         padded test to ensure flush.
54293 2012-12-05  Jeff Law  <law@redhat.com>
54295         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54297 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54299         * README: Don't refer to ports add-on as distributed separately.
54300         Mention AArch64 in list of systems supported in the ports add-on.
54302         * LICENSES: Add more non-FSF copyright and license notices.
54304         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54305         ((unused)).
54307         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54309         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54310         10000 as width of padded output.
54312 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54314         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54316         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54317         variable LX with __attribute__ ((unused)).
54318         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54319         Likewise.
54320         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54321         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54323         with __attribute__ ((unused)).
54325 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54327         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54329 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54331         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54332         (CFLAGS-nldbl-acos.c): New variable.
54333         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54334         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54335         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54336         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54337         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54338         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54339         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54340         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54341         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54342         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54343         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54344         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54345         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54346         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54347         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54348         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54349         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54350         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54351         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54352         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54353         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54354         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54355         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54356         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54357         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54358         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54359         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54360         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54361         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54362         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54363         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54364         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54365         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54366         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54367         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54368         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54369         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54370         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54371         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54372         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54373         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54374         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54375         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54376         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54377         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54378         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54379         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54380         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54381         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54382         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54383         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54384         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54385         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54386         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54387         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54388         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54389         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54390         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54391         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54392         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54393         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54394         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54395         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54396         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54397         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54398         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54399         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54400         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54401         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54402         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54403         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54404         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54405         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54406         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54407         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54408         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54409         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54410         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54411         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54412         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54413         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54414         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54415         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54416         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54417         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54418         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54419         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54420         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54421         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54422         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54423         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54424         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54425         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54426         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54427         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54428         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54429         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54432         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54434         [BZ #14914]
54435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54436         whole low double instead of just low 47 bits when splitting values
54437         into two parts.
54439 2012-12-03  Allan McRae  <allan@archlinux.org>
54441         * manual/stdio.texi (Predefined Printf Handlers): Remove
54442         @hsep and @vsep usage.
54444 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54446         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54447         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54449 2012-12-03  Jeff Law  <law@redhat.com>
54451         * time/sys/time.h (settimeofday): Do not mark TV argument
54452         as __nonnull.
54454 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54456         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54457         when currently writing and seek to current position when not.
54458         * libio/Makefile (tests): Remove bug-fclose1.
54459         * libio/bug-fclose1.c: Delete.
54461 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54463         * manual/arith.texi (feenableexcept): Fix typo.
54464         (fedisableexcept): Likewise.
54466 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54468         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54469         second, differently-typed declaration, rather than a cast.
54471 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54473         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54474         * include/rpc/svc.h: ... here.
54476 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54478         [BZ #13013]
54479         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54480         depending n and resplen2 to catch cases where answer
54481         equals answerp2.
54483 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54485         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54486         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54488 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54492 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54494         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54496 2012-11-28  Jeff Law  <law@redhat.com>
54498         [BZ #13761]
54499         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54500         dataset_temporary.  Track alloca usage into alloca_used.
54501         If dataset is large allocate and release it via malloc/free.
54503 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54505         [BZ #14197]
54506         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54508 2012-11-28  David S. Miller  <davem@davemloft.net>
54510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54512 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54514         [BZ #14803]
54515         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54516         of pi/2 rounded to nearest to 64 bits.
54517         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54518         nearest to 64 bits.
54519         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54520         bits.
54522 2012-11-28  Jeff Law <law@redhat.com>
54523             Martin Osvald <mosvald@redhat.com>
54525         [BZ #14889]
54526         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54527         * sunrpc/svc.c: Include time.h.
54528         (__svc_accept_failed): New function.
54529         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54530         any reason other than EINTR, call __svc_accept_failed.
54531         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54532         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54534 2012-11-28  Andreas Schwab  <schwab@suse.de>
54536         * scripts/abilist.awk: Also handle indirect functions in .opd
54537         section.
54539 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54541         [BZ #13881]
54542         * sysdeps/x86/fpu/powl_helper.c: New file.
54543         * sysdeps/x86/fpu/Makefile: Likewise.
54544         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54545         (p3): New object.
54546         (__ieee754_powl): Use __powl_helper for finite arguments except
54547         integer exponents below 8.
54548         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54549         (p3): New object.
54550         (__ieee754_powl): Use __powl_helper for finite arguments except
54551         integer exponents below 8.
54552         * math/libm-test.inc (pow_test): Add more tests and enable some
54553         previously disabled tests.
54554         * sysdeps/i386/fpu/libm-test-ulps: Update.
54555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54557 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54558             Carlos O'Donell  <carlos_odonell@mentor.com>
54560         * nss/makedb.c (is_prime): Assert that input is odd and greater
54561         than 4.  Note that fact in a comment too.
54562         (next_prime): Add 4 to input.
54564 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54566         [BZ #11741]
54567         * libio/Makefile (tests): Add test case tst-fwrite-error.
54568         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54569         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54570         * libio/tst-fwrite-error.c: New test case.
54572 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54574         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54575         before casting to void *.
54576         * include/libc-internal.h (__pointer_type): New macro.
54577         (__integer_if_pointer_type_sub): Likewise.
54578         (__integer_if_pointer_type): Likewise.
54579         (cast_to_integer): Likewise.
54580         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54581         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54582         before casting to atomic64_t.
54583         (atomic_exchange_acq): Likewise.
54584         (__arch_exchange_and_add_body): Likewise.
54585         (__arch_add_body): Likewise.
54586         (atomic_add_negative): Likewise.
54587         (atomic_add_zero): Likewise.
54589 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54591         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54592         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54593         (add_fdes): Likewise.
54594         (linear_search_fdes): Likewise.
54595         (binary_search_unencoded_fdes): Likewise.
54597 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54599         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54601 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54603         * configure.in: Autodetect C++ header directories.
54604         * configure: Regenerated.
54606 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54608         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54610 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54614 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54616         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54617         LDBL_MANT_DIG == 106]: Disable some tests.
54618         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54619         Likewise.
54620         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54621         Likewise.
54623         [BZ #14871]
54624         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54625         input for small inputs.  Return +/- pi/2 for large inputs.
54626         * math/libm-test.inc (atan_test): Add more tests.
54628         * sysdeps/generic/unwind-dw2-fde-glibc.c
54629         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54630         __attribute__ ((unused)).
54632         [BZ #14645]
54633         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54634         x * y if x and y are nonzero and z is zero.
54636         [BZ #14811]
54637         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54638         nonzero exponents with absolute value below 0x1p-117 to +/-
54639         0x1p-117.
54641         [BZ #14869]
54642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54643         up arguments below 2**-450, not just those below 2**-500.
54644         * math/libm-test.inc (hypot_test): Add another test.
54646         [BZ #14868]
54647         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54648         Return a+b for ratio over 2**120, not 2**60.
54649         * math/libm-test.inc (hypot_test): Add another test.
54651         * math/libm-test.inc (clog_test): Use
54652         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54653         (clog10_test): Likewise.
54655         [BZ #6778]
54656         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54658 2012-11-22  Andreas Schwab  <schwab@suse.de>
54660         * sysdeps/i386/fpu/libm-test-ulps: Update.
54662 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54664         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54665         printf output with newline.
54667 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54669         [BZ #14865]
54670         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54671         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54672         -z nodlopen, -z initfirst and -z execstack support.
54673         * configure: Regenerated.
54675         * elf/elf.h (DF_1_NODIRECT): New macro.
54676         (DF_1_IGNMULDEF): Likewise.
54677         (DF_1_NOKSYMS): Likewise.
54678         (DF_1_NOHDR): Likewise.
54679         (DF_1_EDITED): Likewise.
54680         (DF_1_NORELOC): Likewise.
54681         (DF_1_SYMINTPOSE): Likewise.
54682         (DF_1_GLOBAUDIT): Likewise.
54683         (DF_1_SINGLETON): Likewise.
54684         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54685         DT_1_SUPPORTED_MASK bits.
54686         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54688 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54690         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54692 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54694         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54695         macro.
54697         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54698         (sendmmsg): Move declarations...
54699         * socket/sys/socket.h: ... here.
54700         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54701         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54702         include it from...
54703         * socket/recvmmsg.c: ... this new file.
54704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54705         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54706         definition of __sendmmsg hidden.
54707         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54708         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54709         Move ENOSYS stub into and include it from...
54710         * socket/sendmmsg.c: ... this new file.
54711         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54712         (sysdep_routines): Move recvmmsg and sendmmsg...
54713         * socket/Makefile (routines): ... here.
54714         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54715         (GLIBC_PRIVATE): Add __sendmmsg.
54716         * include/sys/socket.h (__sendmmsg): Add declarations.
54717         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54718         sendmmsg.
54720 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54722         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54723         variable I1 with __attribute__ ((unused)).
54724         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54726 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54728         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54729         DUMMY variables with __attribute__ ((unused)).
54731         * bits/byteswap.h: Include <bits/types.h>.
54732         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54734 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54736         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54737         string_t.  Do not manually set errno.
54738         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54739         length with __strnlen.  Make sure to both set errno and return it on
54740         failure.
54742 2012-11-19  David S. Miller  <davem@davemloft.net>
54744         With help from Joseph Myers.
54745         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54746         very large arguments properly.
54747         * math/libm-test.inc (atan_test): New tests.
54748         (atan2_test): New tests.
54749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54752 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54754         [BZ #14856]
54755         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54756         Define to 3.
54758         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54759         [POSIX] (EADDRNOTAVAIL): Likewise.
54760         [POSIX] (EAFNOSUPPORT): Likewise.
54761         [POSIX] (EALREADY): Likewise.
54762         [POSIX] (ECONNABORTED): Likewise.
54763         [POSIX] (ECONNREFUSED): Likewise.
54764         [POSIX] (ECONNRESET): Likewise.
54765         [POSIX] (EDESTADDRREQ): Likewise.
54766         [POSIX] (EDQUOT): Likewise.
54767         [POSIX] (EHOSTUNREACH): Likewise.
54768         [POSIX] (EIDRM): Likewise.
54769         [POSIX] (EISCONN): Likewise.
54770         [POSIX] (ELOOP): Likewise.
54771         [POSIX] (EMULTIHOP): Likewise.
54772         [POSIX] (ENETDOWN): Likewise.
54773         [POSIX] (ENETUNREACH): Likewise.
54774         [POSIX] (ENOBUFS): Likewise.
54775         [POSIX] (ENODATA): Likewise.
54776         [POSIX] (ENOLINK): Likewise.
54777         [POSIX] (ENOMSG): Likewise.
54778         [POSIX] (ENOPROTOOPT): Likewise.
54779         [POSIX] (ENOSR): Likewise.
54780         [POSIX] (ENOSTR): Likewise.
54781         [POSIX] (ENOTCONN): Likewise.
54782         [POSIX] (ENOTSOCK): Likewise.
54783         [POSIX] (EOPNOTSUPP): Likewise.
54784         [POSIX] (EOVERFLOW): Likewise.
54785         [POSIX] (EPROTO): Likewise.
54786         [POSIX] (EPROTONOSUPPORT): Likewise.
54787         [POSIX] (EPROTOTYPE): Likewise.
54788         [POSIX] (ESTALE): Likewise.
54789         [POSIX] (ETIME): Likewise.
54790         [POSIX] (ETXTBSY): Likewise.
54791         [POSIX] (EWOULDBLOCK): Likewise.
54792         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54793         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54794         [POSIX] (SEEK_CUR): Likewise.
54795         [POSIX] (SEEK_END): Likewise.
54796         [POSIX || UNIX98] (mode_t): Do not require.
54797         [POSIX] (off_t): Likewise.
54798         [POSIX] (pid_t): Likewise.
54799         [POSIX] (sys/stat.h): Do not allow header.
54800         [POSIX] (unistd.h): Likewise.
54801         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54802         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54803         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54804         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54805         require.
54806         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54807         sigevent): Specify elements.
54808         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54809         entry.
54810         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54811         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54813         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54814         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54815         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54816         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54817         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54818         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54819         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54820         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54821         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54822         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54823         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54824         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54825         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54826         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54827         Likewise.
54828         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54829         Likewise.
54830         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54831         Likewise.
54832         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54833         Likewise.
54834         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54835         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54836         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54837         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54838         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54839         Specify lower bound on value.
54840         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54841         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54842         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54843         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54844         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54845         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54846         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54847         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54848         value.
54849         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54850         as optional.
54851         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54852         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54853         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54854         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54855         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54856         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54857         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54858         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54859         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54860         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54861         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54862         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54863         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54864         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54865         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54866         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54867         entry.
54868         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54869         optional.
54870         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54871         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54872         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54873         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54874         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54875         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54876         Likewise.
54877         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54878         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54879         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54880         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54881         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54882         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54883         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54884         as optional.
54885         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54886         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54887         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54888         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54889         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54890         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54891         specify as optional.
54892         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54893         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54894         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54895         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54896         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54897         [XPG3] (NL_LANGMAX): Likewise.
54898         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54899         [POSIX || XPG3] (NL_NMAX): Likewise.
54900         [POSIX || XPG3] (NL_SETMAX): Likewise.
54901         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54902         [XPG3] (NZERO): Likewise.
54903         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54904         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54905         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54906         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54907         (REG_ERANGE): Expect.
54908         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54909         optional-constant.
54910         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54911         Use (void) in prototype.
54912         [POSIX] (*_t): Allow.
54913         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54914         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54915         (WRDE_BADVAL): Expect.
54917         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54918         expect.
54919         [XPG3 || XPG4] (O_RSYNC): Likewise.
54920         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54921         Likewise.
54922         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54923         [XPG3 || XPG4] (sigqueue): Likewise.
54924         [XPG3 || XPG4] (sigtimedwait): Likewise.
54925         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54926         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54927         [XPG3 || XPG4] (vsnprintf): Likewise.
54928         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54929         Likewise.
54930         [XPG3 || XPG4] (blksize_t): Likewise.
54931         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54932         Likewise.
54933         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54934         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54935         [XPG3 || XPG4] (struct itimerspec): Likewise.
54936         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54937         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54938         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54939         [XPG3 || XPG4] (clockid_t): Likewise.
54940         [XPG3 || XPG4] (timer_t): Likewise.
54941         [XPG3 || XPG4] (clock_getres): Likewise.
54942         [XPG3 || XPG4] (clock_gettime): Likewise.
54943         [XPG3 || XPG4] (clock_settime): Likewise.
54944         [XPG3 || XPG4] (nanosleep): Likewise.
54945         [XPG3 || XPG4] (timer_create): Likewise.
54946         [XPG3 || XPG4] (timer_delete): Likewise.
54947         [XPG3 || XPG4] (timer_gettime): Likewise.
54948         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54949         [XPG3 || XPG4] (timer_settime): Likewise.
54950         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54951         [XPG3 || XPG4] (getlogin_r): Likewise.
54952         [XPG3 || XPG4] (pread): Likewise.
54953         [XPG3 || XPG4] (pthread_atfork): Likewise.
54954         [XPG3 || XPG4] (pwrite): Likewise.
54956         [BZ #14835]
54957         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54958         <bits/siginfo.h>.
54960 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54962         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54963         finalizing MALLSTREAM.
54965         * sysdeps/mach/hurd/syncfs.c: New file.
54967 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54969         [BZ #14719]
54970         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54971         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54972         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54973         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54974         (_nss_dns_gethostbyname4_r): Likewise.
54975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54976         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54978 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54980         [BZ #13763]
54981         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54983 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54985         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54986         * elf/cache.c (print_entry): Print ",AArch64" for
54987         FLAG_AARCH64_LIB64
54989         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54990         * elf/cache.c (print_entry): Print ",hard-float" for
54991         FLAG_ARM_LIBHF.
54993 2012-11-18  David S. Miller  <davem@davemloft.net>
54995         With help from Joseph Myers.
54996         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54997         cutoff to 2**-13.
54998         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54999         cutoff to 2**-25.
55000         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55001         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55002         small.
55003         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55004         * math/libm-test.inc (y0_test): New tests.
55005         (y1_test): New tests.
55006         * sysdeps/i386/fpu/libm-test-ulps: Update.
55007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55010 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55012         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55013         64-bit targets.
55014         * configure: Regenerated.
55016 2012-11-17  David S. Miller  <davem@davemloft.net>
55018         [BZ #14811]
55019         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55020         nonzero exponents with absolute value below 0x1p-128 to +/-
55021         0x1p-128.
55023 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55025         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55027         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55029         * posix/getconf-speclist.c: New file.
55030         * posix/posix-envs.def: Likewise.
55031         * posix/confstr.c (START_ENV_GROUP): New macro.
55032         (END_ENV_GROUP): Likewise.
55033         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55034         (KNOWN_PRESENT_ENV_STRING): Likewise.
55035         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55036         (UNKNOWN_ENVIRONMENT): Likewise.
55037         (confstr): Include posix-envs.def instead of handling
55038         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55039         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55040         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55041         (END_ENV_GROUP): Likewise.
55042         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55043         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55044         (UNKNOWN_ENVIRONMENT): Likewise.
55045         (__sysconf): Include posix-envs.def instead of handling associated
55046         cases directly here.
55047         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55048         preprocessing getconf-speclist.c rather than running getconf or
55049         generating empty file.
55051 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55053         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55055 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55057         [BZ #14672]
55058         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55060 2012-11-16  David S. Miller  <davem@davemloft.net>
55062         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55063         smaller than LDBL_EPSILON/2.0L, just return xm1.
55065 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55067         * elf/tst-array1.c (init): Set constructor priority to 1000.
55068         (fini): Set destructor priority to 1000.
55069         * elf/tst-array2dep.c: Likewise.
55071 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55073         [BZ #11741]
55074         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55075         (_IO_new_file_xsputn): Also return EOF if none of the input
55076         data was written when overflow failed.
55077         * libio/iopadn.c (_IO_padn): Likewise.
55078         * libio/iowpadn.c (_IO_wpadn): Likewise.
55079         * stdio-common/tst-put-error.c: Add copyright notice.
55080         (do_test): Add case for printing padded string.
55081         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55082         _IO_padn returned error.
55083         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55084         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55085         return EOF.
55087 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55089         * libio/libioP.h: Add comment note that the references to C++
55090         bits are now obsolete.
55092 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55094         * math/libm-test.inc (check_complex): Use asprintf.
55096 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55098         * debug/pcprofiledump.c (print_version): Update copyright year.
55099         * malloc/memusagestat.c (print_version): Likewise.
55101 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55103         [BZ #14831]
55104         * elf/Makefile (tests): Add tst-audit8.
55105         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55106         ($(objpfx)tst-audit8.out): New target.
55107         (tst-audit8-ENV): New variable.
55108         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55109         audit if l_reloc_result is NULL.
55110         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55111         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55112         * elf/tst-audit8.c: New file.
55114 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55116         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55117         * misc/Makefile (CFLAGS-select.c): Define.
55118         * posix/Makefile (CFLAGS-pause.c): Define.
55120 2012-11-13  David S. Miller  <davem@davemloft.net>
55122         * crypt/Makefile: Move test targets after toplevel Rules
55123         inclusion.  Grab any necessary sysdep routines when linking.
55124         * crypt/md5.c (md5_process_block): Remove define, we will always
55125         name it __md5_process_block.
55126         (md5_finish_ctx): Update md5_process_block call.
55127         (md5_stream): Likewise.
55128         (md5_process_bytes): Likewise.
55129         (md5_process_block): Rename to __md5_process_block and move to ...
55130         * crypt/md5-block.c: ... here.
55131         * crypt/sha256.c (sha256_process_block): Move to ...
55132         * crypt/sha256-block.c: ... here.
55133         * crypt/sha512.c (sha512_process_block): Move to ...
55134         * crypt/sha512-block.c: ... here.
55135         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55136         path.
55137         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55138         * sysdeps/sparc/sparc64/multiarch/Makefile
55139         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55140         crypt subdir.
55141         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55142         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55143         multiarch changes.
55144         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55145         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55146         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55147         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55148         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55149         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55150         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55151         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55152         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55153         file.
55154         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55155         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55156         file.
55157         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55159 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55161         * timezone/tzselect.ksh: Update from tzcode git revision
55162         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55163         * timezone/zdump.c: Likewise.
55164         * timezone/zic.c: Likewise.
55165         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55166         in TZVERSION setting, not $(PKGVERSION).
55167         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55168         REPORT_BUGS_TO settings.
55170         [BZ #14838]
55171         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55172         macro.
55174 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55176         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55177         detection to immediately after _FP_ROUND().
55178         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55179         bits are 0.
55181 2012-11-11  David S. Miller  <davem@davemloft.net>
55183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55184         inttypes.h
55185         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55186         __close rather than their public counterparts.
55188 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55190         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55191         file.
55192         [UNIX98] (sem_timedwait): Do not expect.
55193         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55194         [XPG4 || UNIX98] (sockatmark): Do not expect.
55195         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55196         (clock_getcpuclockid): Do not expect.
55197         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55198         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55199         Do not expect.
55200         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55201         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55202         [UNIX98] (vwscanf): Likewise.
55203         [UNIX98] (vswscanf): Likewise.
55205 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55207         * timezone/version.h: Remove file.
55208         * timezone/README: Do not refer to version.h.
55209         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55210         $(objpfx)version.h.
55211         ($(objpfx)zdump.o): Likewise.
55212         ($(objpfx)version.h): New target.
55214         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55215         2012i.
55216         * timezone/README: Don't mention modification to tzselect.ksh.
55217         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55218         work on unmodified tzselect.ksh.  Substitute version numbers in
55219         tzselect.ksh.
55221         * Makefile (format-me): Remove.
55222         (INSTALL): Adjust indentation.  Use commands directly instead of
55223         using $(format-me).
55225         * aclocal.m4 (ACX_PKGVERSION): New macro.
55226         (ACX_BUGURL): Likewise.
55227         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55228         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55229         (REPORT_BUGS_TO): Likewise.
55230         * configure: Regenerated.
55231         * config.h.in (PKGVERSION): New macro.
55232         (REPORT_BUGS_TO): Likewise.
55233         * config.make.in (PKGVERSION): New variable.
55234         (PKGVERSION_TEXI): Likewise.
55235         (REPORT_BUGS_TO): Likewise.
55236         (REPORT_BUGS_TEXI): Likewise.
55237         * Makefile (format-me): Use -I$(common-objpfx)manual.
55238         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55239         ($(common-objpfx)manual/%): New target.
55240         (manual/%): Remove target.
55241         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55242         (print_version): Use PKGVERSION.
55243         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55244         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55245         and REPORT_BUGS_TO.
55246         ($(objpfx)xtrace): Likewise.
55247         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55248         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55249         (print_version): Use PKGVERSION.
55250         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55251         (do_version): Use PKGVERSION.
55252         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55253         REPORT_BUGS_TO.
55254         (common-ldd-rewrite): Likewise.
55255         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55256         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55257         (print_version): Use PKGVERSION.
55258         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55259         * elf/pldd.c (argp_program_bug_address): Remove variable.
55260         (more_help): New function.
55261         (argp): Use more_help.
55262         (print_version): Use PKGVERSION.
55263         * elf/sln.c (main): Use PKGVERSION.
55264         (usage): Use REPORT_BUGS_TO.
55265         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55266         (top level): Use PKGVERSION.
55267         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55268         (print_version): Use PKGVERSION.
55269         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55270         (print_version): Use PKGVERSION.
55271         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55272         (print_version): Use PKGVERSION.
55273         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55274         (print_version): Use PKGVERSION.
55275         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55276         (print_version): Use PKGVERSION.
55277         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55278         (print_version): Use PKGVERSION.
55279         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55280         and BUGURL.
55281         ($(objpfx)memusage): Likewise.
55282         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55283         (do_version): Use PKGVERSION.
55284         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55285         (print_version): Use PKGVERSION.
55286         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55287         ($PKGVERSION): New variable.
55288         ($REPORT_BUGS_TO): Likewise.
55289         (usage): Use $REPORT_BUGS_TO.
55290         (top level): Use $PKGVERSION.
55291         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55292         ($(objpfx)pkgvers.texi): New rule.
55293         ($(objpfx)stamp-pkgvers): Likewise.
55294         * manual/install.texi: Include pkgvers.texi.
55295         (--with-pkgversion): Document new configure option.
55296         (--with-bugurl): Likewise.
55297         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55298         than necessarily for this particular distribution.  Use
55299         REPORT_BUGS_TO for where to report bugs.
55300         * INSTALL: Regenerated.
55301         * manual/libc.texinfo: Include pkgvers.texi.
55302         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55303         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55304         (print_version): Use PKGVERSION.
55305         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55306         (print_version): Use PKGVERSION.
55307         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55308         (print_version): Use PKGVERSION.
55309         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55310         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55311         macro.
55312         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55313         (print_version): Use PKGVERSION.
55314         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55315         (print_version): Use PKGVERSION.
55316         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55317         and PKGVERSION.
55319         * timezone/checktab.awk: Update from tzcode 2012i.
55320         * timezone/ialloc.c: Likewise.
55321         * timezone/private.h: Likewise.
55322         * timezone/scheck.c: Likewise.
55323         * timezone/tzfile.h: Likewise.
55324         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55325         (TZVERSION): Hardcode tzcode version number.
55326         * timezone/zdump.c: Update from tzcode 2012i.
55327         * timezone/zic.c: Likewise.
55328         * timezone/version.h: New file.
55329         * timezone/README: Describe version.h.  Update upstream location.
55331         [BZ #14824]
55332         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55333         (mktemp): Enable declaration.
55334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55335         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55338         Likewise.
55339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55340         Likewise.
55341         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55342         Likewise.
55343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55344         Likewise.
55345         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55346         Likewise.
55347         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55348         Likewise.
55350         [BZ #14821]
55351         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55352         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55353         for copies of such integer values.
55354         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55355         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55357 2012-11-09  Andreas Jaeger  <aj@suse.de>
55359         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55360         definitions and declarations that are provided by
55361         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55363 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55365         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55366         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55367         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55368         definition.
55370 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55372         * elf/elf.h: Update comment before AArch64 relocations.
55374 2012-11-07  David S. Miller  <davem@davemloft.net>
55376         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55377         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55378         (__start_context): Declare.
55379         (__makecontext_ret): Delete.
55380         (__makecontext): Hook up __start_context instead of
55381         __makecontext_ret.
55382         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55383         (sysdep_routines): Add __start_context when in stdlib.
55385 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55387         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55388         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55389         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55390         hardcoded "nm".
55391         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55392         (READELF): New variable.  Use it instead of hardcoded "readelf".
55394 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55396         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55397         * sysdeps/x86/Makefile: Here.
55398         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55399         * sysdeps/x86/tst-xmmymm.sh: This.
55401 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55403         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55404         expectations.
55405         [UNIX98] (pthread_barrier_t): Do not expect.
55406         [UNIX98] (pthread_barrierattr_t): Likewise.
55407         [UNIX98] (pthread_spinlock_t): Likewise.
55408         [UNIX98] (pthread_barrier_destroy): Likewise.
55409         [UNIX98] (pthread_barrier_init): Likewise.
55410         [UNIX98] (pthread_barrier_wait): Likewise.
55411         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55412         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55413         [UNIX98] (pthread_barrierattr_init): Likewise.
55414         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55415         [UNIX98] (pthread_getcpuclockid): Likewise.
55416         [UNIX98] (pthread_mutex_timedlock): Likewise.
55417         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55418         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55419         [UNIX98] (pthread_sigmask): Likewise.
55420         [UNIX98] (pthread_spin_destroy): Likewise.
55421         [UNIX98] (pthread_spin_init): Likewise.
55422         [UNIX98] (pthread_spin_lock): Likewise.
55423         [UNIX98] (pthread_spin_trylock): Likewise.
55424         [UNIX98] (pthread_spin_unlock): Likewise.
55425         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55426         Do not expect.
55427         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55428         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55429         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55430         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55431         [XPG3 || XPG4] (pthread_key_t): Likewise.
55432         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55433         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55434         [XPG3 || XPG4] (pthread_once_t): Likewise.
55435         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55436         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55437         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55438         [XPG3 || XPG4] (pthread_t): Likewise.
55440         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55441         not expect.
55442         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55444         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55445         Change function return type to int.
55447         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55448         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55449         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55450         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55451         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55452         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55453         [!POSIX] (posix_madvise): Likewise.
55454         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55455         && !UNIX98].
55456         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55457         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55458         (mode_t): Likewise.
55459         (posix_mem_offset): Likewise.
55460         (posix_typed_mem_get_info): Likewise.
55461         (posix_typed_mem_open): Likewise.
55463         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55464         Change condition to [XOPEN2K8].
55466         * conform/conformtest.pl: Preprocess allow-header data with -x c
55467         instead of from stdin.
55468         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55469         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55470         [C99-based standards] (cerfc): Likewise.
55471         [C99-based standards] (cexp2): Likewise.
55472         [C99-based standards] (cexpm1): Likewise.
55473         [C99-based standards] (clog10): Likewise.
55474         [C99-based standards] (clog1p): Likewise.
55475         [C99-based standards] (clog2): Likewise.
55476         [C99-based standards] (clgamma): Likewise.
55477         [C99-based standards] (ctgamma): Likewise.
55478         [C99-based standards] (cerff): Likewise.
55479         [C99-based standards] (cerfcf): Likewise.
55480         [C99-based standards] (cexp2f): Likewise.
55481         [C99-based standards] (cexpm1f): Likewise.
55482         [C99-based standards] (clog10f): Likewise.
55483         [C99-based standards] (clog1pf): Likewise.
55484         [C99-based standards] (clog2f): Likewise.
55485         [C99-based standards] (clgammaf): Likewise.
55486         [C99-based standards] (ctgammaf): Likewise.
55487         [C99-based standards] (cerfl): Likewise.
55488         [C99-based standards] (cerfcl): Likewise.
55489         [C99-based standards] (cexp2l): Likewise.
55490         [C99-based standards] (cexpm1l): Likewise.
55491         [C99-based standards] (clog10l): Likewise.
55492         [C99-based standards] (clog1pl): Likewise.
55493         [C99-based standards] (clog2l): Likewise.
55494         [C99-based standards] (clgammal): Likewise.
55495         [C99-based standards] (ctgammal): Likewise.
55496         * conform/data/inttypes.h-data [C99-based standards]: Include
55497         stdint.h-data.  Remove all expectations for stdint.h contents.
55498         [C99-based standards] (PRI*): Do not allow.
55499         [C99-based standards] (SCN*): Likewise.
55500         [C99-based standards] (*_t): Likewise.
55501         [C99-based-standards] (PRId8): Expect macro.
55502         [C99-based-standards] (PRIi8): Likewise.
55503         [C99-based-standards] (PRIo8): Likewise.
55504         [C99-based-standards] (PRIu8): Likewise.
55505         [C99-based-standards] (PRIx8): Likewise.
55506         [C99-based-standards] (PRIX8): Likewise.
55507         [C99-based-standards] (SCNd8): Likewise.
55508         [C99-based-standards] (SCNi8): Likewise.
55509         [C99-based-standards] (SCNo8): Likewise.
55510         [C99-based-standards] (SCNu8): Likewise.
55511         [C99-based-standards] (SCNx8): Likewise.
55512         [C99-based-standards] (PRIdLEAST8): Likewise.
55513         [C99-based-standards] (PRIiLEAST8): Likewise.
55514         [C99-based-standards] (PRIoLEAST8): Likewise.
55515         [C99-based-standards] (PRIuLEAST8): Likewise.
55516         [C99-based-standards] (PRIxLEAST8): Likewise.
55517         [C99-based-standards] (PRIXLEAST8): Likewise.
55518         [C99-based-standards] (SCNdLEAST8): Likewise.
55519         [C99-based-standards] (SCNiLEAST8): Likewise.
55520         [C99-based-standards] (SCNoLEAST8): Likewise.
55521         [C99-based-standards] (SCNuLEAST8): Likewise.
55522         [C99-based-standards] (SCNxLEAST8): Likewise.
55523         [C99-based-standards] (PRIdFAST8): Likewise.
55524         [C99-based-standards] (PRIiFAST8): Likewise.
55525         [C99-based-standards] (PRIoFAST8): Likewise.
55526         [C99-based-standards] (PRIuFAST8): Likewise.
55527         [C99-based-standards] (PRIxFAST8): Likewise.
55528         [C99-based-standards] (PRIXFAST8): Likewise.
55529         [C99-based-standards] (SCNdFAST8): Likewise.
55530         [C99-based-standards] (SCNiFAST8): Likewise.
55531         [C99-based-standards] (SCNoFAST8): Likewise.
55532         [C99-based-standards] (SCNuFAST8): Likewise.
55533         [C99-based-standards] (SCNxFAST8): Likewise.
55534         [C99-based-standards] (PRId16): Likewise.
55535         [C99-based-standards] (PRIi16): Likewise.
55536         [C99-based-standards] (PRIo16): Likewise.
55537         [C99-based-standards] (PRIu16): Likewise.
55538         [C99-based-standards] (PRIx16): Likewise.
55539         [C99-based-standards] (PRIX16): Likewise.
55540         [C99-based-standards] (SCNd16): Likewise.
55541         [C99-based-standards] (SCNi16): Likewise.
55542         [C99-based-standards] (SCNo16): Likewise.
55543         [C99-based-standards] (SCNu16): Likewise.
55544         [C99-based-standards] (SCNx16): Likewise.
55545         [C99-based-standards] (PRIdLEAST16): Likewise.
55546         [C99-based-standards] (PRIiLEAST16): Likewise.
55547         [C99-based-standards] (PRIoLEAST16): Likewise.
55548         [C99-based-standards] (PRIuLEAST16): Likewise.
55549         [C99-based-standards] (PRIxLEAST16): Likewise.
55550         [C99-based-standards] (PRIXLEAST16): Likewise.
55551         [C99-based-standards] (SCNdLEAST16): Likewise.
55552         [C99-based-standards] (SCNiLEAST16): Likewise.
55553         [C99-based-standards] (SCNoLEAST16): Likewise.
55554         [C99-based-standards] (SCNuLEAST16): Likewise.
55555         [C99-based-standards] (SCNxLEAST16): Likewise.
55556         [C99-based-standards] (PRIdFAST16): Likewise.
55557         [C99-based-standards] (PRIiFAST16): Likewise.
55558         [C99-based-standards] (PRIoFAST16): Likewise.
55559         [C99-based-standards] (PRIuFAST16): Likewise.
55560         [C99-based-standards] (PRIxFAST16): Likewise.
55561         [C99-based-standards] (PRIXFAST16): Likewise.
55562         [C99-based-standards] (SCNdFAST16): Likewise.
55563         [C99-based-standards] (SCNiFAST16): Likewise.
55564         [C99-based-standards] (SCNoFAST16): Likewise.
55565         [C99-based-standards] (SCNuFAST16): Likewise.
55566         [C99-based-standards] (SCNxFAST16): Likewise.
55567         [C99-based-standards] (PRId32): Likewise.
55568         [C99-based-standards] (PRIi32): Likewise.
55569         [C99-based-standards] (PRIo32): Likewise.
55570         [C99-based-standards] (PRIu32): Likewise.
55571         [C99-based-standards] (PRIx32): Likewise.
55572         [C99-based-standards] (PRIX32): Likewise.
55573         [C99-based-standards] (SCNd32): Likewise.
55574         [C99-based-standards] (SCNi32): Likewise.
55575         [C99-based-standards] (SCNo32): Likewise.
55576         [C99-based-standards] (SCNu32): Likewise.
55577         [C99-based-standards] (SCNx32): Likewise.
55578         [C99-based-standards] (PRIdLEAST32): Likewise.
55579         [C99-based-standards] (PRIiLEAST32): Likewise.
55580         [C99-based-standards] (PRIoLEAST32): Likewise.
55581         [C99-based-standards] (PRIuLEAST32): Likewise.
55582         [C99-based-standards] (PRIxLEAST32): Likewise.
55583         [C99-based-standards] (PRIXLEAST32): Likewise.
55584         [C99-based-standards] (SCNdLEAST32): Likewise.
55585         [C99-based-standards] (SCNiLEAST32): Likewise.
55586         [C99-based-standards] (SCNoLEAST32): Likewise.
55587         [C99-based-standards] (SCNuLEAST32): Likewise.
55588         [C99-based-standards] (SCNxLEAST32): Likewise.
55589         [C99-based-standards] (PRIdFAST32): Likewise.
55590         [C99-based-standards] (PRIiFAST32): Likewise.
55591         [C99-based-standards] (PRIoFAST32): Likewise.
55592         [C99-based-standards] (PRIuFAST32): Likewise.
55593         [C99-based-standards] (PRIxFAST32): Likewise.
55594         [C99-based-standards] (PRIXFAST32): Likewise.
55595         [C99-based-standards] (SCNdFAST32): Likewise.
55596         [C99-based-standards] (SCNiFAST32): Likewise.
55597         [C99-based-standards] (SCNoFAST32): Likewise.
55598         [C99-based-standards] (SCNuFAST32): Likewise.
55599         [C99-based-standards] (SCNxFAST32): Likewise.
55600         [C99-based-standards] (PRId64): Likewise.
55601         [C99-based-standards] (PRIi64): Likewise.
55602         [C99-based-standards] (PRIo64): Likewise.
55603         [C99-based-standards] (PRIu64): Likewise.
55604         [C99-based-standards] (PRIx64): Likewise.
55605         [C99-based-standards] (PRIX64): Likewise.
55606         [C99-based-standards] (SCNd64): Likewise.
55607         [C99-based-standards] (SCNi64): Likewise.
55608         [C99-based-standards] (SCNo64): Likewise.
55609         [C99-based-standards] (SCNu64): Likewise.
55610         [C99-based-standards] (SCNx64): Likewise.
55611         [C99-based-standards] (PRIdLEAST64): Likewise.
55612         [C99-based-standards] (PRIiLEAST64): Likewise.
55613         [C99-based-standards] (PRIoLEAST64): Likewise.
55614         [C99-based-standards] (PRIuLEAST64): Likewise.
55615         [C99-based-standards] (PRIxLEAST64): Likewise.
55616         [C99-based-standards] (PRIXLEAST64): Likewise.
55617         [C99-based-standards] (SCNdLEAST64): Likewise.
55618         [C99-based-standards] (SCNiLEAST64): Likewise.
55619         [C99-based-standards] (SCNoLEAST64): Likewise.
55620         [C99-based-standards] (SCNuLEAST64): Likewise.
55621         [C99-based-standards] (SCNxLEAST64): Likewise.
55622         [C99-based-standards] (PRIdFAST64): Likewise.
55623         [C99-based-standards] (PRIiFAST64): Likewise.
55624         [C99-based-standards] (PRIoFAST64): Likewise.
55625         [C99-based-standards] (PRIuFAST64): Likewise.
55626         [C99-based-standards] (PRIxFAST64): Likewise.
55627         [C99-based-standards] (PRIXFAST64): Likewise.
55628         [C99-based-standards] (SCNdFAST64): Likewise.
55629         [C99-based-standards] (SCNiFAST64): Likewise.
55630         [C99-based-standards] (SCNoFAST64): Likewise.
55631         [C99-based-standards] (SCNuFAST64): Likewise.
55632         [C99-based-standards] (SCNxFAST64): Likewise.
55633         [C99-based-standards] (PRIdMAX): Likewise.
55634         [C99-based-standards] (PRIiMAX): Likewise.
55635         [C99-based-standards] (PRIoMAX): Likewise.
55636         [C99-based-standards] (PRIuMAX): Likewise.
55637         [C99-based-standards] (PRIxMAX): Likewise.
55638         [C99-based-standards] (PRIXMAX): Likewise.
55639         [C99-based-standards] (SCNdMAX): Likewise.
55640         [C99-based-standards] (SCNiMAX): Likewise.
55641         [C99-based-standards] (SCNoMAX): Likewise.
55642         [C99-based-standards] (SCNuMAX): Likewise.
55643         [C99-based-standards] (SCNxMAX): Likewise.
55644         [C99-based-standards] (PRIdPTR): Likewise.
55645         [C99-based-standards] (PRIiPTR): Likewise.
55646         [C99-based-standards] (PRIoPTR): Likewise.
55647         [C99-based-standards] (PRIuPTR): Likewise.
55648         [C99-based-standards] (PRIxPTR): Likewise.
55649         [C99-based-standards] (PRIXPTR): Likewise.
55650         [C99-based-standards] (SCNdPTR): Likewise.
55651         [C99-based-standards] (SCNiPTR): Likewise.
55652         [C99-based-standards] (SCNoPTR): Likewise.
55653         [C99-based-standards] (SCNuPTR): Likewise.
55654         [C99-based-standards] (SCNxPTR): Likewise.
55655         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55656         allow.
55657         * conform/data/stdint.h-data: Update comments to clarify
55658         requirements.
55659         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55660         type.
55661         [C99-based standards] (INT8_MAX): Likewise.
55662         [C99-based standards] (INT16_MIN): Likewise.
55663         [C99-based standards] (INT16_MAX): Likewise.
55664         [C99-based standards] (INT32_MIN): Likewise.
55665         [C99-based standards] (INT32_MAX): Likewise.
55666         [C99-based standards] (INT64_MIN): Likewise.
55667         [C99-based standards] (INT64_MAX): Likewise.
55668         [C99-based standards] (UINT8_MAX): Likewise.
55669         [C99-based standards] (UINT16_MAX): Likewise.
55670         [C99-based standards] (UINT32_MAX): Likewise.
55671         [C99-based standards] (UINT64_MAX): Likewise.
55672         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55673         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55674         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55675         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55676         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55677         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55678         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55679         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55680         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55681         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55682         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55683         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55684         [C99-based standards] (INT_FAST8_MIN): Likewise.
55685         [C99-based standards] (INT_FAST8_MAX): Likewise.
55686         [C99-based standards] (INT_FAST16_MIN): Likewise.
55687         [C99-based standards] (INT_FAST16_MAX): Likewise.
55688         [C99-based standards] (INT_FAST32_MIN): Likewise.
55689         [C99-based standards] (INT_FAST32_MAX): Likewise.
55690         [C99-based standards] (INT_FAST64_MIN): Likewise.
55691         [C99-based standards] (INT_FAST64_MAX): Likewise.
55692         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55693         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55694         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55695         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55696         [C99-based standards] (INTPTR_MIN): Likewise.
55697         [C99-based standards] (INTPTR_MAX): Likewise.
55698         [C99-based standards] (UINTPTR_MAX): Likewise.
55699         [C99-based standards] (INTMAX_MIN): Likewise.
55700         [C99-based standards] (INTMAX_MAX): Likewise.
55701         [C99-based standards] (UINTMAX_MAX): Likewise.
55702         [C99-based standards] (PTRDIFF_MIN): Likewise.
55703         [C99-based standards] (PTRDIFF_MAX): Likewise.
55704         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55705         [C99-based standards] (SIZE_MAX): Likewise.
55706         [C99-based standards] (WCHAR_MAX): Likewise.
55707         [C99-based standards] (WINT_MAX): Likewise.
55708         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55709         constraint on value.
55710         [C99-based standards] (WCHAR_MIN): Likewise.
55711         [C99-based standards] (WINT_MIN): Likewise.
55712         [C99-based standards] (*_t): Allow.
55713         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55714         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55715         Include math.h-data and complex.h-data.  Remove all expectations
55716         of math.h and complex.h contents.
55717         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55718         at end of line.
55719         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55720         (struct tm): Expect tag.
55721         [C99-based-standards] (wcstof): Expect function.
55722         [C99-based-standards] (wcstold): Likewise.
55723         [C99-based-standards] (wcstoll): Likewise.
55724         [C99-based-standards] (wcstoull): Likewise.
55725         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55726         macro-int-constant.  Specify type.
55727         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55728         constraint on value.
55729         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55730         Specify type.
55731         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55732         Specify value.
55733         [ISO C standards]: Do not allow headers.
55734         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55735         wcs[abcdefghijklmnopqrstuvwxyz]*.
55736         [ISO C standards] (*_t): Do not allow.
55737         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55738         Expect function.
55739         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55740         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55741         Specify type.
55742         [ISO C standards]: Do not allow headers.
55743         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55744         is[abcdefghijklmnopqrstuvwxyz]*.
55745         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55746         to[abcdefghijklmnopqrstuvwxyz]*.
55747         [ISO C standards] (*_t): Do not allow.
55748         * conform/data/stdalign.h-data: New file.
55749         * conform/data/stdbool.h-data: Likewise.
55750         * conform/data/stdnoreturn.h-data: Likewise.
55752 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55754         [BZ #14815]
55755         * manual/filesys.texi (Directory Entries): Typo fix.
55756         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55758 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55760         * elf/elf.h (EM_AARCH64): New macro.
55761         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55762         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55763         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55764         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55765         (R_AARCH64_TLSDESC): Likewise.
55766         (NT_ARM_TLS): Likewise.
55767         (NT_ARM_HW_BREAK): Likewise.
55768         (NT_ARM_HW_WATCH): Likewise.
55770 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55772         [BZ #14811]
55773         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55774         (__ieee754_powl): Saturate nonzero exponents with absolute value
55775         below 0x1p-79 to +/- 0x1p-79.
55776         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55777         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55778         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55779         nonzero exponents with absolute value below 0x1p-32 to +/-
55780         0x1p-32.
55781         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55782         (__ieee754_powl): Saturate nonzero exponents with absolute value
55783         below 0x1p-79 to +/- 0x1p-79.
55784         * math/libm-test.inc (pow_test): Add more tests.
55786 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55788         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55789         _dl_s390_cap_flags with kernel. Increase string length.
55790         (_dl_s390_platforms): Add z196 and zEC12.
55792 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55794         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55795         Change XOPEN21K to XOPEN2K.
55797 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55799         * string/memmove.c: Use memcpy when possible.
55801 2012-11-06  Andreas Jaeger  <aj@suse.de>
55803         * po/eo.po: Update from translation team.
55805 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55807         [BZ #14793]
55808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55809         exponent and small x and y exponents, scale x or y up.  Increase
55810         by 2 the exponent used in scaling up.
55811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55813         * math/libm-test.inc (fma_test): Add more tests.
55814         (fma_test_towardzero): Likewise.
55815         (fma_test_downward): Likewise.
55816         (fma_test_upward): Likewise.
55818 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55820         [BZ #14805]
55821         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55822         fenv_t *.
55824         [BZ #14801]
55825         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55826         namespace for names of struct fields.
55827         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55828         fenv_t fields.
55829         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55830         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55832 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55834         [BZ #3665]
55835         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55837 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55839         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55840         PTR_DEMANGLE.
55842         [BZ #5246]
55843         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55844         PTR_DEMANGLE.
55846 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55848         [BZ #14797]
55849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55850         definitely overflow as x * y not x * y + z.
55851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55852         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55853         * math/libm-test.inc (fma_test): Add more tests.
55854         (fma_test_towardzero): Likewise.
55855         (fma_test_downward): Likewise.
55856         (fma_test_upward): Likewise.
55858 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55860         [BZ #157]
55862         * include/stub-tag.h: Remove file.
55863         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55864         '#include' of it.
55865         * manual/maint.texi (Porting): Don't reference it.
55866         * Makerules ($(objpfx)stubs): Likewise.
55867         * dirent/closedir.c: Don't include <stub-tag.h>.
55868         * dirent/dirfd.c: Likewise.
55869         * dirent/fdopendir.c: Likewise.
55870         * dirent/getdents.c: Likewise.
55871         * dirent/getdents64.c: Likewise.
55872         * dirent/opendir.c: Likewise.
55873         * dirent/readdir.c: Likewise.
55874         * dirent/readdir64.c: Likewise.
55875         * dirent/readdir64_r.c: Likewise.
55876         * dirent/readdir_r.c: Likewise.
55877         * dirent/rewinddir.c: Likewise.
55878         * dirent/seekdir.c: Likewise.
55879         * dirent/telldir.c: Likewise.
55880         * gmon/profil.c: Likewise.
55881         * grp/setgroups.c: Likewise.
55882         * inet/if_index.c: Likewise.
55883         * io/access.c: Likewise.
55884         * io/chdir.c: Likewise.
55885         * io/chmod.c: Likewise.
55886         * io/chown.c: Likewise.
55887         * io/close.c: Likewise.
55888         * io/dup.c: Likewise.
55889         * io/dup2.c: Likewise.
55890         * io/dup3.c: Likewise.
55891         * io/euidaccess.c: Likewise.
55892         * io/faccessat.c: Likewise.
55893         * io/fchdir.c: Likewise.
55894         * io/fchmod.c: Likewise.
55895         * io/fchmodat.c: Likewise.
55896         * io/fchown.c: Likewise.
55897         * io/fchownat.c: Likewise.
55898         * io/fcntl.c: Likewise.
55899         * io/flock.c: Likewise.
55900         * io/fstatfs.c: Likewise.
55901         * io/fstatfs64.c: Likewise.
55902         * io/fstatvfs.c: Likewise.
55903         * io/fstatvfs64.c: Likewise.
55904         * io/futimens.c: Likewise.
55905         * io/fxstat.c: Likewise.
55906         * io/fxstat64.c: Likewise.
55907         * io/fxstatat.c: Likewise.
55908         * io/fxstatat64.c: Likewise.
55909         * io/getcwd.c: Likewise.
55910         * io/isatty.c: Likewise.
55911         * io/lchmod.c: Likewise.
55912         * io/lchown.c: Likewise.
55913         * io/link.c: Likewise.
55914         * io/linkat.c: Likewise.
55915         * io/lseek.c: Likewise.
55916         * io/lseek64.c: Likewise.
55917         * io/lxstat64.c: Likewise.
55918         * io/mkdir.c: Likewise.
55919         * io/mkdirat.c: Likewise.
55920         * io/mkfifo.c: Likewise.
55921         * io/mkfifoat.c: Likewise.
55922         * io/open.c: Likewise.
55923         * io/open64.c: Likewise.
55924         * io/openat.c: Likewise.
55925         * io/openat64.c: Likewise.
55926         * io/pipe.c: Likewise.
55927         * io/pipe2.c: Likewise.
55928         * io/poll.c: Likewise.
55929         * io/posix_fadvise.c: Likewise.
55930         * io/posix_fadvise64.c: Likewise.
55931         * io/posix_fallocate.c: Likewise.
55932         * io/posix_fallocate64.c: Likewise.
55933         * io/read.c: Likewise.
55934         * io/readlink.c: Likewise.
55935         * io/readlinkat.c: Likewise.
55936         * io/rmdir.c: Likewise.
55937         * io/sendfile.c: Likewise.
55938         * io/sendfile64.c: Likewise.
55939         * io/statfs.c: Likewise.
55940         * io/statfs64.c: Likewise.
55941         * io/statvfs.c: Likewise.
55942         * io/statvfs64.c: Likewise.
55943         * io/symlink.c: Likewise.
55944         * io/symlinkat.c: Likewise.
55945         * io/ttyname.c: Likewise.
55946         * io/ttyname_r.c: Likewise.
55947         * io/umask.c: Likewise.
55948         * io/unlink.c: Likewise.
55949         * io/unlinkat.c: Likewise.
55950         * io/utime.c: Likewise.
55951         * io/utimensat.c: Likewise.
55952         * io/write.c: Likewise.
55953         * io/xmknod.c: Likewise.
55954         * io/xmknodat.c: Likewise.
55955         * io/xstat.c: Likewise.
55956         * io/xstat64.c: Likewise.
55957         * login/getpt.c: Likewise.
55958         * login/grantpt.c: Likewise.
55959         * login/unlockpt.c: Likewise.
55960         * math/e_acoshl.c: Likewise.
55961         * math/e_acosl.c: Likewise.
55962         * math/e_asinl.c: Likewise.
55963         * math/e_atan2l.c: Likewise.
55964         * math/e_atanhl.c: Likewise.
55965         * math/e_coshl.c: Likewise.
55966         * math/e_expl.c: Likewise.
55967         * math/e_fmodl.c: Likewise.
55968         * math/e_gammal_r.c: Likewise.
55969         * math/e_hypotl.c: Likewise.
55970         * math/e_j0l.c: Likewise.
55971         * math/e_j1l.c: Likewise.
55972         * math/e_jnl.c: Likewise.
55973         * math/e_lgammal_r.c: Likewise.
55974         * math/e_log10l.c: Likewise.
55975         * math/e_log2l.c: Likewise.
55976         * math/e_logl.c: Likewise.
55977         * math/e_powl.c: Likewise.
55978         * math/e_rem_pio2l.c: Likewise.
55979         * math/e_sinhl.c: Likewise.
55980         * math/e_sqrtl.c: Likewise.
55981         * math/fclrexcpt.c: Likewise.
55982         * math/fedisblxcpt.c: Likewise.
55983         * math/feenablxcpt.c: Likewise.
55984         * math/fegetenv.c: Likewise.
55985         * math/fegetexcept.c: Likewise.
55986         * math/fegetround.c: Likewise.
55987         * math/feholdexcpt.c: Likewise.
55988         * math/fesetenv.c: Likewise.
55989         * math/fesetround.c: Likewise.
55990         * math/feupdateenv.c: Likewise.
55991         * math/fgetexcptflg.c: Likewise.
55992         * math/fraiseexcpt.c: Likewise.
55993         * math/fsetexcptflg.c: Likewise.
55994         * math/ftestexcept.c: Likewise.
55995         * math/k_cosl.c: Likewise.
55996         * math/k_rem_pio2l.c: Likewise.
55997         * math/k_sinl.c: Likewise.
55998         * math/k_tanl.c: Likewise.
55999         * math/s_asinhl.c: Likewise.
56000         * math/s_atanl.c: Likewise.
56001         * math/s_cbrtl.c: Likewise.
56002         * math/s_erfl.c: Likewise.
56003         * math/s_expm1l.c: Likewise.
56004         * math/s_log1pl.c: Likewise.
56005         * math/s_tanhl.c: Likewise.
56006         * misc/acct.c: Likewise.
56007         * misc/brk.c: Likewise.
56008         * misc/chflags.c: Likewise.
56009         * misc/chroot.c: Likewise.
56010         * misc/fchflags.c: Likewise.
56011         * misc/fgetxattr.c: Likewise.
56012         * misc/flistxattr.c: Likewise.
56013         * misc/fremovexattr.c: Likewise.
56014         * misc/fsetxattr.c: Likewise.
56015         * misc/fsync.c: Likewise.
56016         * misc/ftruncate.c: Likewise.
56017         * misc/futimes.c: Likewise.
56018         * misc/futimesat.c: Likewise.
56019         * misc/getdomain.c: Likewise.
56020         * misc/getdtsz.c: Likewise.
56021         * misc/gethostid.c: Likewise.
56022         * misc/gethostname.c: Likewise.
56023         * misc/getloadavg.c: Likewise.
56024         * misc/getpagesize.c: Likewise.
56025         * misc/getsysstats.c: Likewise.
56026         * misc/getxattr.c: Likewise.
56027         * misc/gtty.c: Likewise.
56028         * misc/ioctl.c: Likewise.
56029         * misc/lgetxattr.c: Likewise.
56030         * misc/listxattr.c: Likewise.
56031         * misc/llistxattr.c: Likewise.
56032         * misc/lremovexattr.c: Likewise.
56033         * misc/lsetxattr.c: Likewise.
56034         * misc/lutimes.c: Likewise.
56035         * misc/madvise.c: Likewise.
56036         * misc/mincore.c: Likewise.
56037         * misc/mlock.c: Likewise.
56038         * misc/mlockall.c: Likewise.
56039         * misc/mmap.c: Likewise.
56040         * misc/mprotect.c: Likewise.
56041         * misc/msync.c: Likewise.
56042         * misc/munlock.c: Likewise.
56043         * misc/munlockall.c: Likewise.
56044         * misc/munmap.c: Likewise.
56045         * misc/preadv.c: Likewise.
56046         * misc/preadv64.c: Likewise.
56047         * misc/ptrace.c: Likewise.
56048         * misc/pwritev.c: Likewise.
56049         * misc/pwritev64.c: Likewise.
56050         * misc/readv.c: Likewise.
56051         * misc/reboot.c: Likewise.
56052         * misc/remap_file_pages.c: Likewise.
56053         * misc/removexattr.c: Likewise.
56054         * misc/revoke.c: Likewise.
56055         * misc/select.c: Likewise.
56056         * misc/setdomain.c: Likewise.
56057         * misc/setegid.c: Likewise.
56058         * misc/seteuid.c: Likewise.
56059         * misc/sethostid.c: Likewise.
56060         * misc/sethostname.c: Likewise.
56061         * misc/setregid.c: Likewise.
56062         * misc/setreuid.c: Likewise.
56063         * misc/setxattr.c: Likewise.
56064         * misc/sstk.c: Likewise.
56065         * misc/stty.c: Likewise.
56066         * misc/swapoff.c: Likewise.
56067         * misc/swapon.c: Likewise.
56068         * misc/sync.c: Likewise.
56069         * misc/syncfs.c: Likewise.
56070         * misc/syscall.c: Likewise.
56071         * misc/truncate.c: Likewise.
56072         * misc/ualarm.c: Likewise.
56073         * misc/usleep.c: Likewise.
56074         * misc/ustat.c: Likewise.
56075         * misc/utimes.c: Likewise.
56076         * misc/vhangup.c: Likewise.
56077         * misc/writev.c: Likewise.
56078         * posix/_exit.c: Likewise.
56079         * posix/alarm.c: Likewise.
56080         * posix/execve.c: Likewise.
56081         * posix/fexecve.c: Likewise.
56082         * posix/fork.c: Likewise.
56083         * posix/fpathconf.c: Likewise.
56084         * posix/getaddrinfo.c: Likewise.
56085         * posix/getegid.c: Likewise.
56086         * posix/geteuid.c: Likewise.
56087         * posix/getgid.c: Likewise.
56088         * posix/getgroups.c: Likewise.
56089         * posix/getlogin.c: Likewise.
56090         * posix/getlogin_r.c: Likewise.
56091         * posix/getpgid.c: Likewise.
56092         * posix/getpid.c: Likewise.
56093         * posix/getppid.c: Likewise.
56094         * posix/getresgid.c: Likewise.
56095         * posix/getresuid.c: Likewise.
56096         * posix/getsid.c: Likewise.
56097         * posix/getuid.c: Likewise.
56098         * posix/glob64.c: Likewise.
56099         * posix/nanosleep.c: Likewise.
56100         * posix/pathconf.c: Likewise.
56101         * posix/pause.c: Likewise.
56102         * posix/posix_madvise.c: Likewise.
56103         * posix/pread.c: Likewise.
56104         * posix/pread64.c: Likewise.
56105         * posix/pwrite.c: Likewise.
56106         * posix/pwrite64.c: Likewise.
56107         * posix/sched_getaffinity.c: Likewise.
56108         * posix/sched_getp.c: Likewise.
56109         * posix/sched_gets.c: Likewise.
56110         * posix/sched_primax.c: Likewise.
56111         * posix/sched_primin.c: Likewise.
56112         * posix/sched_rr_gi.c: Likewise.
56113         * posix/sched_setaffinity.c: Likewise.
56114         * posix/sched_setp.c: Likewise.
56115         * posix/sched_sets.c: Likewise.
56116         * posix/sched_yield.c: Likewise.
56117         * posix/setgid.c: Likewise.
56118         * posix/setlogin.c: Likewise.
56119         * posix/setpgid.c: Likewise.
56120         * posix/setresgid.c: Likewise.
56121         * posix/setresuid.c: Likewise.
56122         * posix/setsid.c: Likewise.
56123         * posix/setuid.c: Likewise.
56124         * posix/sleep.c: Likewise.
56125         * posix/spawni.c: Likewise.
56126         * posix/sysconf.c: Likewise.
56127         * posix/times.c: Likewise.
56128         * posix/wait.c: Likewise.
56129         * posix/wait3.c: Likewise.
56130         * posix/wait4.c: Likewise.
56131         * posix/waitpid.c: Likewise.
56132         * resolv/gai_sigqueue.c: Likewise.
56133         * resource/getpriority.c: Likewise.
56134         * resource/getrlimit.c: Likewise.
56135         * resource/getrusage.c: Likewise.
56136         * resource/nice.c: Likewise.
56137         * resource/setpriority.c: Likewise.
56138         * resource/setrlimit.c: Likewise.
56139         * resource/ulimit.c: Likewise.
56140         * rt/aio_cancel.c: Likewise.
56141         * rt/aio_fsync.c: Likewise.
56142         * rt/aio_read.c: Likewise.
56143         * rt/aio_sigqueue.c: Likewise.
56144         * rt/aio_suspend.c: Likewise.
56145         * rt/aio_write.c: Likewise.
56146         * rt/clock_getres.c: Likewise.
56147         * rt/clock_gettime.c: Likewise.
56148         * rt/clock_nanosleep.c: Likewise.
56149         * rt/clock_settime.c: Likewise.
56150         * rt/lio_listio.c: Likewise.
56151         * rt/mq_close.c: Likewise.
56152         * rt/mq_getattr.c: Likewise.
56153         * rt/mq_notify.c: Likewise.
56154         * rt/mq_open.c: Likewise.
56155         * rt/mq_receive.c: Likewise.
56156         * rt/mq_send.c: Likewise.
56157         * rt/mq_setattr.c: Likewise.
56158         * rt/mq_timedreceive.c: Likewise.
56159         * rt/mq_timedsend.c: Likewise.
56160         * rt/mq_unlink.c: Likewise.
56161         * rt/shm_open.c: Likewise.
56162         * rt/shm_unlink.c: Likewise.
56163         * rt/timer_create.c: Likewise.
56164         * rt/timer_delete.c: Likewise.
56165         * rt/timer_getoverr.c: Likewise.
56166         * rt/timer_gettime.c: Likewise.
56167         * rt/timer_settime.c: Likewise.
56168         * setjmp/__longjmp.c: Likewise.
56169         * setjmp/setjmp.c: Likewise.
56170         * signal/kill.c: Likewise.
56171         * signal/killpg.c: Likewise.
56172         * signal/raise.c: Likewise.
56173         * signal/sigaction.c: Likewise.
56174         * signal/sigaltstack.c: Likewise.
56175         * signal/sigblock.c: Likewise.
56176         * signal/sigignore.c: Likewise.
56177         * signal/sigintr.c: Likewise.
56178         * signal/signal.c: Likewise.
56179         * signal/sigpause.c: Likewise.
56180         * signal/sigpending.c: Likewise.
56181         * signal/sigqueue.c: Likewise.
56182         * signal/sigreturn.c: Likewise.
56183         * signal/sigset.c: Likewise.
56184         * signal/sigsetmask.c: Likewise.
56185         * signal/sigstack.c: Likewise.
56186         * signal/sigsuspend.c: Likewise.
56187         * signal/sigtimedwait.c: Likewise.
56188         * signal/sigvec.c: Likewise.
56189         * signal/sigwait.c: Likewise.
56190         * signal/sigwaitinfo.c: Likewise.
56191         * signal/sysv_signal.c: Likewise.
56192         * socket/accept.c: Likewise.
56193         * socket/accept4.c: Likewise.
56194         * socket/bind.c: Likewise.
56195         * socket/connect.c: Likewise.
56196         * socket/getpeername.c: Likewise.
56197         * socket/getsockname.c: Likewise.
56198         * socket/getsockopt.c: Likewise.
56199         * socket/isfdtype.c: Likewise.
56200         * socket/listen.c: Likewise.
56201         * socket/recv.c: Likewise.
56202         * socket/recvfrom.c: Likewise.
56203         * socket/recvmsg.c: Likewise.
56204         * socket/send.c: Likewise.
56205         * socket/sendmsg.c: Likewise.
56206         * socket/sendto.c: Likewise.
56207         * socket/setsockopt.c: Likewise.
56208         * socket/shutdown.c: Likewise.
56209         * socket/sockatmark.c: Likewise.
56210         * socket/socket.c: Likewise.
56211         * socket/socketpair.c: Likewise.
56212         * stdio-common/ctermid.c: Likewise.
56213         * stdio-common/cuserid.c: Likewise.
56214         * stdio-common/remove.c: Likewise.
56215         * stdio-common/rename.c: Likewise.
56216         * stdio-common/renameat.c: Likewise.
56217         * stdio-common/tempname.c: Likewise.
56218         * stdlib/getcontext.c: Likewise.
56219         * stdlib/makecontext.c: Likewise.
56220         * stdlib/setcontext.c: Likewise.
56221         * stdlib/swapcontext.c: Likewise.
56222         * stdlib/system.c: Likewise.
56223         * streams/fattach.c: Likewise.
56224         * streams/fdetach.c: Likewise.
56225         * streams/getmsg.c: Likewise.
56226         * streams/getpmsg.c: Likewise.
56227         * streams/putmsg.c: Likewise.
56228         * streams/putpmsg.c: Likewise.
56229         * sysdeps/unix/bsd/getpt.c: Likewise.
56230         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56231         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56232         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56234         Likewise.
56235         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56236         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56237         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56238         * sysvipc/msgctl.c: Likewise.
56239         * sysvipc/msgget.c: Likewise.
56240         * sysvipc/msgrcv.c: Likewise.
56241         * sysvipc/msgsnd.c: Likewise.
56242         * sysvipc/semctl.c: Likewise.
56243         * sysvipc/semget.c: Likewise.
56244         * sysvipc/semop.c: Likewise.
56245         * sysvipc/semtimedop.c: Likewise.
56246         * sysvipc/shmat.c: Likewise.
56247         * sysvipc/shmctl.c: Likewise.
56248         * sysvipc/shmdt.c: Likewise.
56249         * sysvipc/shmget.c: Likewise.
56250         * termios/tcdrain.c: Likewise.
56251         * termios/tcflow.c: Likewise.
56252         * termios/tcflush.c: Likewise.
56253         * termios/tcgetattr.c: Likewise.
56254         * termios/tcgetpgrp.c: Likewise.
56255         * termios/tcsendbrk.c: Likewise.
56256         * termios/tcsetattr.c: Likewise.
56257         * termios/tcsetpgrp.c: Likewise.
56258         * time/adjtime.c: Likewise.
56259         * time/clock.c: Likewise.
56260         * time/getitimer.c: Likewise.
56261         * time/gettimeofday.c: Likewise.
56262         * time/setitimer.c: Likewise.
56263         * time/settimeofday.c: Likewise.
56264         * time/stime.c: Likewise.
56265         * time/time.c: Likewise.
56267 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56269         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56270         /usr/old/bin.
56272         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56273         instead of spaces.
56274         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56276 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56278         [BZ #14796]
56279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56280         FE_TONEAREST before applying Dekker multiplication and Knuth
56281         addition.  Clear inexact exceptions and check for exact zero
56282         results afterwards.
56283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56284         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56285         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56286         * math/libm-test.inc (fma_test): Add more tests.
56287         (fma_test_towardzero): Likewise.
56288         (fma_test_downward): Likewise.
56289         (fma_test_upward): Likewise.
56290         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56291         function.
56292         (libc_fesetround): New macro.
56293         (libc_fesetroundf): Likewise.
56294         (libc_fesetroundl): Likewise.
56295         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56296         function.
56297         (libc_fesetround_387): Likewise.
56298         (libc_fesetroundf): New macro.
56299         (libc_fesetround): Likewise.
56300         (libc_fesetroundl): Likewise.
56301         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56302         function.
56303         (libc_fesetroundf): New macro.
56304         (libc_fesetround): Likewise.
56305         (libc_fesetroundl): Likewise.
56306         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56307         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56308         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56309         libm_hidden_ver.
56310         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56311         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56312         libm_hidden_def.
56313         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56314         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56315         libm_hidden_ver.
56316         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56317         libm_hidden_def.
56319         [BZ #3439]
56320         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56321         integer constant usable in #if and use that to give value to enum
56322         constant.
56323         (FE_DIVBYZERO): Likewise.
56324         (FE_UNDERFLOW): Likewise.
56325         (FE_OVERFLOW): Likewise.
56326         (FE_INVALID): Likewise.
56327         (FE_INVALID_SNAN): Likewise.
56328         (FE_INVALID_ISI): Likewise.
56329         (FE_INVALID_IDI): Likewise.
56330         (FE_INVALID_ZDZ): Likewise.
56331         (FE_INVALID_IMZ): Likewise.
56332         (FE_INVALID_COMPARE): Likewise.
56333         (FE_INVALID_SOFTWARE): Likewise.
56334         (FE_INVALID_SQRT): Likewise.
56335         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56336         (FE_TONEAREST): Likewise.
56337         (FE_TOWARDZERO): Likewise.
56338         (FE_UPWARD): Likewise.
56339         (FE_DOWNWARD): Likewise.
56340         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56341         (FE_DIVBYZERO): Likewise.
56342         (FE_OVERFLOW): Likewise.
56343         (FE_UNDERFLOW): Likewise.
56344         (FE_INEXACT): Likewise.
56345         (FE_TONEAREST): Likewise.
56346         (FE_DOWNWARD): Likewise.
56347         (FE_UPWARD): Likewise.
56348         (FE_TOWARDZERO): Likewise.
56349         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56350         (FE_UNDERFLOW): Likewise.
56351         (FE_OVERFLOW): Likewise.
56352         (FE_DIVBYZERO): Likewise.
56353         (FE_INVALID): Likewise.
56354         (FE_TONEAREST): Likewise.
56355         (FE_TOWARDZERO): Likewise.
56356         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56357         (FE_OVERFLOW): Likewise.
56358         (FE_UNDERFLOW): Likewise.
56359         (FE_DIVBYZERO): Likewise.
56360         (FE_INEXACT): Likewise.
56361         (FE_TONEAREST): Likewise.
56362         (FE_TOWARDZERO): Likewise.
56363         (FE_UPWARD): Likewise.
56364         (FE_DOWNWARD): Likewise.
56365         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56366         (FE_DIVBYZERO): Likewise.
56367         (FE_OVERFLOW): Likewise.
56368         (FE_UNDERFLOW): Likewise.
56369         (FE_INEXACT): Likewise.
56370         (FE_TONEAREST): Likewise.
56371         (FE_DOWNWARD): Likewise.
56372         (FE_UPWARD): Likewise.
56373         (FE_TOWARDZERO): Likewise.
56375 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56377         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56379 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56381         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56382         commands.  Quote $PWD.
56383         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56384         -x" by "export".
56385         (remove_newlines): Remove.
56387 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56389         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56390         * stdlib/stdlib.h (atof): Moved to ...
56391         * include/bits/stdlib-float.h: Here.  New file.
56392         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56393         * stdlib/bits/stdlib-float.h: New file.
56394         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56395         -mno-sse -mno-mmx.
56396         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56397         <xmmintrin.h>.
56399 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56401         * conform/conformtest.pl (@headers): Add fenv.h.
56402         * conform/data/fenv.h-data: New file.
56403         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56404         include of <math/fenv.h>.
56406         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56407         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56408         && !UNIX98].  Enables tests for XOPEN2K8.
56409         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56410         POSIX2008]: Likewise.
56412         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56413         (struct rusage): Do not expect type or its members.
56415         [BZ #3439]
56416         * math/math.h (FP_NAN): Define macro to integer constant usable in
56417         #if and use that to give value to enum constant.
56418         (FP_INFINITE): Likewise.
56419         (FP_ZERO): Likewise.
56420         (FP_SUBNORMAL): Likewise.
56421         (FP_NORMAL): Likewise.
56423 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56425         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56426         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56427         arguments.
56429 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56431         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56432         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56433         autoconf-time if not.
56434         * configure.in: Remove AC_PREREQ.
56436 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56438         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56439         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56440         of the internal implementation.
56442 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56444         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56445         except include of <misc/sys/syslog.h>.
56447 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56450         function returns with a NULL context exit with zero.
56452 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56454         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56456 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56458         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56459         (run_program_cmd): This.
56460         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56461         (tst_langinfo): New variable.  Use it.
56463 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56465         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56466         floating point opcodes.
56468 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56470         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56471         variable.
56473         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56475         * sysdeps/mach/hurd/powerpc: Remove directory.
56476         * sysdeps/mach/powerpc: Likewise.
56478 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56480         * scripts/check-local-headers.sh: Ignore c++ headers.
56482 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56484         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56485         __libc_cleanup_region_start argument.
56487 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56489         [BZ #14784]
56490         [BZ #14785]
56491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56492         x * y using scaling, not as x * y + z.
56493         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56495         * math/libm-test.inc (fma_test): Add more tests.
56496         (fma_test_towardzero): Likewise.
56497         (fma_test_downward): Likewise.
56498         (fma_test_upward): Likewise.
56500 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56502         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56504 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56506         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56507         New variable.
56509 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56511         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56513 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56516         Fix sort order.
56517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56518         Likewise.
56520 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56523         Fix the order of the list for glibc 2.17.
56524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56525         Likewise.
56527 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56531 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56533         [BZ #14610]
56534         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56535         for low part of x being zero before using __atanl (y).
56536         * math/libm-test.inc (atan2_test): Add another test.
56538         * manual/install.texi (Configuring and compiling): Document
56539         general use of test-wrapper and test-wrapper-env.
56540         * INSTALL: Regenerated.
56542         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56543         (__fma): Do not extract and scale down low bits on after-rounding
56544         systems when result rounded to normal precision would have normal
56545         exponent.
56546         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56547         (__fmal): Do not extract and scale down low bits on after-rounding
56548         systems when result rounded to normal precision would have normal
56549         exponent.
56550         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56551         (__fmal): Do not extract and scale down low bits on after-rounding
56552         systems when result rounded to normal precision would have normal
56553         exponent.
56554         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56555         macro.
56556         (fma_test): Add more tests.
56557         (fma_test_towardzero): Likewise.
56558         (fma_test_downward): Likewise.
56559         (fma_test_upward): Likewise.
56561 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56563         * sysdeps/i386/tininess.h: Renamed to ...
56564         * sysdeps/x86/tininess.h: This.
56565         * sysdeps/x86_64/tininess.h: Removed.
56567 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56569         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56570         input.  Use $(build-program-cmd).
56571         ($(objpfx)tst-array1-static.out): Likewise.
56572         ($(objpfx)tst-array2.out): Likewise.
56573         ($(objpfx)tst-array3.out): Likewise.
56574         ($(objpfx)tst-array4.out): Likewise.
56575         ($(objpfx)tst-array5.out): Likewise.
56576         ($(objpfx)tst-array5-static.out): Likewise.
56578 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56580         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56581         if defined.
56583         * nss/nsswitch.h (nss_interface_function): Provide new
56584         macro for use with NSS functions.
56585         * grp/initgroups.c: Use new macro.
56586         * nss/getXXbyYY.c: Likewise.
56587         * nss/getXXbyYY_r.c: Likewise.
56588         * nss/getXXent.c: Likewise.
56589         * nss/getXXent_r.c: Likewise.
56590         * sysdeps/posix/getaddrinfo.c: Likewise.
56592 2012-10-30  Andreas Jaeger  <aj@suse.de>
56594         * po/ru.po: Update Russion translation from translation project.
56596 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56598         [BZ #14152]
56599         [BZ #14783]
56600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56601         result and shift together with sticky bit instead of replicating
56602         round-to-nearest rounding.
56603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56604         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56605         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56606         missing underflow exceptions.
56607         (fma_test_towardzero): Add more tests.
56608         (fma_test_downward): Likewise.
56609         (fma_test_upward): Likewise.
56611         [BZ #14047]
56612         * sysdeps/generic/tininess.h: New file.
56613         * sysdeps/i386/tininess.h: Likewise.
56614         * sysdeps/sh/tininess.h: Likewise.
56615         * sysdeps/x86_64/tininess.h: Likewise.
56616         * stdlib/tst-strtod-underflow.c: Likewise.
56617         * stdlib/tst-tininess.c: Likewise.
56618         * stdlib/strtod_l.c: Include <tininess.h>.
56619         (round_and_return): Do not set errno for exact underflow cases.
56620         Force an underflow exception when setting errno for underflow.
56621         Determine underflow based on rounding to normal precision if
56622         TININESS_AFTER_ROUNDING.
56623         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56624         ERANGE for exact underflow cases.
56625         * stdlib/Makefile (tests): Add tst-tininess and
56626         tst-strtod-underflow.
56627         ($(objpfx)tst-tininess): Use $(link-libm).
56628         ($(objpfx)tst-strtod-underflow): Likewise.
56630 2012-10-30  Andreas Jaeger  <aj@suse.de>
56632         [BZ#14767]
56633         * elf/Makefile (tests): Remove conditional for have-initfini-array
56634         since this is now always required and the variable does not exist
56635         anymore.
56636         (tests-static): Likewise.
56637         (modules-names): Likewise.
56639         * po/eo.po: Add Esperanto translation from translation project.
56641         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56642         merged with constructor/destructor.
56643         (init_array): Likewise.
56644         * elf/tst-array2dep.c (fini_array): Likewise.
56645         (init_array): Likewise.
56647 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56649         * manual/message.texi: Delete @cartouche tags.
56651 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56653         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56654         EOPNOTSUPP.
56655         * sysdeps/mach/hurd/fsync.c: Likewise.
56657         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56658         [_POSIX_REALTIME_SIGNALS]: Change condition to
56659         [_POSIX_REALTIME_SIGNALS > 0].
56661 2012-10-27  Andreas Jaeger  <aj@suse.de>
56663         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56664         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56665         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56666         [__WORDSIZE != 64]: Likewise.
56668 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56670         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56671         *  iconvdata/tst-tables.sh: Likewise.
56673 2012-10-25  David S. Miller  <davem@davemloft.net>
56675         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56676         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56677         of strtoull.
56679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56680         ifunc-impl-list.c
56681         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56682         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56683         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56684         file.
56686 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56688         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56689         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56690         __getdirentries.
56692 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56693             Jim Blandy  <jimb@codesourcery.com>
56695         * scripts/cross-test-ssh.sh: New file.
56696         * manual/install.texi (Configuring and compiling): Document use of
56697         cross-test-ssh.sh.
56698         * INSTALL: Regenerated.
56700 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56702         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56703         EOPNOTSUPP.
56705 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56707         * Makeconfig (run-program-prefix): Fix comment.
56709 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56710             Jim Blandy  <jimb@codesourcery.com>
56712         * Makeconfig (test-wrapper): New variable,
56713         (test-wrapper-env): Likewise.
56714         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56715         (run-built-tests): Define to yes.
56716         (run-program-prefix): Use $(test-wrapper).
56717         (built-program-cmd): Likewise.
56718         * Rules (make-test-out): Use $(test-wrapper-env) and
56719         $(host-built-program-cmd).
56720         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56721         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56722         tst-pathopt.sh.
56723         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56724         $(test-wrapper-env) to tst-rtld-load-self.sh.
56725         ($(objpfx)order2.out): Use $(test-wrapper).
56726         ($(objpfx)tst-initorder.out): Likewise.
56727         ($(objpfx)tst-initorder2.out): Likewise.
56728         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56729         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56730         (test_wrapper_env): New variable.  Use it to run ld.so.
56731         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56732         Use it to run ld.so.
56733         (test_wrapper_env): Likewise.
56734         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56735         $(test-wrapper) to run-iconv-test.sh.
56736         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56737         (ICONV): Use $test_wrapper.
56738         * posix/Makefile ($(objpfx)globtest.out): Pass
56739         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56740         globtest.sh, not $(run-program-prefix).
56741         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56742         (test_wrapper): Likewise.
56743         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56744         set together with run_via_rtld_prefix.
56745         (run_program_prefix): Define in terms of test_wrapper and
56746         run_via_rtld_prefix.
56748 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56750         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56751         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56752         Targets removed.
56754         [BZ #14743]
56755         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56756         Declare __clock_getres, __clock_gettime, __clock_settime,
56757         __clock_nanosleep, and __clock_getcpuclockid.
56758         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56759         Remove librt_hidden_def (clock_gettime).
56760         * sysdeps/unix/clock_gettime.c: Likewise.
56761         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56763         * rt/clock_getres.c: Define __clock_getres as an alias.
56764         * sysdeps/posix/clock_getres.c: Likewise.
56765         * rt/clock_settime.c: Define __clock_settime as an alias.
56766         * sysdeps/unix/clock_settime.c: Likewise.
56767         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56768         * sysdeps/unix/clock_nanosleep.c: Likewise.
56769         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56770         * rt/clock-compat.c: New file.
56771         * rt/Makefile (librt-routines): Add clock-compat and move
56772         $(clock-routines) to ...
56773         (routines): ... here, new variable.
56774         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56775         Don't add get_clockfreq here.
56776         * rt/Versions (libc: GLIBC_2.17): New version set.
56777         Add clock_* symbols here.
56778         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56779         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56780         (GLIBC_2.17): Add clock_* symbols.
56781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56785         Likewise.
56786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56787         Likewise.
56788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56792         * NEWS: Mention the move.
56794         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56795         Use __open, __read, __close rather than their public counterparts.
56796         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56797         (__get_clockfreq_via_cpuinfo): Likewise.
56798         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56799         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56801         * config.h.in (HAVE_IFUNC): New #undef.
56802         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56803         was successful.
56804         * configure: Regenerated.
56806 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56808         * configure.in: Move READELF check to start of file.
56809         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56810         libc_cv_asm_gnu_indirect_function in the process.
56811         * configure: Regenerated.
56813 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56815         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56816         send the output to /dev/null.
56817         (libc_cv_cc_with_libunwind): Likewise.
56818         (libc_cv_as_noexecstack): Likewise.
56819         * configure: Regenerate.
56821 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56823         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56825         * posix/globtest.sh (TMPDIR): Do not set.
56826         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56827         (testout): Likewise.
56829 2012-10-24  Andreas Jaeger  <aj@suse.de>
56831         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56832         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56833         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56834         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56835         posix_fadvise64, posix_fallocate64.
56837         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56838         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56839         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56840         Likewise.
56841         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56842         Likewise.
56843         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56846         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56847         <bits/fcntl-linux.h>.
56848         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56851         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56852         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56853         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56854         [__WORDSIZE != 64]: Likewise.
56856 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56858         * Makeconfig (run-built-tests): New variable.
56859         * Rules [$(cross-compiling) = yes]: Change condition to
56860         [$(run-built-tests) = no].
56861         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56862         to [$(run-built-tests) = yes].
56863         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56864         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56865         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56866         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56867         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56868         * io/Makefile [$(cross-compiling) = no]: Likewise.
56869         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56870         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56871         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56872         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56873         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56874         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56875         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56876         * string/Makefile [$(cross-compiling) = no]: Likewise.
56878         * posix/Makefile ($(objpfx)globtest.out): Pass
56879         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56880         $(rtld-installed-name).
56881         * posix/globtest.sh (elf_objpfx): Remove variable.
56882         (rtld_installed_name): Likewise.
56883         (library_path): Likewise.
56884         (run_program_prefix): New variable.  Use for running globtest
56885         binary.
56887 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56888             Joseph Myers  <joseph@codesourcery.com>
56890         * Makeconfig (host-built-program-cmd): New variable.
56891         * elf/Makefile (tst-stackguard1-ARGS): Use
56892         $(host-built-program-cmd).
56893         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56894         (tst-spawn-ARGS): Likewise.
56895         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56897 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56898             Jim Blandy  <jimb@codesourcery.com>
56900         * Makeconfig (run-via-rtld-prefix): New variable.
56901         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56902         (built-program-cmd): Likewise.
56904 2012-10-22  Andreas Jaeger  <aj@suse.de>
56906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56907         __O_RSYNC if it exists, otherwise to O_SYNC.
56909 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56910             Joseph Myers  <joseph@codesourcery.com>
56912         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56913         /dev/null.
56914         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56915         from /dev/null
56916         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56917         /dev/null.
56919 2012-10-22  Andreas Jaeger  <aj@suse.de>
56921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56922         Define always.
56923         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56926         bits/fcntl-linux.h.
56928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56929         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56932         to __O_LARGEFILE.
56933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56934         to __O_LARGEFILE.
56936 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56937             Joseph Myers  <joseph@codesourcery.com>
56939         * config.make.in (NM): New variable.
56941 2012-10-21  Andreas Jaeger  <aj@suse.de>
56943         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56944         definitions and declarations that are provided by
56945         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56947 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56949         [BZ #14683]
56950         * elf/Makefile (tests-static): Add tst-leaks1-static.
56951         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56952         ($(objpfx)tst-leaks1-static): New rule.
56953         ($(objpfx)tst-leaks1-static-mem): Likewise.
56954         (tst-leaks1-static-ENV): New macro.
56955         * elf/dl-open.c (dl_open_worker): Check the main application
56956         only if SHARED is defined.
56957         * elf/tst-leaks1-static.c: New file.
56959 2012-10-20  Andreas Jaeger  <aj@suse.de>
56961         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56962         generic values for Linux.
56963         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56964         and declarations that are provided by <bits/fcntl-linux.h> and
56965         include <bits/fcntl-linux.h>.
56966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56967         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56969 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56971         * io/fcntl.h: Move include of <bits/types.h> to the top and
56972         include it unconditionally.
56974 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56976         * wcsmbs/Makefile (tests-ifunc): New variable.
56977         (tests): Add $(tests-ifunc).
56978         * wcsmbs/test-wcschr-ifunc.c: New file.
56979         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56980         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56981         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56982         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56983         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56985         * string/Makefile (tests-ifunc): New variable.
56986         (tests): Add $(tests-ifunc).
56987         * string/test-memccpy.c (TEST_NAME): New macro.
56988         * string/test-memchr.c (TEST_NAME): Likewise.
56989         * string/test-memcmp.c (TEST_NAME): Likewise.
56990         * string/test-memcpy.c (TEST_NAME): Likewise.
56991         * string/test-memmem.c (TEST_NAME): Likewise.
56992         * string/test-memmove.c (TEST_NAME): Likewise.
56993         * string/test-memset.c (TEST_NAME): Likewise.
56994         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56995         * string/test-stpcpy.c (TEST_NAME): Likewise.
56996         * string/test-stpncpy.c (TEST_NAME): Likewise.
56997         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56998         * string/test-strcasestr.c (TEST_NAME): Likewise.
56999         * string/test-strcat.c (TEST_NAME): Likewise.
57000         * string/test-strchr.c (TEST_NAME): Likewise.
57001         * string/test-strcmp.c(TEST_NAME): Likewise.
57002         * string/test-strcpy.c (TEST_NAME): Likewise.
57003         * string/test-strcspn.c (TEST_NAME): Likewise.
57004         * string/test-strlen.c (TEST_NAME): Likewise.
57005         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57006         * string/test-strncmp.c (TEST_NAME): Likewise.
57007         * string/test-strncpy.c (TEST_NAME): Likewise.
57008         * string/test-strnlen.c (TEST_NAME): Likewise.
57009         * string/test-strpbrk.c (TEST_NAME): Likewise.
57010         * string/test-strrchr.c (TEST_NAME): Likewise.
57011         * string/test-strspn.c (TEST_NAME): Likewise.
57012         * string/test-strstr.c (TEST_NAME): Likewise.
57013         * string/test-bcopy-ifunc.c: New file.
57014         * string/test-bzero-ifunc.c: Likewise.
57015         * string/test-memccpy-ifunc.c: Likewise.
57016         * string/test-memchr-ifunc.c: Likewise.
57017         * string/test-memcmp-ifunc.c: Likewise.
57018         * string/test-memcpy-ifunc.c: Likewise.
57019         * string/test-memmem-ifunc.c: Likewise.
57020         * string/test-memmove-ifunc.c: Likewise.
57021         * string/test-mempcpy-ifunc.c: Likewise.
57022         * string/test-memset-ifunc.c: Likewise.
57023         * string/test-rawmemchr-ifunc.c: Likewise.
57024         * string/test-stpcpy-ifunc.c: Likewise.
57025         * string/test-stpncpy-ifunc.c: Likewise.
57026         * string/test-strcasecmp-ifunc.c: Likewise.
57027         * string/test-strcasestr-ifunc.c: Likewise.
57028         * string/test-strcat-ifunc.c: Likewise.
57029         * string/test-strchr-ifunc.c: Likewise.
57030         * string/test-strchrnul-ifunc.c: Likewise.
57031         * string/test-strcmp-ifunc.c: Likewise.
57032         * string/test-strcpy-ifunc.c: Likewise.
57033         * string/test-strcspn-ifunc.c: Likewise.
57034         * string/test-strlen-ifunc.c: Likewise.
57035         * string/test-strncasecmp-ifunc.c: Likewise.
57036         * string/test-strncat-ifunc.c: Likewise.
57037         * string/test-strncmp-ifunc.c: Likewise.
57038         * string/test-strncpy-ifunc.c: Likewise.
57039         * string/test-strnlen-ifunc.c: Likewise.
57040         * string/test-strpbrk-ifunc.c: Likewise.
57041         * string/test-strrchr-ifunc.c: Likewise.
57042         * string/test-strspn-ifunc.c: Likewise.
57043         * string/test-strstr-ifunc.c: Likewise.
57045         * debug/Makefile (tests-ifunc): New variable.
57046         (tests): Add $(tests-ifunc).
57047         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57048         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57049         * debug/test-stpcpy_chk-ifunc.c: New file.
57050         * debug/test-strcpy_chk-ifunc.c: Likewise.
57052 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57054         [BZ #13601]
57055         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57056         header is not read in.
57058 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57060         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57061         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57062         directly.  Pass built executable to script as
57063         $(built-program-cmd).
57064         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57065         $testprogram without using LD_LIBRARY_PATH and $ldso.
57067         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57068         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57069         $(rtld-installed-name).
57070         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57071         (rtld_installed_name): Likewise.
57072         (library_path): Likewise.
57073         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57074         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57075         $(run-program-prefix) to tst-tables.sh.
57076         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57077         it to run tst-table-from and tst-table-to.
57078         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57079         Pass it to tst-table.sh.
57080         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57081         $(run-program-prefix) to tst-gettext.sh.
57082         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57083         tst-translit.sh.
57084         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57085         tst-gettext2.sh.
57086         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57087         to run tst-gettext.
57088         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57089         to run tst-gettext2.
57090         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57091         to run tst-translit.
57092         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57093         $(run-program-prefix) to tst-mtrace.sh.
57094         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57095         to run tst-mtrace.
57096         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57097         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57098         $(rtld-installed-name).
57099         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57100         (rtld_installed_name): Likewise.
57101         (run_program_prefix): New variable.  Use it to run wordexp-test.
57103         * Makeconfig (ARCH): Remove all definitions.
57104         (machine): Likewise.
57105         [ARCH]: Remove conditional code.
57106         [!objdir]: Give error.
57107         [!objdir] (objpfx): Remove.
57108         [!objdir] (common-objpfx): Likewise.
57109         [!objdir] (common-objdir): Likewise.
57110         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57111         AC_CONFIG_FILES call.
57112         * configure: Regenerated.
57114         [BZ #13888]
57115         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57116         or TMPDIR.
57117         (testout): Likewise.
57119         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57120         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57121         $(rtld-installed-name).
57122         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57123         (rtld_installed_name): Likwise.
57124         (runit): Remove function.
57125         (run_getconf): New variable,  Use it for running getconf binary.
57127 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57129         [BZ #14716]
57130         * string/test-memmem.c (check_result): New function.
57131         (do_one_test): Use it.
57132         (check1): New function.
57133         (test_main): Use it.
57135 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57137         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57139 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57141         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57142         (_G_LSEEK64): Likewise.
57143         (_G_MMAP64): Likewise.
57144         (_G_FSTAT64): Likewise.
57145         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57146         (_G_LSEEK64): Likewise.
57147         (_G_MMAP64): Likewise.
57148         (_G_FSTAT64): Likewise.
57149         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57150         unconditional.  Call __mmap64 directly.
57151         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57152         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57153         __lseek64 directly.
57154         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57155         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57156         __mmap64 directly.
57157         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57158         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57159         __lseek64 directly.
57160         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57161         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57162         __lseek64 directly.
57163         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57164         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57165         __lseek64 directly.
57166         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57167         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57168         __fxstat64 directly.
57169         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57170         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57171         unconditional.
57172         (freopen64) [!_G_OPEN64]: Remove conditional code.
57173         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57174         unconditional.
57175         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57176         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57177         unconditional.
57178         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57179         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57180         unconditional.
57181         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57182         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57183         unconditional.
57184         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57185         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57186         unconditional.
57187         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57188         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57189         unconditional.
57190         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57191         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57192         unconditional.
57193         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57195 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57197         [BZ #12140]
57198         * manual/memory.texi (Malloc Tunable Parameters): Add note
57199         about free list pointers overwriting some perturb bytes.
57200         Wording suggested by Roland McGrath.
57202 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57204         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57205         (lgamma_test): Likewise.
57206         (tgamma_test): Likewise.
57208 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57210         [BZ #14700]
57211         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57212         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57214 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57216         * NEWS: Mention BZ #14716.
57217         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57218         when removing AVAILABLE1_USES_J macro.
57220 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57222         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57223         (__bswap_64): __uint64_t for unsigned 64-bit int.
57225 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57227         * include/string.h (memmem): Declare libc hidden alias.
57228         * string/memmem.c (memmem): Define libc hidden alias.
57229         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57230         __read, __close instead of open, read, close.
57232 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57235         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57236         global and hidden.
57237         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57238         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57239         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57240         Likewise.
57241         (__rawmemchr_sse2): Likewise.
57242         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57243         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57244         (__strchr_sse2): Likewise.
57245         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57246         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57247         (__strcasecmp_sse2): Likewise.
57248         (__strncasecmp_sse2): Likewise.
57249         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57250         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57251         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57252         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57253         (__strrchr_sse2): Likewise.
57254         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57255         ifunc-impl-list.c.
57256         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57257         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57258         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57259         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57260         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57261         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57262         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57263         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57264         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57265         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57266         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57267         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57268         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57269         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57270         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57271         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57272         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57273         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57274         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57275         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57276         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57277         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57278         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57279         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57280         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57281         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57282         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57283         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57284         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57285         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57287         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57288         global and hidden.
57289         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57290         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57291         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57292         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57293         Likewise.
57294         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57295         Likewise.
57296         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57297         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57298         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57299         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57300         ifunc-impl-list.c.
57301         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57302         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57303         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57304         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57305         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57306         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57307         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57308         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57309         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57310         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57311         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57312         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57313         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57314         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57315         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57316         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57317         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57318         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57319         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57320         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57321         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57322         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57323         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57324         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57325         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57326         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57327         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57328         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57329         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57330         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57331         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57332         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57333         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57334         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57335         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57336         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57337         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57338         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57339         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57340         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57341         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57343         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57344         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57345         * include/ifunc-impl-list.h: New file.
57346         * misc/ifunc-impl-list.c: Likewise.
57347         * misc/Makefile (routines): Add ifunc-impl-list.
57348         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57349         * string/test-string.h: Include <ifunc-impl-list.h>.
57350         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57351         TEST_NAME]: New variables.
57352         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57353         are defined.
57354         (test_init): Call __libc_ifunc_impl_list to initialize
57355         func_list if TEST_IFUNC and TEST_NAME are defined.
57357         * string/Makefile (strop-tests): Add bcopy and bzero.
57358         * string/test-bcopy.c: New file.
57359         * string/test-bzero.c: Likewise.
57360         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57361         defined.
57362         * string/test-memset.c: Support bzero test if TEST_BZERO is
57363         defined.
57364         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57365         __libc_memmove.
57366         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57367         __libc_memset.
57368         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57369         of memset.
57371 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57373         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57374         * configure: Regenerated.
57376         * Makeconfig (+link-static-before-libc): Don't include
57377         $(link-static-libc).
57379         * libio/libio.h (_IO_pos_t): Remove.
57381 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57383         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57384         McGrath.
57386 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57388         * crypt/crypt-entry.c: Include fips-private.h.
57389         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57390         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57391         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57392         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57394 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57396         * crypt/crypt-private.h: Include stdbool.h.
57397         (_ufc_setup_salt_r): Return bool.
57398         * crypt/crypt-entry.c: Include errno.h.
57399         (__crypt_r): Return NULL with EINVAL for bad salt.
57400         * crypt/crypt_util.c (bad_for_salt): New.
57401         (_ufc_setup_salt_r): Check that salt is long enough and within
57402         the specified alphabet.
57403         * crypt/badsalttest.c: New file.
57404         * crypt/Makefile (tests): Add it.
57405         ($(objpfx)badsalttest): New.
57407 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57409         * NEWS: Add entry for BZ #14602.
57411 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57413         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57414         type-generic.
57415         * math/libm-test.inc: Update comment listing what functions and
57416         macros are tested.
57417         (isgreater_test): New function.
57418         (isgreaterequal_test): Likewise.
57419         (isless_test): Likewise.
57420         (islessequal_test): Likewise.
57421         (islessgreater_test): Likewise.
57422         (isunordered_test): Likewise.
57423         (main): Call the new functions.
57425 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57427         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57428         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57429         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57430         * sysdeps/i386/configure: Regenerated.
57431         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57432         * sysdeps/mach/configure: Regenerated.
57433         * sysdeps/mach/hurd/configure: Regenerated.
57434         * sysdeps/powerpc/configure: Regenerated.
57435         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57436         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57437         * sysdeps/s390/s390-32/configure: Regenerated.
57438         * sysdeps/s390/s390-64/configure: Regenerated.
57439         * sysdeps/sh/configure: Regenerated.
57440         * sysdeps/sparc/configure: Regenerated.
57441         * sysdeps/unix/sysv/linux/configure: Regenerated.
57442         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57443         * sysdeps/x86_64/configure: Regenerated.
57445         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57446         defined.  Don't check if MAP is NULL.
57448 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57450         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57451         (_G_stat64): Likewise.
57452         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57453         (_G_stat64): Likewise.
57454         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57455         instead of struct _G_stat64.
57456         * libio/fileops.c (mmap_remap_check): Likewise.
57457         (decide_maybe_mmap): Likewise.
57458         (_IO_new_file_seekoff): Likewise.
57459         (_IO_file_stat): Likewise.
57460         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57461         _G_off64_t.
57462         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57463         instead of struct _G_stat64.
57464         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57466 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57468         [BZ #14602]
57469         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57470         Replace with ...
57471         (CHECK_EOL): New macro.
57472         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57473         CHECK_EOL.
57474         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57475         Replace with CHECK_EOL.
57476         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57477         Replace with CHECK_EOL.
57479 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57481         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57482         type-generic.
57483         * math/libm-test.inc: Update comment listing what functions and
57484         macros are tested.
57485         (finite_test): New function.
57486         (isinf_test): Likewise.
57487         (isnan_test): Likewise.
57488         (fpclassify_test): Test subnormal input.
57489         (isfinite_test): Likewise.
57490         (isnormal_test): Likewise.
57491         (main): Call the new functions.
57493 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57495         [BZ #14660]
57496         * Makerules (%.dynsym): Force C locale when running
57497         $(OBJDUMP) --dynamic-syms.
57499 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57501         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57502         <stdint.h>.
57504 2012-10-06  David S. Miller  <davem@davemloft.net>
57506         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57507         upper 32-bits of the length value in %o2 since we use branch-on-register
57508         tests which consider the entire 64-bit register.
57510 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57512         * string/test-strstr.c (check2): Add a test for page boundary.
57514 2012-10-05  David S. Miller  <davem@davemloft.net>
57516         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57517         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57518         file.
57519         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57520         sysdep_routines.
57521         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57522         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57523         and bzero when HWCAP_SPARC_CRYPTO is present.
57525 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57527         [BZ #14602]
57528         * string/test-strstr.c (check2): New function.
57529         (test_main): Call check2.
57531         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57532         and bug-strchr1.
57533         * string/bug-strcasestr1.c (do_test): Moved to ...
57534         * string/test-strcasestr.c (check1): Here.  New function.
57535         (do_one_test): Break out result checking code into ...
57536         (check_result): This.  New function.
57537         (do_one_test): Call check_result.
57538         (test_main): Call check1.
57539         * string/bug-strchr1.c (do_test): Moved to ...
57540         * string/test-strchr.c (check1): Here.  New function.
57541         (do_one_test): Break out result checking code into ...
57542         (check_result): This.  New function.
57543         (do_one_test): Call check_result.
57544         (test_main): Call check1.
57545         * string/bug-strstr1.c (main): Moved to ...
57546         * string/test-strstr.c (check1): Here.  New function.
57547         (do_one_test): Break out result checking code into ...
57548         (check_result): This.  New function.
57549         (do_one_test): Call check_result.
57550         (test_main): Call check1.
57551         * string/bug-strcasestr1.c: Removed.
57552         * string/bug-strchr1.c: Likewise.
57553         * string/bug-strstr1.c: Likewise.
57555         * elf/Makefile (dl-routines): Add hwcaps.
57556         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57557         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57558         (_dl_important_hwcaps): Moved to ...
57559         * elf/dl-hwcaps.c: Here.  New file.
57560         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57562         [BZ #14557]
57563         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57564         if IS_IN_rtld isn't defined.
57566         * elf/dl-support.c (_dl_sysinfo_map): New.
57567         Include "get-dynamic-info.h" and "setup-vdso.h".
57568         (_dl_non_dynamic_init): Call setup_vdso.
57569         * elf/dynamic-link.h: Don't include <assert.h>.
57570         (elf_get_dynamic_info): Moved to ...
57571         * elf/get-dynamic-info.h: Here.  New file.
57572         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57573         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57574         * elf/setup-vdso.h: Here.  New file.
57575         * elf/rtld.c: Include "setup-vdso.h".
57576         (dl_main): Call setup_vdso.
57578 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57580         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57581         creal in comment listing functions tested.  List finite, isinf,
57582         isnan, isless, islessequal, isgreater, isgreaterequal,
57583         islessgreater, isunordered, lgamma_r and pow10 as functions and
57584         macros not tested.  Mention which functions not tested are aliases
57585         for other functions.  Fix typo.  Note that signs of NaNs are not
57586         tested.
57588         * scripts/config.guess: Update from config.git.
57589         * scripts/config.sub: Likewise.
57591 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57593         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57594         * misc/madvise.c (madvise): Renamed to __madvise.
57595         Make madvise a weak alias.
57596         * include/sys/mman.h: Declare __madvise.
57597         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57598         * sysdeps/unix/syscalls.list
57599         (madvise): Make __madvise the strong name, and madvise a weak alias.
57600         * sysdeps/unix/sysv/linux/syscalls.list
57601         (madvise, mmap): Remove redundant entries.
57602         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57603         * malloc/malloc.c (mtrim): Likewise.
57604         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57606 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57608         * sysdeps/mach/hurd/dl-cache.c: File removed.
57609         * config.h.in (USE_LDCONFIG): New #undef.
57610         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57611         * configure: Regenerated.
57612         * elf/Makefile (dl-routines): Add dl-cache only under
57613         [$(use-ldconfig) = yes].
57614         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57615         cache on [USE_LDCONFIG].
57616         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57617         [USE_LDCONFIG].
57618         * elf/rtld.c (dl_main): Likewise.
57620 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57622         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57623         _SC_LEVEL4_CACHE_LINESIZE.
57625 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57627         * sysdeps/unix/bsd/confstr.h: File removed.
57629 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57631         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57632         sys/sdt-config.h.
57634 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57636         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57637         Make 'mapoff' field ElfW(Off) rather than off_t.
57639 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57641         * nscd/Makefile: Remove nscd-cflags and all its users.
57642         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57643         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57645         [BZ #10631]
57646         * malloc.c (malloc_printerr): Clarify error message.
57648 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57650         [BZ #14648]
57651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57652         Set bit_FMA_Usable if FMA is supported.
57653         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57654         macro.
57655         (bit_FMA4_Usable): Updated.
57656         (index_FMA_Usable): New macro.
57657         (CPUID_FMA): Likewise.
57658         (HAS_FMA): Defined with bit_FMA_Usable.
57660 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57662         * bits/types.h (__swblk_t): Type removed.
57663         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57664         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57666         (__SWBLK_T_TYPE): Likewise.
57667         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57668         (__SWBLK_T_TYPE): Likewise.
57669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57670         (__SWBLK_T_TYPE): Likewise.
57671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57672         (__SWBLK_T_TYPE): Likewise.
57674 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57675             Honza Horak <hhorak@redhat.com>
57677         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57678         (xdr_mapname): Use YPMAXMAP as maxsize.
57679         (xdr_peername): Use YPMAXPEER as maxsize.
57680         (xdr_keydat): Use YPAXRECORD as maxsize.
57681         (xdr_valdat): Use YPMAXRECORD as maxsize.
57683 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57685         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57687         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57688         * csu/init-first.c: ... here.
57689         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57690         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57691         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57692         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57693         * sysdeps/i386/init-first.c: File removed.
57694         * sysdeps/sh/init-first.c: File removed.
57696 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57698         [BZ #14645]
57699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57700         if x * y might underflow to zero and z is zero.
57701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57703         * math/libm-test.inc (min_subnorm_value): New variable.
57704         (fma_test): Add more tests.
57705         (fma_test_towardzero): Likewise.
57706         (fma_test_downward): Likewise.
57707         (fma_test_upward): Likewise.
57708         (initialize): Set min_subnorm_value.
57710 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57712         [BZ #14638]
57713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57714         0 + 0.
57715         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57716         mode for addition resulting in exact zero.
57717         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57719         exact 0 + 0.
57720         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57721         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57722         * math/libm-test.inc (fma_test): Add more tests.
57723         (fma_test_towardzero): New function.
57724         (fma_test_downward): Likewise.
57725         (fma_test_upward): Likewise.
57726         (main): Call the new functions.
57728 2012-09-28  David S. Miller  <davem@davemloft.net>
57730         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57732 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57734         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57735         instead of SIGALRM.
57737         * sysdeps/gnu/_G_config.h: Moved to ...
57738         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57739         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57740         * sysdeps/generic/_G_config.h: ... here.
57742         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57744         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57746         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57747         Conditionalize target on [libnss_test1.so-version].
57749         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57751         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57752         (elfobjdir): Move out of conditionals.
57754         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57755         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57756         (__nss_lookup_function): Conditionalize label remove_from_tree on
57757         [!DO_STATIC_NSS || SHARED], matching its only use.
57759 2012-09-28  David S. Miller  <davem@davemloft.net>
57761         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57762         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57763         file.
57764         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57765         sysdep_routines.
57766         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57767         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57768         when HWCAP_SPARC_CRYPTO is present.
57770 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57772         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57774 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57776         [BZ #6530]
57777         * stdio-common/vfprintf.c (process_string_arg): Revert
57778         2000-07-22 change.
57780 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57782         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57783         for testcase.
57784         * stdio-common/tst-sprintf.c: Include <locale.h>
57785         (main): Test sprintf's handling of incomplete multibyte
57786         characters.
57788 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57790         * elf/dl-runtime.c (VERSYMIDX): Removed.
57791         * elf/dl-version.c (VERSYMIDX): Likewise.
57792         * elf/do-rel.h (VERSYMIDX): Likewise.
57793         (VALIDX): Likewise.
57794         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57795         * elf/rtld.c (VALIDX): Likewise.
57796         (ADDRIDX): Likewise.
57797         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57798         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57799         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57800         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57801         (VALIDX): Likewise.
57802         (ADDRIDX): Likewise.
57804 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57806         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57808 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57810         [BZ #11438]
57811         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57812         to global scope.
57813         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57814         addresses are in the same scope as 192.0.2/24.
57815         * posix/gai.conf: Document new scope table defaults.
57817 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57819         [BZ #5298]
57820         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57821         for ftell.  Compute offsets from write pointers instead.
57822         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57824 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57826         [BZ #14543]
57827         * libio/Makefile (tests): New test case tst-fseek.
57828         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57829         combination works in wide mode.
57830         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57831         state when the external buffer state changes.
57833 2012-09-27  David S. Miller  <davem@davemloft.net>
57835         [BZ #14376]
57836         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57837         pass reloc->r_addend in as the 'high' argument to
57838         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57842 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57844         * rt/tst-aio2.c: Include <pthread.h>.
57845         * rt/tst-aio3.c: Likewise.
57847 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57849         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57851 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57853         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57854         contents on [SHARED].
57856 2012-09-26  Marek Polacek  <polacek@redhat.com>
57858         [BZ #14530]
57859         [BZ #13741]
57860         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57861         for C++ and GCC <4.3 as well as for non GCC compilers.
57863 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57867 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57869         * Makefile.in (all, install): Declare with .PHONY.
57870         Reported by Michael Hope <michael.hope@linaro.org>.
57872 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57874         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57875         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57876         system header.
57877         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57878         Likewise.
57879         (sydep_routines): Add the new and the internal functions.
57880         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57881         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57883         (GLIBC_2.17): Add the new function.
57884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57885         (GLIBC_2.17): Likewise.
57886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57887         (GLIBC_2.17): Likewise.
57888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57889         (GLIBC_2.17): Likewise.
57890         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57892 2012-09-25  Alan Modra  <amodra@gmail.com>
57894         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57895         Add release barrier before setting once_control to say
57896         initialisation is done.  Add hints on lwarx.  Use macro in
57897         place of isync.
57898         (clear_once_control): Add release barrier.
57900 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57902         [BZ #13629]
57903         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57904         specially.
57905         * math/s_clog10.c (__clog10): Likewise.
57906         * math/s_clog10f.c (__clog10f): Likewise.
57907         * math/s_clog10l.c (__clog10l): Likewise.
57908         * math/s_clogf.c (__clogf): Likewise.
57909         * math/s_clogl.c (__clogl): Likewise.
57910         * math/Makefile (libm-calls): Add x2y2m1.
57911         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57912         (__x2y2m1): Likewise.
57913         (__x2y2m1l): Likewise.
57914         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57915         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57916         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57917         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57918         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57919         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57920         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57921         * sysdeps/i386/fpu/libm-test-ulps: Update.
57922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57924         [BZ #14621]
57925         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57926         int as type of variable DEPTH.
57927         (glob): Use size_t instead of int as type of variables NEWCOUNT
57928         and OLD_PATHC.
57930 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57932         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57933         Add s_sincosf-sse2.
57934         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57935         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57936         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57937         macros for using routine as __sincosf_ia32.
57938         Use macro for function declaration and weak_alias.
57939         * sysdeps/i386/fpu/libm-test-ulps: Update.
57941         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57944         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57945         subnormal argument.
57946         * math/s_cexpf.c (__cexpf): Likewise.
57947         * math/s_csinf.c (__csinf): Likewise.
57948         * math/s_csinhf.c (__csinhf): Likewise.
57949         * math/s_ctanf.c (__ctanf): Likewise.
57950         * math/s_ctanhf.c (__ctanhf): Likewise.
57951         * math/s_ccosh.c (__ccoshf): Likewise.
57952         * math/s_cexp.c (__cexpl): Likewise.
57953         * math/s_csin.c (__csin): Likewise.
57954         * math/s_csinh.c (__csinh): Likewise.
57955         * math/s_ctan.c (__ctan): Likewise.
57956         * math/s_ctanh.c (ctanh): Likewise.
57957         * math/s_ccoshl.c (__ccoshl): Likewise.
57958         * math/s_cexpl.c (__cexpl): Likewise.
57959         * math/s_csinl.c (__csinl): Likewise.
57960         * math/s_csinhl.c (__csinhl): Likewise.
57961         * math/s_ctanl.c (__ctanl): Likewise.
57962         * math/s_ctanhl.c (__ctanhl): Likewise.
57964 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57966         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57967         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57968         (_IO_off_t): Define to __off_t, not _G_off_t.
57969         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57970         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57971         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57972         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57973         type of __dummy and __dummy2 fields.
57974         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57975         (_G_ssize_t): Likewise.
57976         (_G_off_t): Likewise.
57977         (_G_pid_t): Likewise.
57978         (_G_uid_t): Likewise.
57979         (_G_wchar_t): Likewise.
57980         (_G_wint_t): Likewise.
57981         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57982         (_G_ssize_t): Likewise.
57983         (_G_off_t): Likewise.
57984         (_G_pid_t): Likewise.
57985         (_G_uid_t): Likewise.
57986         (_G_wchar_t): Likewise.
57987         (_G_wint_t): Likewise.
57988         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57989         (_G_ssize_t): Likewise.
57990         (_G_off_t): Likewise.
57991         (_G_pid_t): Likewise.
57992         (_G_uid_t): Likewise.
57993         (_G_wchar_t): Likewise.
57994         (_G_wint_t): Likewise.
57996 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57998         * malloc/arena.c: Include malloc-sysdep.h.
57999         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58000         is sufficient to shrink the heap or an unmap is needed.
58001         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58002         new function check_may_shrink_heap.
58003         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58004         new function check_may_shrink_heap.
58006 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58008         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58009         comments.
58011 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58013         * catgets/test-gencat.sh: Add "set -e".
58014         * elf/tst-pathopt.sh: Likewise.
58015         * grp/tst_fgetgrent.sh: Likewise.
58016         * iconvdata/run-iconv-test.sh: Likewise.
58017         * intl/tst-gettext.sh: Likewise.
58018         * intl/tst-gettext2.sh: Likewise.
58019         * intl/tst-gettext4.sh: Likewise.
58020         * intl/tst-gettext6.sh: Likewise.
58021         * intl/tst-translit.sh: Likewise.
58022         * io/ftwtest-sh: Likewise.
58023         * libio/test-freopen.sh: Likewise.
58024         * malloc/tst-mtrace.sh: Likewise.
58025         * posix/globtest.sh: Likewise.
58026         * posix/tst-getconf.sh: Likewise.
58027         * posix/wordexp-tst.sh: Likewise.
58028         * stdio-common/tst-printf.sh: Likewise.
58029         * stdio-common/tst-unbputc.sh: Likewise.
58030         * stdlib/tst-fmtmsg.sh: Likewise.
58031         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58032         * catgets/Makefile: Do not specify -e option when running
58033         testsuite shell scripts.
58034         * elf/Makefile: Likewise.
58035         * grp/Makefile: Likewise.
58036         * iconvdata/Makefile: Likewise.
58037         * intl/Makefile: Likewise.
58038         * io/Makefile: Likewise.
58039         * libio/Makefile: Likewise.
58040         * malloc/Makefile: Likewise.
58041         * posix/Makefile: Likewise.
58042         * stdio-common/Makefile: Likewise.
58043         * stdlib/Makefile: Likewise.
58044         * sysdeps/x86_64/Makefile: Likewise.
58046         * io/ftwtest-sh: Add copyright header.
58047         * posix/globtest.sh: Likewise.
58048         * posix/tst-getconf.sh: Likewise.
58049         * posix/wordexp-tst.sh: Likewise.
58050         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58052 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58054         [BZ #13679]
58055         * Makeconfig (+link): Defined as $(+link-static) if
58056         $(build-shared) isn't yes.
58057         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58058         isn't yes.
58059         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58061         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58063         [BZ #14562]
58064         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58065         new chunk size with MALLOC_ALIGN_MASK.
58067 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58069         [BZ #5044]
58070         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58071         <rounding-mode.h>.
58072         (__printf_fphex): Determine rounding using get_rounding_mode and
58073         round_away.
58074         * stdio-common/tst-printf-round.c (struct hex_test): New
58075         structure.
58076         (hex_tests): New variable.
58077         (test_hex_in_one_mode): New function.
58078         (do_test): Also run tests for hex float output.
58080 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58082         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58083         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58084         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58085         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58086         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58087         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58088         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58089         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58091 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58093         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58094         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58095         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58096         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58098 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58100         [BZ #14579]
58101         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58102         mode only.
58103         * elf/tst-rtld-load-self.sh: New test.
58104         * elf/Makefile: Run it.
58106 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58108         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58109         (tst-writev-ENV): Remove.
58110         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58112 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58114         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58116 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58118         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58119         unconditional.
58120         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58121         Likewise.
58122         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58123         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58124         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58125         Likewise.
58127 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58129         [BZ #14587]
58130         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58131         * config.make.in (have-cpp-asm-debuginfo): Removed.
58132         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58133         * configure: Regenerated.
58135 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58137         [BZ #5044]
58138         * stdio-common/printf_fp.c: Include <stdbool.h> and
58139         <rounding-mode.h>.
58140         (___printf_fp): Determine rounding using get_rounding_mode and
58141         round_away.
58142         * stdio-common/tst-printf-round.c: New file.
58143         * stdio-common/Makefile (tests): Add tst-printf-round.
58144         (link-libm): New variable.
58145         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58147 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58149         [BZ #14576]
58150         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58151         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58152         Likewise.
58153         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58154         Likewise.
58156 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58158         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58159         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58160         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58161         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58163 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58165         [BZ #14518]
58166         * include/rounding-mode.h: New file.
58167         * sysdeps/generic/get-rounding-mode.h: Likewise.
58168         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58169         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58170         (MAX_VALUE): New macro.
58171         (MIN_VALUE): Likewise.
58172         (overflow_value): New function.
58173         (underflow_value): Likewise.
58174         (round_and_return): Use overflow_value and underflow_value to
58175         determine return values in overflow and underflow cases.  Use
58176         round_away to determine rounding depending on rounding mode.
58177         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58178         determine return values in overflow and underflow cases.
58179         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58180         (struct test_results): New structure.
58181         (struct test): Use struct test_results to store expected results
58182         for all rounding modes.
58183         (TEST): Include expected results for all rounding modes.
58184         (test_in_one_mode): New function.
58185         (do_test): Use test_in_one_mode to compute and check results.
58186         Check results for all rounding modes.
58187         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58188         $(link-libm).
58190 2012-12-09  Allan McRae  <allan@archlinux.org>
58192         * sysdeps/i386/fpu/libm-test-ulps: Update
58194 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58196         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58197         (_G_int32_t): Likewise.
58198         (_G_uint16_t): Likewise.
58199         (_G_uint32_t): Likewise.
58200         (_G_HAVE_BOOL): Likewise.
58201         (_G_HAVE_ATEXIT): Likewise.
58202         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58203         (_G_HAVE_IO_FILE_OPEN): Likewise.
58204         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58205         (_G_int32_t): Likewise.
58206         (_G_uint16_t): Likewise.
58207         (_G_uint32_t): Likewise.
58208         (_G_HAVE_BOOL): Likewise.
58209         (_G_HAVE_ATEXIT): Likewise.
58210         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58211         (_G_HAVE_IO_FILE_OPEN): Likewise.
58212         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58213         (_G_int32_t): Likewise.
58214         (_G_uint16_t): Likewise.
58215         (_G_uint32_t): Likewise.
58216         (_G_HAVE_BOOL): Likewise.
58217         (_G_HAVE_ATEXIT): Likewise.
58218         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58219         (_G_HAVE_IO_FILE_OPEN): Likewise.
58221 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58223         * csu/libc-tls.c: Update copyright years.
58225 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58227         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58228         [!_G_USING_THUNKS]: Remove conditional code.
58229         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58230         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58232         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58233         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58234         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58235         (_G_VTABLE_LABEL_PREFIX): Likewise.
58236         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58237         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58238         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58239         (_G_VTABLE_LABEL_PREFIX): Likewise.
58240         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58241         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58242         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58243         (_G_VTABLE_LABEL_PREFIX): Likewise.
58244         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58246 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58248         * libio/Makefile: Include ../Makeconfig before tests.
58249         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58250         only if $(build-shared) is yes.
58252         * iconv/gconv_db.c: Update copyright years.
58254 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58256         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58257         unwind info if defined PIC. Fix special cases description.
58258         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58260         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58261         DP_HI_MASK entry.
58262         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58264 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58266         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58268         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58269         is NULL.
58271         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58272         (LDLIBS-tst-chk4): This.
58273         (LDFLAGS-tst-chk5): Renamed to ...
58274         (LDLIBS-tst-chk5): This.
58275         (LDFLAGS-tst-chk6): Renamed to ...
58276         (LDLIBS-tst-chk6): This.
58277         (LDFLAGS-tst-lfschk4): Renamed to ...
58278         (LDLIBS-tst-lfschk4): This.
58279         (LDFLAGS-tst-lfschk5): Renamed to ...
58280         (LDLIBS-tst-lfschk5): This.
58281         (LDFLAGS-tst-lfschk6): Renamed to ...
58282         (LDLIBS-tst-lfschk6): This.
58284         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58285         on $(common-objpfx)soversions.mk.
58287 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58289         [BZ #10014]
58290         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58291         example host name.
58293 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58295         * malloc/arena.c (arena_get_retry): New function that gets
58296         another arena for the caller to try its request on.
58297         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58298         current arena cannot fulfill the request.
58299         (__libc_memalign): Likewise.
58300         (__libc_memalign): Likewise.
58301         (__libc_pvalloc): Likewise.
58302         (__libc_calloc): Likewise.
58304 2012-09-05  John Tobey  <john.tobey@gmail.com>
58306         [BZ #13542]
58307         * manual/arith.texi (Operations on Complex): Fix description
58308         of carg branch cut.
58310 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58312         [BZ #10014]
58313         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58314         host name.
58316         [BZ #10038]
58317         * manual/memory.texi (Memory): Make order of menu items match
58318         order of sections.
58320 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58322         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58323         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58324         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58326 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58328         * csu/libc-tls.c (static_dtv): Renamed to ...
58329         (_dl_static_dtv): This.  Make it global.
58330         (_dl_initial_dtv): Removed.
58331         (__libc_setup_tls): Updated.
58332         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58333         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58334         DL_INITIAL_DTV.
58336 2012-09-06  Petr Machata  <pmachata@redhat.com>
58338         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58339         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58340         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58341         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58343 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58345         [BZ #14545]
58346         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58347         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58348         freeing dtv[-1].
58350 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58352         [BZ #14544]
58353         * Makeconfig (link-static-before-libc): Replace $(+prector)
58354         with $(+prectorT).
58355         (link-static-after-libc): Replace $(+postctor) with
58356         $(+postctorT).
58357         (link-bounded): Replace $(+prector)/$(+postctor) with
58358         $(+prectorT)/$(+postctorT).
58359         (+prectorT): New macro.
58360         (+postctorT): Likewise.
58362 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58364         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58365         (round_str): Handle values above the maximum for IBM long double
58366         as inexact.
58367         * stdlib/tst-strtod-round.c (tests): Regenerated.
58369 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58371         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58372         assembler flag.
58373         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58374         zarch_nohighgprs around the zarch optimized routines.
58375         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58376         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58378         for zarch.
58380 2012-09-05  David S. Miller  <davem@davemloft.net>
58382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58384         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58385         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58386         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58387         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58388         entries.
58390 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58392         * malloc/arena.c: Fold copyright years.
58393         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58395 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58397         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58401         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58403 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58405         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58406         change internal state upon failure.
58408 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58410         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58411         * malloc/memusage.c (mmap): Likewise.
58412         (mmap64, mremap): Likewise.  Adjust name in comment.
58414 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58416         * libio/fileops.c: Fix typos in comments.
58417         * libio/oldfileops.c: Likewise.
58418         * libio/wfileops.c: Likewise.
58420 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58422         [BZ #1349]
58423         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58424         (tst-malloc-usable-ENV): Set environment for test case.
58425         * malloc/hooks.c (malloc_check_get_size): New function to get
58426         requested size.
58427         * malloc/malloc.c (musable): Use malloc_check_get_size.
58428         * malloc/tst-malloc-usable.c: New test case.
58430 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58432         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58434 2012-09-05  Allan McRae  <allan@archlinux.org>
58436         [BZ #13966]
58437         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58438         determine header location.
58439         * configure: Regenerated.
58441 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58443         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58444         float format.
58445         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58446         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58447         format.
58448         (test): Regenerate.
58450 2012-09-04  David S. Miller  <davem@davemloft.net>
58452         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58453         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58454         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58456 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58458         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58459         failures.
58461         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58463 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58465         [BZ #9914]
58466         * libio/iogetdelim.c: Include <limits.h>.
58467         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58468         + len + 1 would overflow.
58470 2012-09-03  Andreas Jaeger  <aj@suse.de>
58472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58473         * sysdeps/i386/fpu/libm-test-ulps: Update.
58475 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58477         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58478         Add s_sinf-sse2, s_conf-sse2.
58480         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58481         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58482         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58483         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58485         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58486         for using routine as __sinf_ia32.
58487         Use macro for function declaration and weak_alias.
58488         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58489         for using routine as __cosf_ia32.
58490         Use macro for function declaration and weak_alias.
58492         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58493         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58495         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58496         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58499         * math/libm-test.inc (cos_test): Add more test cases.
58500         (sin_test): Likewise.
58501         (sincos_test): Likewise.
58503 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58506         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58507         hidden.
58508         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58510 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58512         [BZ #14538]
58513         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58514         first element of the GOT.
58515         (elf_machine_load_address): Return the difference between
58516         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58518 2012-09-01  Allan McRae  <allan@archlinux.org>
58520         [BZ #13412]
58521         * configure.in (AWK): Require gawk version 3.0 or later.
58522         * configure: Regenerated.
58524 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58526         * sysdeps/unix/sysv/linux/kernel-features.h
58527         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58528         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58529         [__NR_clock_getres]: Make code unconditional.
58530         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58531         (clock_getcpuclockid): Remove code left unreachable by removal of
58532         conditionals.
58533         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58534         code unconditional.
58535         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58536         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58537         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58538         Make code unconditional.
58539         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58540         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58541         * sysdeps/unix/sysv/linux/clock_settime.c
58542         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58543         conditional code.
58544         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58545         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58547 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58549         [BZ #14476]
58550         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58551         scripts/test-installation.pl.
58553         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58554         and $ld_so_version if it is set.
58556 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58558         [BZ #14516]
58559         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58560         failure if reading from procfs failed.
58561         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58563 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58565         * sysdeps/unix/sysv/linux/kernel-features.h
58566         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58567         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58568         Remove conditional code.
58569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58570         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58571         Remove conditional code.
58572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58573         * sysdeps/unix/sysv/linux/i386/fxstat.c
58574         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58576         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58577         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58579         * sysdeps/unix/sysv/linux/i386/lxstat.c
58580         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58582         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58583         Remove conditional code.
58584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58585         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58586         Remove conditional code.
58587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58588         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58589         <kernel-features.h>.
58590         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58591         Remove.
58592         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58593         Remove conditional code.
58594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58595         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58596         Remove conditional.
58598 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58600         [BZ #5400]
58601         * NEWS: Add fixed bug number.
58603 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58605         [BZ #14519]
58606         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58607         underflowing exponent in case of negative sign.
58608         * stdlib/tst-strtod-round-data: Add more tests.
58609         * stdlib/tst-strtod-round.c (tests): Regenerated.
58611         [BZ #3479]
58612         * stdlib/strtod_l.c (NDIG): Remove.
58613         (HEXNDIG): Likewise.
58614         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58615         smallest representable value.
58616         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58617         lie within an exact representation of 1/2 ulp of the result.
58618         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58619         unconditionally.
58620         (TENS_P9_IDX): Define unconditionally.
58621         (TENS_P9_SIZE): Likewise.
58622         (TENS_P10_IDX): Likewise.
58623         (TENS_P10_SIZE): Likewise.
58624         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58625         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58626         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58627         entries for 10^2^13 and 10^2^14.
58628         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58629         (TENS_P13_IDX): Define.
58630         (TENS_P13_SIZE): Likewise.
58631         (TENS_P14_IDX): Likewise.
58632         (TENS_P14_SIZE): Likewise.
58633         (_fpioconst_pow10): Change array size to
58634         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58635         unconditional.
58636         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58637         1024]: Add entries for 10^2^13 and 10^2^14.
58638         [LAST_POW10 > _LAST_POW10]: Remove #error.
58639         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58640         (_fpioconst_pow10): Change array size to
58641         FPIOCONST_POW10_ARRAY_SIZE.
58642         * stdlib/gen-fpioconst.c: New file.
58643         * stdlib/gen-tst-strtod-round.c: Likewise.
58644         * stdlib/tst-strtod-round-data: Likewise.
58645         * stdlib/tst-strtod-round.c: Likewise.
58646         * stdlib/Makefile (tests): Add tst-strtod-round.
58648         [BZ #14459]
58649         * stdlib/strtod_l.c: Include <stdint.h>.
58650         (NDEBUG): Do not define.
58651         (round_and_return): Change EXPONENT parameter to type intmax_t.
58652         Rearrange calculations to avoid internal overflow possibilities.
58653         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58654         Rearrange calculations to avoid internal overflow possibilities.
58655         Assert that number fits inside MPNSIZE limbs.
58656         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58657         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58658         calculations and add assertions to avoid internal overflow
58659         possibilities.  Add casts to avoid signed/unsigned operations.
58660         * stdlib/tst-strtod-overflow.c: New file.
58661         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58663 2012-08-25  Marek Polacek  <polacek@redhat.com>
58665         * time/time.h: Fix some typos in comments.
58667 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58669         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58670         * posix/tst-rfc3484-2.c: Likewise.
58671         * posix/tst-rfc3484-3.c: Likewise.
58673 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58675         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58676         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58678 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58680         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58681         #include of fxstatat64.c.
58683 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58685         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58686         * shadow/getspent_r.c: Likewise.
58687         * shadow/getspnam.c: Likewise.
58688         * shadow/getspnam_r.c: Likewise.
58689         * gshadow/getsgent.c: Likewise.
58690         * gshadow/getsgent_r.c: Likewise.
58691         * gshadow/getsgnam.c: Likewise.
58692         * gshadow/getsgnam_r.c: Likewise.
58693         * inet/getnetbyad.c: Likewise.
58694         * inet/getnetbyad_r.c: Likewise.
58695         * inet/getnetbynm.c: Likewise.
58696         * inet/getnetbynm_r.c: Likewise.
58697         * inet/getnetent.c: Likewise.
58698         * inet/getnetent_r.c: Likewise.
58699         * inet/getproto.c: Likewise.
58700         * inet/getproto_r.c: Likewise.
58701         * inet/getprtent.c: Likewise.
58702         * inet/getprtent_r.c: Likewise.
58703         * inet/getprtname.c: Likewise.
58704         * inet/getprtname_r.c: Likewise.
58705         * inet/getrpcbyname.c: Likewise.
58706         * inet/getrpcbyname_r.c: Likewise.
58707         * inet/getrpcbynumber.c: Likewise.
58708         * inet/getrpcbynumber_r.c: Likewise.
58709         * inet/getrpcent.c: Likewise.
58710         * inet/getrpcent_r.c: Likewise.
58711         * inet/getaliasent.c: Likewise.
58712         * inet/getaliasent_r.c: Likewise.
58713         * inet/getaliasname.c: Likewise.
58714         * inet/getaliasname_r.c: Likewise.
58715         * nscd/getgrgid_r.c: Likewise.
58716         * nscd/getgrnam_r.c: Likewise.
58717         * nscd/gethstbyad_r.c: Likewise.
58718         * nscd/gethstbynm3_r.c: Likewise.
58719         * nscd/getpwnam_r.c: Likewise.
58720         * nscd/getpwuid_r.c: Likewise.
58721         * nscd/getsrvbynm_r.c: Likewise.
58722         * nscd/getsrvbypt_r.c: Likewise.
58723         * nscd/gai.c: Likewise.
58725         * configure.in (build_nscd): New substituted variable, set
58726         by --disable-build-nscd and defaults to $use_nscd.
58727         * configure: Regenerated.
58728         * config.make.in (build-nscd): New substituted variable.
58729         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58730         Change conditional to require [$(build-nscd) = yes] as well.
58731         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58733         [BZ# 13696]
58734         * configure.in (use_nscd): New substituted variable, set by
58735         --disable-nscd.  If enabled, define USE_NSCD.
58736         * configure: Regenerated.
58737         * config.h.in: Add USE_NSCD.
58738         * config.make.in (use-nscd): New substituted variable.
58739         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58740         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58741         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58742         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58743         (CFLAGS-getgrnam_r.c): Likewise.
58744         (CFLAGS-initgroups.c): Likewise.
58745         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58746         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58747         Variables removed.
58748         * inet/getnetgrent_r.c
58749         (nscd_setnetgrent): New function, broken out of ...
58750         (setnetgrent): ... here.  Call it.
58751         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58752         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58753         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58754         * nscd/Makefile (routines, aux): Move definitions after include of
58755         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58756         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58757         Conditionalize on [USE_NSCD].
58758         (is_nscd, nscd_init_cb): Likewise.
58759         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58760         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58761         * nss/nss_db/db-init.c: Likewise.
58762         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58763         [USE_NSCD].
58764         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58765         (make_request): Use it.
58766         (cache_valid_p): New function.
58767         (__check_pf): Use it.
58768         * NEWS: Add item for --disable-nscd.
58770 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58772         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58773         to support sed >= 4.2.1-20-ga9bf076.
58774         * configure: Regenerated.
58776 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58778         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58779         Conditionalize whole body on [IREL].
58781 2012-08-22  Jeff Law <law@redhat.com>
58783         [BZ #14505]
58784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58785         if the family is PF_UNSPEC.
58787 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58789         * Makerules (lib-version): Rename from V.
58790         (install-lib-nosubdir): Change V to lib-version.
58792 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58794         [BZ #14252]
58795         * powerpc32/power6/wcschr.c: New file.
58796         * powerpc32/power6/wcscpy.c: New file.
58797         * powerpc32/power6/wcsrchr.c: New file.
58798         * powerpc64/power6/wcschr.c: New file.
58799         * powerpc64/power6/wcscpy.c: New file.
58800         * powerpc64/power6/wcsrchr.c: New file.
58802 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58804         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58805         (two_way_short_needle): Use it.
58806         * string/strstr.c (AVAILABLE1_USES_J): Define.
58807         * string/strcasestr.c: Likewise.
58809         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58810         array references.
58811         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58813         [BZ #11607]
58814         * NEWS: Add an entry.
58815         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58816         define their defaults.
58817         (two_way_short_needle): Detect end-of-string on-the-fly.
58818         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58819         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58820         * string/bug-strcasestr1.c: New test.
58821         * string/Makefile: Run it.
58823 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58825         [BZ #11607]
58826         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58827         the first character.
58829 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58831         * csu/elf-init.c (__libc_csu_irel): Function removed.
58832         * csu/libc-start.c (apply_irel): New function.
58833         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58835 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58837         * sysdeps/unix/sysv/linux/kernel-features.h
58838         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58839         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58840         <kernel-features.h>.
58841         [__NR_fadvise64_64]: Make code unconditional.
58842         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58843         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58844         !__NR_fadvise64_64)]: Likewise.
58845         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58846         !__NR_fadvise64_64))]: Likewise.
58847         [__NR_fadvise64]: Make code unconditional.
58848         [!__NR_fadvise64]: Remove conditional code.
58849         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58850         <kernel-features.h>.
58851         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58852         unconditional.
58853         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58854         conditional code.
58855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58856         not include <kernel-features.h>.
58857         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58858         unconditional.
58859         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58860         conditional code.
58861         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58862         include <kernel-features.h>.
58863         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58864         unconditional.
58865         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58866         conditional code.
58868 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58870         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58871         slight instruction rearrangements per scrollpipe analysis.
58872         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58874 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58876         * manual/syslog.texi (syslog; vsyslog, closelog):
58877         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58878         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58880         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58881         DSOCAPS to match condition on defining it.
58883 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58885         * sysdeps/unix/sysv/linux/kernel-features.h
58886         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58888         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58889         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58891         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58892         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58894         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58895         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58897         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58898         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58900         * sysdeps/unix/sysv/linux/kernel-features.h
58901         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58902         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58903         unconditional.
58904         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58905         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58906         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58907         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58908         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58909         Make code unconditional.
58910         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58911         (__mmap64) [!__NR_mmap2]: Likewise.
58912         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58913         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58914         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58915         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58916         [__NR_mmap2]: Make code unconditional.
58917         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58918         (__mmap64) [!__NR_mmap2]: Likewise.
58920 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58922         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58924 2012-08-18  Andreas Jaeger  <aj@suse.de>
58926         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58928 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58930         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58931         * include/unistd.h (__have_sock_cloexec): Likewise.
58932         (__have_pipe2): Likewise.
58933         (__have_dup3): Likewise.
58935 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58937         [BZ #9685]
58938         * include/unistd.h (__have_pipe2): Change define into an extern int.
58939         (__have_dup3): Likewise.
58940         * socket/have_sock_cloexec.c: Include fcntl.h.
58941         (__have_pipe2): New variable.
58942         (__have_dup3): Likewise.
58944 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58946         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58948 2012-08-17  Marek Polacek  <polacek@redhat.com>
58950         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58951         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58953 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58955         * configure.in: Add AC_SUBST for sysheaders.
58956         * configure: Regenerated.
58957         * config.make.in (sysheaders): New substituted variable.
58959         * sysdeps/unix/mkfifo.c: Moved ...
58960         * sysdeps/posix/mkfifo.c: ... here.
58961         * sysdeps/unix/mkfifoat.c: Moved ...
58962         * sysdeps/posix/mkfifoat.c: ... here.
58964         * sysdeps/unix/utime.c: Moved ...
58965         * sysdeps/posix/utime.c: ... here.
58967         * sysdeps/unix/time.c: Moved ...
58968         * sysdeps/posix/time.c: ... here.
58969         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58970         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58972         * sysdeps/unix/nice.c: Moved ...
58973         * sysdeps/posix/nice.c: ... here.
58975         * sysdeps/unix/alarm.c: Moved ...
58976         * sysdeps/posix/alarm.c: ... here.
58978         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58980 2012-08-17  Jeff Law <law@redhat.com>
58982         * intl/Makefile (codeset_mo): New variable.
58983         ($(codeset_mo)): New target.
58984         (tst-codeset.out): Depend on that.  Remove explicit rule.
58985         (tst-gettext3.out, tst-gettext5.out): Likewise.
58986         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58987         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58988         * intl/tst-codeset.sh: Remove.
58989         * intl/tst-gettext3.sh: Likewise.
58990         * intl/tst-gettext5.sh: Likewise.
58992 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58994         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58995         * sysdeps/unix/syscalls.list: ... here.
58997         * sysdeps/posix/getaddrinfo.c
58998         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58999         (gaiconf_init, gaiconf_reload): Use them.
59000         [!_STATBUF_ST_NSEC]
59001         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59002         Define using time_t rather than struct timespec.
59004         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59005         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59006         Macros removed.
59007         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59008         [!NO_THREADS].
59009         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59010         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59011         Likewise.
59013         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59014         __libc_cleanup_push argument.
59016         * bits/param.h: New file.
59017         * misc/sys/param.h: New file.
59018         * include/sys/param.h: New file.
59019         * misc/Makefile (headers): Add bits/param.h.
59020         * sysdeps/generic/sys/param.h: File removed.
59021         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59022         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59023         * sysdeps/mach/hurd/bits/param.h: New file.
59024         * sysdeps/mach/hurd/sys/param.h: File removed.
59026         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59027         last change.
59029         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59030         [_IO_MTSAFE_IO].
59031         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59032         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59033         New macros.
59035         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59036         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59037         rather than -D_IO_MTSAFE_IO conditionally.
59038         * stdio-common/Makefile (CPPFLAGS): Likewise.
59039         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59040         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59041         Use $(libio-mtsafe).
59042         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59043         of -D_IO_MTSAFE_IO.
59044         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59045         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59046         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59047         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59048         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59049         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59050         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59051         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59052         (CFLAGS-fread_u_chk.c): Likewise.
59053         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59054         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59055         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59056         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59057         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59058         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59059         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59060         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59061         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59063         * libio/Makefile: Test [$(libc-reentrant) = yes]
59064         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59066         * Makeconfig
59067         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59068         * sysdeps/pthread/configure: File removed.
59069         * sysdeps/pthread/Makeconfig: New file.
59070         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59071         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59073 2012-08-16  Gary Benson  <gbenson@redhat.com>
59075         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59076         unmapping the first object in a namespace.
59078 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59080         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59081         (__internal_setnetgrent): ... this.  Add internal_function to
59082         definition.  Add libc_hidden_def.
59083         (setnetgrent): Update caller.
59084         (internal_endnetgrent): Renamed to ...
59085         (__internal_endnetgrent): ... this.  Add internal_function to
59086         definition.  Add libc_hidden_def.
59087         (endnetgrent): Update caller.
59088         (internal_getnetgrent_r): Renamed to ...
59089         (__internal_getnetgrent_r): ... this.  Add internal_function to
59090         definition.  Add libc_hidden_def.
59091         (__getnetgrent_r): Update caller.
59092         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59094 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59096         * stdlib/longlong.h: Update from GCC.
59098 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59100         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59101         on _QL, which is set by umul_ppmm but never used.
59102         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59103         variables, which are set by GMP macros but never used.
59104         * stdio-common/_itowa.c (_itowa): Likewise.
59105         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59106         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59108 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59110         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59111         struct La_sh_regs is not constant.
59112         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59113         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59114         and struct La_sparc64_regs are not constant.
59116 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59118         * sysdeps/unix/sysv/linux/kernel-features.h
59119         (__ASSUME_POSIX_TIMERS): Remove.
59120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59121         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59122         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59123         Make code unconditional.
59124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59125         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59126         Make code unconditional.
59127         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59128         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59129         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59130         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59131         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59132         Make code unconditional.
59133         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59134         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59135         (__libc_missing_posix_timers): Remove.
59137 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59139         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59140         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59142         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59144         * elf/dl-sym.c: Include <stdlib.h>.
59146         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59147         constants, which avoids warnings in 32-bit builds.
59149         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59150         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59152         * misc/lseek.c: File moved to ...
59153         * io/lseek.c: ... here.
59155         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59157         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59158         shifting LEN more than 31 bits at once.
59160 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59162         [BZ #14195]
59163         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59164         segmentation fault for a case of two empty input strings.
59165         * string/test-strncasecmp.c (check1): Renamed to...
59166         (bz12205): ...this.
59167         (bz14195): Add new testcase for two empty input strings and N > 0.
59168         (test_main): Call new testcase, adapt for renamed function.
59170 2012-08-15  Andreas Jaeger  <aj@suse.de>
59172         [BZ #14090]
59173         * crypt/md5test2.c: New test, based on test supplied by Serge
59174         Belyshev <belyshev@depni.sinp.msu.ru>.
59175         * crypt/Makefile (xtests): Add md5test-giant..
59176         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59178 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59180         [BZ #14090]
59181         * crypt/md5.c (md5_process_block): Don't assume the buffer
59182         length is less than 2**32.
59183         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59184         length is less than 2**64.
59186 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59188         * string/str-two-way.h: Include <sys/param.h>.
59189         (MAX): Macro removed.
59191         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59192         Move #define and #undef of memmove to just before and after
59193         including <string.h>.
59195         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59196         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59197         and after including <string.h>.  Move declarations of
59198         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59199         to before #include "string/memmove.c".
59201         * include/dirent.h: Declare __getdirentries.
59203         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59204         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59206 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59208         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59209         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59210         * sysdeps/i386/configure: Regenerated.
59211         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59212         STABS_CURRENT_FILE, and STABS_FUN.
59213         (END): Remove call to STABS_FUN_END.
59214         (STABS_CURRENT_FILE1): Delete.
59215         (STABS_CURRENT_FILE): Likewise.
59216         (STABS_FUN): Likewise.
59217         (STABS_FUN_END): Likewise.
59218         (STABS_FUN2): Likewise.
59219         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59220         * sysdeps/x86_64/configure: Regenerated.
59222 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59224         * elf/dl-open.c: Include <atomic.h>.
59225         * elf/dl-lookup.c: Likewise.
59227 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59229         * sysdeps/unix/sysv/linux/kernel-features.h
59230         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59231         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59232         unconditionally.
59233         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59234         unconditionally.
59235         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59236         condition on __ASSUME_CLONE_THREAD_FLAGS.
59238 2012-08-14  Andreas Jaeger  <aj@suse.de>
59240         * sysdeps/i386/fpu/libm-test-ulps: Update.
59242 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59244         * include/atomic.h (atomic_exchange_and_add): Split into ...
59245         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59246         New atomic macros.
59248 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59252 2012-08-13  Jeff Law <law@redhat.com>
59254         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59255         null byte in the output string.
59257 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59259         * sysdeps/unix/sysv/linux/kernel-features.h
59260         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59261         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59262         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59263         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59264         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59265         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59266         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59268 2012-08-09  Jeff Law <law@redhat.com>
59270         [BZ #13939]
59271         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59272         When avoid_arena is set, don't retry in the that arena.  Pick the
59273         next one, whatever it might be.
59274         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59275         (arena_lock): Pass in new parameter to arena_get2.
59276         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59277         arena_get2.
59278         (__libc_malloc): Unify retrying after main arena failure with
59279         __libc_memalign version.
59280         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59282 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59284         [BZ #14166]
59285         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59286         to __redirect_strstr.
59287         (__strstr_sse42): Use typeof __redirect_strstr.
59288         (__strstr_ia32): Likewise.
59289         (__libc_strstr): New prototype.
59290         (strstr): Renamed to ...
59291         (__libc_strstr): This.
59292         (strstr): New strong alias of __libc_strstr.
59293         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59294         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59295         __redirect_time.
59296         Include <time.h>.
59297         (__libc_time): New prototype.
59298         (time_ifunc): Replace time with __libc_time.
59299         (time): New strong alias and hidden definition of __libc_time.
59300         (__GI_time): Remove strong alias.
59301         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59302         Include <stddef.h>.
59303         (memmove): Redefined to __redirect_memmove.
59304         (__memmove_sse2): Use typeof __redirect_memmove.
59305         (__memmove_ssse3): Likewise.
59306         (__memmove_ssse3_back): Likewise.
59307         (__libc_memmove): New prototype.
59308         (memmove): Renamed to ...
59309         (__libc_memmove): This.
59310         (memmove): New strong alias of __libc_memmove.
59312 2012-08-08  Mark Salter  <msalter@redhat.com>
59314         * elf/elf.h
59315         (R_MN10300_TLS_GD): Define.
59316         (R_MN10300_TLS_LD): Likewise.
59317         (R_MN10300_TLS_LDO): Likewise.
59318         (R_MN10300_TLS_GOTIE): Likewise.
59319         (R_MN10300_TLS_IE): Likewise.
59320         (R_MN10300_TLS_LE): Likewise.
59321         (R_MN10300_TLS_DTPMOD): Likewise.
59322         (R_MN10300_TLS_DTPOFF): Likewise.
59323         (R_MN10300_TLS_TPOFF): Likewise.
59324         (R_MN10300_SYM_DIFF): Likewise.
59325         (R_MN10300_ALIGN): Likewise.
59326         (R_MN10300_NUM): Update.
59328 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59331         Remove.
59333 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59335         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59337         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59338         sysdeps/unix -> sysdeps/posix move.
59339         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59341 2012-08-07      Allan McRae     <allan@archlinux.org>
59343         [BZ #14303]
59344         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59345         (SUNOS_CPP): Likewise.
59346         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59347         not found.
59348         (open_input): Call CPP using execvp.
59350 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59352         * sysdeps/unix/sysv/linux/kernel-features.h
59353         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59354         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59355         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59356         (__ASSUME_WAITID_SYSCALL): Likewise.
59357         * sysdeps/unix/sysv/linux/dl-execstack.c
59358         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59359         code unconditional.
59360         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59361         conditional code.
59362         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59363         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59364         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59365         code.
59366         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59367         unconditional.
59368         [__ASSUME_WAITID_SYSCALL]: Likewise.
59369         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59371 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59373         * sysdeps/unix/closedir.c: Renamed to ...
59374         * sysdeps/posix/closedir.c: ... here.
59375         * sysdeps/unix/dirfd.c: Renamed to ...
59376         * sysdeps/posix/dirfd.c: ... here.
59377         * sysdeps/unix/dirstream.h: Renamed to ...
59378         * sysdeps/posix/dirstream.h: ... here.
59379         * sysdeps/unix/fdopendir.c: Renamed to ...
59380         * sysdeps/posix/fdopendir.c: ... here.
59381         * sysdeps/unix/opendir.c: Renamed to ...
59382         * sysdeps/posix/opendir.c: ... here.
59383         * sysdeps/unix/readdir.c: Renamed to ...
59384         * sysdeps/posix/readdir.c: ... here.
59385         * sysdeps/unix/readdir_r.c: Renamed to ...
59386         * sysdeps/posix/readdir_r.c: ... here.
59387         * sysdeps/unix/rewinddir.c: Renamed to ...
59388         * sysdeps/posix/rewinddir.c: ... here.
59389         * sysdeps/unix/seekdir.c: Renamed to ...
59390         * sysdeps/posix/seekdir.c: ... here.
59391         * sysdeps/unix/telldir.c: Renamed to ...
59392         * sysdeps/posix/telldir.c: ... here.
59393         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59394         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59395         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59396         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59398         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59399         * bits/fcntl.h: ... here.
59401         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59402         not 0.
59403         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59404         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59405         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59406         (struct flock): Move l_start, l_len to the beginning.
59407         Use __pid_t for l_pid.
59408         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59409         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59410         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59411         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59412         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59413         [__USE_LARGEFILE64] (struct flock64): New type.
59414         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59416         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59417         * bits/dirent.h: ... here.
59419         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59420         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59422 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59424         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59425         Change from 2.6.0 to 2.6.16.
59426         * sysdeps/unix/sysv/linux/configure: Regenerated.
59427         * sysdeps/unix/sysv/linux/kernel-features.h
59428         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59429         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59430         version.
59431         (__ASSUME_UTIMES): Likewise.
59432         (__ASSUME_CLONE_STOPPED): Remove.
59433         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59434         architectures, not kernel version.
59435         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59436         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59437         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59438         (__ASSUME_WAITID_SYSCALL): Likewise.
59439         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59440         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59441         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59442         refer to older versions.
59444 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59446         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59447         Define alphasort64 as an alias.
59448         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59449         Define versionsort64 as an alias.
59450         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59451         Define scandir64 as an alias.
59452         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59453         Define scandirat64 as an alias.
59454         * dirent/alphasort64.c (alphasort64):
59455         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59456         * dirent/versionsort64.c: Likewise.
59457         * dirent/scandir64.c: Likewise.
59458         * dirent/scandirat64.c: Likewise.
59459         * sysdeps/wordsize-64/alphasort.c: File removed.
59460         * sysdeps/wordsize-64/alphasort64.c: File removed.
59461         * sysdeps/wordsize-64/scandir.c: File removed.
59462         * sysdeps/wordsize-64/scandir64.c: File removed.
59463         * sysdeps/wordsize-64/scandirat.c: File removed.
59464         * sysdeps/wordsize-64/scandirat64.c: File removed.
59465         * sysdeps/wordsize-64/versionsort.c: File removed.
59466         * sysdeps/wordsize-64/versionsort64.c: File removed.
59467         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59468         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59469         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59471         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59473         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59474         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59476         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59478         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59480         [defined __arch64__ || defined __sparcv9]
59481         (__INO_T_MATCHES_INO64_T): New macro.
59482         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59483         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59484         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59485         * sysdeps/unix/sysv/linux/bits/dirent.h
59486         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59487         (_DIRENT_MATCHES_DIRENT64): New macro.
59489         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59490         Define lockf64 as an alias.
59491         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59492         Define fseeko64 as an alias.
59493         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59494         Define ftello64 as an alias.
59495         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59496         Define _IO_fgetpos64 and fgetpos64 as aliases.
59497         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59498         Define _IO_fsetpos64 and fsetpos64 as aliases.
59499         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59500         Conditionalize body on this.
59501         * libio/fseeko64.c: Likewise.
59502         * libio/ftello64.c: Likewise.
59503         * libio/iofgetpos64.c: Likewise.
59504         * libio/iofsetpos64.c: Likewise.
59505         * sysdeps/wordsize-64/lockf.c: File removed.
59506         * sysdeps/wordsize-64/lockf64.c: File removed.
59507         * sysdeps/wordsize-64/fseeko.c: File removed.
59508         * sysdeps/wordsize-64/fseeko64.c: File removed.
59509         * sysdeps/wordsize-64/ftello.c: File removed.
59510         * sysdeps/wordsize-64/ftello64.c: File removed.
59511         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59512         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59513         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59514         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59515         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59516         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59517         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59518         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59519         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59520         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59521         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59522         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59523         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59524         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59526         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59528         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59529         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59530         [defined __arch64__ || defined __sparcv9]
59531         (__OFF_T_MATCHES_OFF64_T): New macro.
59532         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59533         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59534         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59535         (__OFF_T_MATCHES_OFF64_T): New macro.
59537 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59539         * stdlib/secure-getenv.c (__secure_getenv): Replace
59540         GLIBC_2_16 with GLIBC_2_17.
59542 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59544         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59545         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59547 2012-08-03  David S. Miller  <davem@davemloft.net>
59549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59551 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59553         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59554         Remove.
59555         (__ASSUME_CORRECT_SI_PID): Likewise.
59556         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59557         (__ASSUME_TMPFS_NAME): Likewise.
59558         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59559         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59560         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59561         (HAVE_AUX_SECURE): Make definition unconditional.
59562         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59563         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59565 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59567         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59568         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59569         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59570         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59571         __eloop_threshold instead of SYMLOOP_MAX.
59573         * sysdeps/generic/eloop-threshold.h: New file.
59574         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59575         of MAXSYMLINKS.
59576         * elf/chroot_canon.c (chroot_canon): Likewise.
59578 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59580         [BZ #13717]
59581         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59582         Change to 2.6.0 everywhere.
59583         * sysdeps/unix/sysv/linux/configure: Regenerated.
59584         * sysdeps/unix/sysv/linux/kernel-features.h
59585         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59586         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59587         kernel versions.
59588         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59589         (__ASSUME_FUTEX_REQUEUE): Remove.
59590         (__ASSUME_STATFS64): Define unconditionally.
59591         (__ASSUME_AT_SECURE): Likewise.
59592         (__ASSUME_CORRECT_SI_PID): Likewise.
59593         (__ASSUME_TGKILL): Define without depending on kernel version for
59594         i386.
59595         (__ASSUME_UTIMES): Likewise.
59596         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59597         kernel version.
59598         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59599         (__ASSUME_TMPFS_NAME): Likewise.
59600         * README: Update reference to Linux kernel versions.
59602 2012-08-02  Marek Polacek  <polacek@redhat.com>
59604         [BZ# 14150]
59605         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59606         libc_cv_asm_type_prefix with %.
59607         * configure: Regenerated.
59608         * include/libc-symbols.h: Remove comment about
59609         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59610         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59611         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59612         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59613         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59614         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59615         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59616         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59617         * elf/tst-unique2mod1.c: Likewise.
59618         * elf/tst-unique1mod2.c: Likewise.
59619         * elf/tst-unique1mod1.c: Likewise.
59620         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59621         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59622         Replace ASM_TYPE_DIRECTIVE with .type.
59623         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59624         * sysdeps/i386/sysdep.h: Likewise.
59625         * sysdeps/x86_64/sysdep.h: Likewise.
59626         * sysdeps/sh/sysdep.h: Likewise.
59627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59628         Do not define ASM_TYPE_DIRECTIVE.
59629         * sysdeps/powerpc/sysdep.h: Likewise.
59630         * sysdeps/powerpc/powerpc32/sysdep.h:
59631         Replace ASM_TYPE_DIRECTIVE with .type.
59632         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59633         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59634         * sysdeps/i386/fpu/e_powf.S: Likewise.
59635         * sysdeps/i386/fpu/e_expl.S: Likewise.
59636         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59637         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59638         * sysdeps/i386/fpu/e_pow.S: Likewise.
59639         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59640         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59641         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59642         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59643         * sysdeps/i386/fpu/e_log2.S: Likewise.
59644         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59645         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59646         * sysdeps/i386/fpu/e_powl.S: Likewise.
59647         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59648         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59649         * sysdeps/i386/fpu/e_logl.S: Likewise.
59650         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59651         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59652         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59653         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59654         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59655         * sysdeps/i386/fpu/e_log.S: Likewise.
59656         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59657         * sysdeps/i386/fpu/e_logf.S: Likewise.
59658         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59659         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59660         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59661         * sysdeps/i386/fpu/e_log10.S: Likewise.
59662         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59663         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59664         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59665         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59666         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59667         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59668         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59669         * sysdeps/i386/i686/strtok.S: Likewise.
59670         * sysdeps/i386/i386-mcount.S: Likewise.
59671         * sysdeps/i386/strtok.S: Likewise.
59672         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59673         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59674         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59675         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59676         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59677         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59678         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59679         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59680         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59681         * sysdeps/x86_64/_mcount.S: Likewise.
59682         * sysdeps/x86_64/strtok.S: Likewise.
59683         * sysdeps/sh/_mcount.S: Likewise.
59685 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59687         * libio/iofopen.c: Include <fcntl.h>.
59688         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59689         (_IO_fopen64, fopen64): Define as aliases.
59690         * libio/iofopen64.c: Include <fcntl.h>.
59691         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59692         Conditionalize body on this.
59693         * sysdeps/wordsize-64/iofopen.c: File removed.
59694         * sysdeps/wordsize-64/iofopen64.c: File removed.
59696 2012-08-01  Marek Polacek  <polacek@redhat.com>
59698         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59699         Use dlfcn directly instead of a variable.
59700         (binfmt-subdir): Do not define.
59701         (dlfcn): Likewise.
59703 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59706         Remove all definitions.
59707         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59708         <kernel-features.h>.
59709         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59710         (miss_F_GETOWN_EX): Remove all definitions.
59711         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59712         macro definition.
59713         [!__ASSUME_FCNTL64]: Remove conditional code.
59714         [__ASSUME_FCNTL64]: Make code unconditional.
59715         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59716         <kernel-features.h>.
59717         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59718         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59719         (lockf64) [__NR_fcntl64]: Make code unconditional.
59720         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59722         * sysdeps/unix/sysv/linux/kernel-features.h
59723         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59724         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59725         Make code unconditional.
59726         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59727         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59729         [__NR_vfork]: Make code unconditional.
59730         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59731         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59733         [__NR_vfork]: Make code unconditional.
59734         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59735         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59737 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59739         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59740         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59742         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59743         Define mkstemp64 as an alias.
59744         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59745         Define mkstemps64 as an alias.
59746         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59747         Define mkostemp64 as an alias.
59748         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59749         Define mkostemps64 as an alias.
59750         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59751         Conditionalize body on this.
59752         * misc/mkostemp64.c: Likewise.
59753         * misc/mkostemps64.c: Likewise.
59754         * misc/mkstemps64.c: Likewise.
59755         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59756         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59757         * sysdeps/wordsize-64/mkostemp.c: File removed.
59758         * sysdeps/wordsize-64/mkstemp.c: File removed.
59759         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59760         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59761         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59762         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59764         [BZ #14138]
59765         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59766         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59767         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59768         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59770         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59771         compat_symbol macros from <shlib-compat.h> rather than the underlying
59772         default_symbol_version and symbol_version macros, so that DEFAULT
59773         lines in shlib-versions are respected.
59774         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59776 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59778         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59779         Declare with warn_unused_result.
59780         (setgid, setregid, setegid, setresgid): Likewise.
59781         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59782         Likewise.
59783         * WUR-REPORT: Remove set*id functions.
59785 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59787         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59789 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59791         [BZ #10191]
59792         * include/sys/socket.h (__libc_accept, __libc_accept4):
59793         Add attribute_hidden.
59794         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59796         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59797         use of PTR_MANGLE.
59798         * inet/getnetgrent_r.c (setup): Likewise.
59800         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59802 2012-07-31  David S. Miller  <davem@davemloft.net>
59804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59806 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59808         [BZ #13629]
59809         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59810         value between 1.0 and 2.0 and smaller part has absolute value less
59811         than 1.0.
59812         * math/s_clog10.c (__clog10): Likewise.
59813         * math/s_clog10f.c (__clog10f): Likewise.
59814         * math/s_clog10l.c (__clog10l): Likewise.
59815         * math/s_clogf.c (__clogf): Likewise.
59816         * math/s_clogl.c (__clogl): Likewise.
59817         * math/libm-test.inc (clog_test): Add more tests.
59818         (clog10_test): Likewise.
59819         * sysdeps/i386/fpu/libm-test-ulps: Update.
59820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59822 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59824         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59825         Exit with zero in case no suitable GID is found, and write a
59826         message to standard error.
59828 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59830         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59831         rather than to 1.
59832         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59833         (MAXPATHLEN): Removed.
59834         (NOGROUP, NODEV): New macros.
59835         (setbit, clrbit, isset, isclr): New macros.
59836         (howmany, roundup, powerof2): New macros.
59837         (DEV_BSIZE): New macro.
59839         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59840         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59842         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59843         definition on [!__NO_LONG_DOUBLE_MATH].
59845         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59846         PTR_MANGLE and PTR_DEMANGLE.
59848         * socket/accept4.c (accept4): Rename to __libc_accept4.
59849         Define accept4 as a weak alias.
59851         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59852         on [_DIRENT_HAVE_D_TYPE].
59853         * io/ftw.c (ftw_dir): Likewise.
59855         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59857         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59859         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59860         Use the BSD numbers rather than the arbitrary ones we had.
59861         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59862         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59863         (SIGXCPU, SIGXFSZ): New macros.
59864         (_NSIG): Now 32.
59866         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59867         initializer on [_LIBC_REENTRANT].
59869         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59870         definitions inside [_POSIX_MAPPED_FILES].
59872         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59874         * dirent/opendir.c: Include <fcntl.h>.
59876         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59877         (__libc_getspecific): Likewise.
59878         (__libc_key_create): Likewise.
59880         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59881         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59882         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59883         (tmpfile64): Define as alias.
59884         * sysdeps/wordsize-64/tmpfile.c: File removed.
59885         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59886         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59887         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59889         * stdio-common/vfscanf.c: Include <stdbool.h>.
59890         * nss/makedb.c: Likewise.
59891         * stdio-common/_i18n_number.h: Likewise.
59892         * argp/argp-help.c: Likewise.
59893         * posix/wordexp.c: Likewise.
59894         * sysdeps/posix/spawni.c: Likewise.
59895         * nss/nss_files/files-initgroups.c: Likewise.
59896         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59897         * nss/nss_files/files-initgroups.c: Likewise.
59898         * nss/nss_db/db-netgrp.c: Likewise.
59899         * nss/nss_db/db-initgroups.c: Likewise.
59900         * io/fchmodat.c: Include <sys/stat.h>.
59902         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59903         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59905         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59906         [HAVE_MMAP].
59908         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59909         Add multiple inclusion protection.
59911 2012-07-27  David S. Miller  <davem@davemloft.net>
59913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59915 2012-07-27  Gary Benson  <gbenson@redhat.com>
59917         [BZ #14298]
59918         * elf/rtld.c: Include <stap-probe.h>.
59919         (dl_main): Added static probes "init_start" and "init_complete".
59920         * elf/dl-load.c: Include <stap-probe.h>.
59921         (lose): Take new parameter "nsid".
59922         Added static probe "map_failed".
59923         (_dl_map_object_from_fd): Pass namespace id to lose.
59924         Added static probe "map_start".
59925         (open_verify): Pass namespace id to lose.
59926         * elf/dl-open.c: Include <stap-probe.h>.
59927         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59928         and "reloc_complete".
59929         * elf/dl-close.c: Include <stap-probe.h>.
59930         (_dl_close_worker): Added static probes "unmap_start" and
59931         "unmap_complete".
59932         * elf/rtld-debugger-interface.txt: New file documenting the above.
59934 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59936         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59937         rather than a string variable.
59938         * sunrpc/rpc_main.c (h_output): Likewise.
59939         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59941 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59943         * inet/check_native.c: New file.
59945 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59947         [BZ #13629]
59948         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59949         if larger part has absolute value 1.0.
59950         * math/s_clog10.c (__clog10): Likewise.
59951         * math/s_clog10f.c (__clog10f): Likewise.
59952         * math/s_clog10l.c (__clog10l): Likewise.
59953         * math/s_clogf.c (__clogf): Likewise.
59954         * math/s_clogl.c (__clogl): Likewise.
59955         * math/libm-test.inc (clog_test): Add more tests.
59956         (clog10_test): Likewise.
59957         * sysdeps/i386/fpu/libm-test-ulps: Update.
59958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59960         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59961         (pltexit): Likewise.
59962         (La_regs): Likewise.
59963         (La_retval): Likewise.
59964         (int_retval): Likewise.
59965         Update #error for removed macros to refer only to definitions in
59966         tst-audit.h.
59967         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59968         macro.
59969         (pltexit): Likewise.
59970         (La_regs): Likewise.
59971         (La_retval): Likewise.
59972         (int_retval): Likewise.
59973         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59974         macro.
59975         (pltexit): Likewise.
59976         (La_regs): Likewise.
59977         (La_retval): Likewise.
59978         (int_retval): Likewise.
59979         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59980         macro.
59981         (pltexit): Likewise.
59982         (La_regs): Likewise.
59983         (La_retval): Likewise.
59984         (int_retval): Likewise.
59985         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59986         macro.
59987         (pltexit): Likewise.
59988         (La_regs): Likewise.
59989         (La_retval): Likewise.
59990         (int_retval): Likewise.
59991         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59992         macro.
59993         (pltexit): Likewise.
59994         (La_regs): Likewise.
59995         (La_retval): Likewise.
59996         (int_retval): Likewise.
59997         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59998         macro.
59999         (pltexit): Likewise.
60000         (La_regs): Likewise.
60001         (La_retval): Likewise.
60002         (int_retval): Likewise.
60003         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60004         macro definitions in tst-audit.h.
60005         * sysdeps/i386/tst-audit.h: New file.
60006         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60007         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60008         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60009         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60010         * sysdeps/sh/tst-audit.h: Likewise.
60011         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60012         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60013         * sysdeps/x86_64/tst-audit.h: Likewise.
60015 2012-07-26  Andreas Jaeger  <aj@suse.de>
60017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60018         ptrace.
60020         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60021         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60022         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60023         PTRACE_O_MASK.
60024         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60025         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60026         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60028         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60029         value.
60031         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60032         _sigsys.
60033         (si_call_addr, si_syscall, si_arch): Define new macro.
60034         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60035         _sigsys.
60036         (si_call_addr, si_syscall, si_arch): Define new marcro.
60037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60038         _sigsys.
60039         (si_call_addr, si_syscall, si_arch): Define new macro.
60040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60041         _sigsys.
60042         (si_call_addr, si_syscall, si_arch): Define new macro.
60044 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60046         [BZ #13717]
60047         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60048         Change to 2.4.21 where previously 2.4.1.
60049         * sysdeps/unix/sysv/linux/configure: Regenerated.
60050         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60051         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60052         Linux kernel version.
60053         (__ASSUME_STD_AUXV): Remove.
60054         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60055         kernel version.
60056         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60057         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60058         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60059         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60060         (__ASSUME_NETLINK_SUPPORT): Likewise.
60061         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60062         (__no_netlink_support): Remove conditional definition.
60063         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60064         Remove.
60065         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60066         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60067         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60068         (if_nameindex_ioctl): Remove.
60069         (if_nameindex_netlink): Do not handle __no_netlink_support.
60070         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60071         code.
60072         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60073         Remove conditional code.
60074         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60075         code.
60076         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60077         unconditional.
60078         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60079         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60080         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60081         Remove.
60082         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60083         [!__ASSUME_STD_AUXV]: Remove conditional code.
60084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60085         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60086         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60088         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60089         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60090         code.
60091         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60093         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60094         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60095         conditional code.
60096         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60098         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60099         code.
60100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60101         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60102         conditional code.
60103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60104         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60105         code unconditional.
60106         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60107         conditional code.
60108         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60109         unconditional.
60110         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60111         conditional code.
60112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60113         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60114         unconditional.
60115         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60116         conditional code.
60117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60118         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60119         code unconditional.
60120         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60121         conditional code.
60122         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60123         unconditional.
60124         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60125         conditional code.
60126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60127         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60128         code unconditional.
60129         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60130         conditional code.
60131         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60132         unconditional.
60133         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60134         conditional code.
60136 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60138         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60139         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60140         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60141         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60142         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60143         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60144         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60145         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60146         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60147         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60148         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60149         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60150         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60151         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60152         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60153         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60154         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60155         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60156         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60158         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60159         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60160         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60162 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60164         * Versions.def: Add GLIBC_2.17.
60165         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60166         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60167         Introduce __libc_secure_getenv.
60168         * stdlib/Versions (2.17): Add secure_getenv
60169         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60170         * stdlib/secure-getenv.c: Rename __secure_getenv to
60171         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60172         symbol __secure_getenv for GLIBC_2.0.
60173         * stdlib/tst-secure-getenv.c: New.
60174         * stdlib/Makefile (tests): Add testcase.
60175         * manual/startup.texi (Environment Access): Document
60176         secure_getenv.
60177         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60178         __libc_secure_getenv.
60179         * inet/ruserpass.c (ruserpass): Likewise.
60180         * malloc/mtrace.c (mtrace): Likewise.
60181         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60182         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60183         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60184         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60185         HAVE_SECURE_GETENV.
60186         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60187         __secure_getenv to __libc_secure_getenv.
60188         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60190         Likewise.
60191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60192         Likewise.
60193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60201 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60203         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60204         (struct La_i86_retval): Likewise.
60205         (struct La_x86_64_regs): Likewise.
60206         (struct La_x86_64_retval): Likewise.
60207         (struct La_x32_regs): Likewise.
60208         (struct La_x32_retval): Likewise.
60209         (struct La_ppc32_regs): Likewise.
60210         (struct La_ppc32_retval): Likewise.
60211         (struct La_ppc64_regs): Likewise.
60212         (struct La_ppc64_retval): Likewise.
60213         (struct La_sh_regs): Likewise.
60214         (struct La_sh_retval): Likewise.
60215         (struct La_s390_32_regs): Likewise.
60216         (struct La_s390_32_retval): Likewise.
60217         (struct La_s390_64_regs): Likewise.
60218         (struct La_s390_64_retval): Likewise.
60219         (struct La_sparc32_regs): Likewise.
60220         (struct La_sparc32_retval): Likewise.
60221         (struct La_sparc64_regs): Likewise.
60222         (struct La_sparc64_retval): Likewise.
60223         (struct audit_ifaces): Remove architecture-specific pltenter and
60224         pltexit members.
60225         * sysdeps/i386/ldsodefs.h: New file.
60226         * sysdeps/powerpc/ldsodefs.h: Likewise.
60227         * sysdeps/s390/ldsodefs.h: Likewise.
60228         * sysdeps/sh/ldsodefs.h: Likewise.
60229         * sysdeps/sparc/ldsodefs.h: Likewise.
60230         * sysdeps/x86_64/ldsodefs.h: Likewise.
60232 2012-07-25  Marek Polacek  <polacek@redhat.com>
60234         [BZ #6808]
60235         * math/libm-test.inc (yn_test): Add another test.
60236         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60237         to ERANGE when the result is +-Inf.
60238         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60239         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60240         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60241         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60243 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60245         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60246         equal to 0.
60247         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60248         clock_t.
60249         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60251 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60253         * configure.in <sysdeps resolving>: Correct printing
60254         Implies_before.
60255         * configure: Regenerate.
60257 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60259         * math/w_ilogb.c: Include <limits.h>.
60260         * math/w_ilogbl.c: Likewise.
60262 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60264         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60265         va_copy.  Document allowing for unavailable va_copy only as
60266         pre-C99 compatibility.
60267         * manual/string.texi (Copying and Concatenation): Use va_copy
60268         instead of __va_copy in concat example.
60270 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60272         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60273         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60274         it if not null.
60276         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60277         with O_NOLINK passed to __file_name_lookup.
60279         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60280         with O_NOLINK passed to __file_name_lookup.
60282         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60283         negative N or less than NGIDS.
60285         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60286         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60287         enough.  Use memcpy instead of strncpy.
60289 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60291         * elf/Makefile (check-data): Remove.
60292         (localplt.data): New vpath directive.
60293         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60294         instead of $(check-data).
60295         * scripts/data/localplt-generic.data: Move to ...
60296         * sysdeps/generic/localplt.data: ... here.
60297         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60298         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60299         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60301         ... here.
60302         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60304         ... here.
60305         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60307         ... here.
60308         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60310         ... here.
60311         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60313         ... here.
60314         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60316         ... here.
60318 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60320         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60321         PPC32 and PPC64 files.
60322         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60323         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60325 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60327         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60328         __makecontext_ret to ...
60329         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60330         ... here and call exit if uc_link is NULL.  New file.
60331         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60332         __makecontext_ret.S.
60333         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60334         __makecontext_ret to ...
60335         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60336         ... here and call exit if uc_link is NULL.  New file.
60337         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60338         __makecontext_ret.S.
60340 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60342         * elf/elf.h (R_390_IRELATIVE): New definition.
60343         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60344         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60345         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60346         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60347         (elf_machine_lazy_rel): Likewise.
60348         * sysdeps/s390/dl-irel.h: New file.
60349         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60350         * sysdeps/s390/s390-64/memset.S: New asm code.
60351         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60352         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60353         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60354         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60355         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60356         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60357         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60358         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60359         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60360         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60361         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60362         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60363         * sysdeps/s390/s390-32/memset.S: New asm code.
60364         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60366 2012-07-17  Marek Polacek  <polacek@redhat.com>
60368         [BZ #14349]
60369         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60370         * sysdeps/s390/s390-64/configure.in: Likewise.
60371         * sysdeps/sparc/configure.in: Likewise.
60372         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60373         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60374         * sysdeps/i386/configure.in: Likewise.
60375         * sysdeps/x86_64/configure.in: Likewise.
60376         * sysdeps/sh/configure.in: Likewise.
60377         * sysdeps/s390/s390-32/configure: Regenerated.
60378         * sysdeps/s390/s390-64/configure: Likewise.
60379         * sysdeps/x86_64/configure: Likewise.
60380         * sysdeps/sh/configure: Likewise.
60381         * sysdeps/powerpc/powerpc64/configure: Likewise.
60382         * sysdeps/powerpc/powerpc32/configure: Likewise.
60383         * sysdeps/sparc/configure: Likwise.
60384         * sysdeps/i386/configure: Likewise.
60386         * elf/dl-open.c: Comment fixes.
60388 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60390         * Makefile [CXX] (check-data): Remove.
60391         [CXX] (c++-types.data): New vpath directive.
60392         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60393         vpath.  Do not allow for C++ type data being missing.
60394         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60395         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60396         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60397         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60398         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60399         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60400         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60402         ... here.
60403         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60405         ... here.
60406         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60408         ... here.
60409         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60411         ... here.
60412         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60414         ... here.
60415         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60417         ... here.
60418         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60420         ... here.
60421         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60424         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60425         definitions to architecture-specific files.
60426         (TLS_IE): Likewise.
60427         (TLS_LD): Likewise.
60428         (TLS_GD): Likewise.
60429         * sysdeps/i386/tls-macros.h: New file.
60430         * sysdeps/powerpc/tls-macros.h: Likewise.
60431         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60432         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60433         * sysdeps/sh/tls-macros.h: Likewise.
60434         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60435         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60436         * sysdeps/x86_64/tls-macros.h: Likewise.
60438 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60440         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60441         zero value for regular exit case.
60443         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60444         (__start_context): Preserve zero value for regular exit case.
60446 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60447             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60449         * manual/setjmp.texi (setcontext): Clarify normal process
60450         termination when uc_link is the null pointer.
60451         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60452         exit call.
60454 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60456         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60457         preprocessor.  Test for each exception mask separately.
60459 2012-07-16  Andreas Jaeger  <aj@suse.de>
60461         * po/ru.po: Update from translation team.
60463 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60465         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60466         equal to 0.
60467         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60468         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60469         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60470         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60471         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60473 2012-07-13  Andreas Jaeger  <aj@suse.de>
60475         * po/fr.po: Update from translation team.
60477 2012-07-12  Marek Polacek  <polacek@redhat.com>
60479         [BZ #14173]
60480         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60482         loop condition.
60484 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60486         [BZ #13717]
60487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60488         Change to 2.4.1 where previously 2.4.0.
60489         * sysdeps/unix/sysv/linux/configure: Regenerated.
60490         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60491         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60492         version.
60493         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60494         (__ASSUME_AT_CLKTCK): Remove.
60495         (__ASSUME_AT_PAGESIZE): Likewise.
60496         (__ASSUME_AT_XID): Likewise.
60497         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60498         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60499         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60500         unconditionally.
60501         (HAVE_AUX_PAGESIZE): Likewise.
60502         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60503         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60504         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60506 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60508         [BZ #14307]
60509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60510         the temporary buffer used to invoke __gethostbyname2_r,
60511         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60512         host_data / struct gaih_addrtuple.
60513         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60514         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60515         header file nss/nsswitch.h.
60516         * nss/nsswitch.h (global scope): Add definition of implementation
60517         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60518         resolv/nss_dns/dns-host.c).
60520 2012-07-11  Andreas Jaeger  <aj@suse.de>
60522         * po/fr.po: Update from translation team.
60524         * po/sv.po: Update from translation team
60525         * po/fr.po: Another update from translation team.
60527 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60529         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60530         for subnormals or multiply small sinh result by itself.
60531         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60534 2012-07-11  David S. Miller  <davem@davemloft.net>
60536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60538 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60540         [BZ #14347]
60541         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60542         (INTERNAL_MARK): Shift it here.
60544 2012-07-10  Marek Polacek  <polacek@redhat.com>
60546         [BZ #14151]
60547         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60548         libc_cv_asm_global_directive with .globl.
60549         * configure: Regenerated.
60550         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60551         with .globl.
60552         * sysdeps/i386/configure: Regenerated.
60553         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60554         with .globl.
60555         * sysdeps/x86_64/configure: Regenerated.
60556         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60557         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60558         * elf/tst-unique2mod2.c: Likewise.
60559         * elf/tst-unique2mod1.c: Likewise.
60560         * elf/tst-unique1mod2.c: Likewise.
60561         * elf/tst-unique1mod1.c: Likewise.
60562         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60563         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60564         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60565         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60566         * sysdeps/mach/sysdep.h: Likewise.
60567         * sysdeps/i386/sysdep.h: Likewise.
60568         * sysdeps/i386/i386-mcount.S: Likewise.
60569         * sysdeps/x86_64/_mcount.S: Likewise.
60570         * sysdeps/x86_64/sysdep.h: Likewise.
60571         * sysdeps/sh/_mcount.S: Likewise.
60572         * sysdeps/sh/sysdep.h: Likewise.
60573         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60574         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60575         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60576         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60577         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60578         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60579         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60580         * locale/localeinfo.h: Likewise.
60581         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60582         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60584 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60586         [BZ #14336]
60587         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60588         system".
60589         * manual/message.texi (The Uniforum approach): Likewise.
60590         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60591         (glibc iconv Implementation): Likewise.
60593 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60595         [BZ #14337]
60596         * math/s_clog.c (__clog): Avoid scaling a value down where that
60597         could result in underflow.
60598         * math/s_clog10.c (__clog10): Likewise.
60599         * math/s_clog10f.c (__clog10f): Likewise.
60600         * math/s_clog10l.c (__clog10l): Likewise.
60601         * math/s_clogf.c (__clogf): Likewise.
60602         * math/s_clogl.c (__clogl): Likewise.
60603         * math/libm-test.inc (clog_test): Add more tests.
60604         (clog10_test): Likewise.
60605         * sysdeps/i386/fpu/libm-test-ulps: Update.
60606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60608 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60610         [BZ #14283]
60611         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60612         by 7 not 8 to examine high bit of fractional part.
60614         [BZ #14042]
60615         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60616         for call to __mcount_internal.
60617         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60618         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60619         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60621 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60623         [BZ #14154]
60624         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60625         approximation for values within 0x1p-13f of an odd multiple of
60626         pi/4.
60627         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60628         exception.  Add more tests.
60629         * sysdeps/i386/fpu/libm-test-ulps: Update.
60631         [BZ #6778]
60632         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60633         inputs and return -1 for them.  Do not check for +Inf in case not
60634         reachable for +Inf.
60635         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60636         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60637         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60638         and return -1 for them.  Do not check for +Inf in case not
60639         reachable for +Inf.
60640         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60641         define.
60642         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60643         and return -1 for them.  Do not check for +Inf in case not
60644         reachable for +Inf.
60645         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60646         spurious underflow.
60647         * sysdeps/i386/fpu/libm-test-ulps: Update.
60648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60650 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60652         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60654 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60656         [BZ #14157]
60657         [BZ #14331]
60658         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60659         could result in spurious underflow.  Scale down values above
60660         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60661         * math/s_csqrtf.c (__csqrtf): Likewise.
60662         * math/s_csqrtl.c (__csqrtl): Likewise.
60663         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60664         spurious underflow.
60665         * sysdeps/i386/fpu/libm-test-ulps: Update.
60666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60668 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60670         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60671         xopen-msg.sed.
60672         * catgets/xopen-msg.awk: New file.
60673         * catgets/xopen-msg.sed: Removed.
60675         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60676         po2text.sed.
60677         * intl/po2test.awk: New file.
60678         * intl/po2test.sed: Removed.
60680 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60682         [BZ #14328]
60683         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60684         or multiply small sinh result by itself.
60685         * math/s_ctanf.c (__ctanf): Likewise.
60686         * math/s_ctanh.c (__ctanh): Likewise.
60687         * math/s_ctanhf.c (__ctanhf): Likewise.
60688         * math/s_ctanhl.c (__ctanhl): Likewise.
60689         * math/s_ctanl.c (__ctanl): Likewise.
60690         * math/libm-test.inc (ctan_test_tonearest): New function.
60691         (ctan_test_towardzero): Likewise.
60692         (ctan_test_downward): Likewise.
60693         (ctan_test_upward): Likewise.
60694         (ctanh_test_tonearest): Likewise.
60695         (ctanh_test_towardzero): Likewise.
60696         (ctanh_test_downward): Likewise.
60697         (ctanh_test_upward): Likewise.
60698         (main): Call these new functions.
60699         * sysdeps/i386/fpu/libm-test-ulps: Update.
60700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60702 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60704         * .gitignore: Delete /ports entry.
60706 2012-07-03  Andreas Jaeger  <aj@suse.de>
60708         * po/bg.po: Update from translation team.
60709         * po/cs.po: Likewise.
60710         * po/de.po: Likewise.
60711         * po/hr.po: Likewise.
60712         * po/nl.pl: Likewise.
60713         * po/pl.po: Likewise.
60714         * po/vi.po: Likewise.
60716 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60718         * Makeconfig [!+link] (+link-before-libc): New variable.
60719         [!+link] (+link-after-libc): Likewise.
60720         [!+link] (+link-tests): Likewise.
60721         [!+link] (+link): Define in terms of $(+link-before-libc) and
60722         $(+link-after-libc).
60723         [!+link-static] (+link-static-before-libc): New variable.
60724         [!+link-static] (+link-static-after-libc): Likewise.
60725         [!+link-static] (+link-static-tests): Likewise.
60726         [!+link-static] (+link-static): Define in terms of
60727         $(+link-static-before-libc) and $(+link-static-after-libc).
60728         [build-shared] (link-libc-before-gnulib): New variable.
60729         [build-shared] (link-libc-tests): Likewise.
60730         [build-shared] (link-libc): Define in terms of
60731         $(link-libc-before-gnulib).
60732         [!build-shared] (link-libc-tests): New variable.
60733         (link-libc-static-tests): New variable.
60734         [!gnulib] (gnulib-arch): New variable.
60735         [!gnulib] (gnulib-tests): Likewise.
60736         [!gnulib] (static-gnulib-arch): Likewise.
60737         [!gnulib] (static-gnulib-tests): Likewise.
60738         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60739         Define with "=" instead of ":=".
60740         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60741         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60742         * Rules (binaries-all-notests): New variable.
60743         (binaries-all-tests): Likewise.
60744         (binaries-static-notests): Likewise.
60745         (binaries-static-tests): Likewise.
60746         (binaries-all): Define using $(binaries-all-notests) and
60747         $(binaries-all-tests).
60748         (binaries-static): Define using $(binaries-static-notests) and
60749         $(binaries-static-tests).
60750         (binaries-shared-tests): New variable.
60751         (binaries-shared-notests): Likewise.
60752         (binaries-shared): Remove variable.
60753         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60754         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60755         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60756         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60757         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60758         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60759         * elf/Makefile (sln-modules): New variable.
60760         (extra-objs): Add $(sln-modules:=.o).
60761         (ldconfig-modules): Add static-stubs.
60762         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60763         * elf/static-stubs.c: New file.
60765         [BZ #14283]
60766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60767         by 7 not 8 to examine high bit of fractional part.  Use volatile
60768         variables when splitting into final array of floats if
60769         __FLT_EVAL_METHOD__ != 0.
60770         * math/libm-test.inc (cos_test): Add another test.
60771         (sin_test): Likewise.
60772         * sysdeps/i386/fpu/libm-test-ulps: Update.
60774         [BZ #14273]
60775         * math/libm-test.inc (cosh_test): Add more tests.
60777         * version.h (RELEASE): Set to "development".
60778         (VERSION): Set to "2.16.90".
60780 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60782         * NEWS: Update copyright. Remove last-updated date.
60783         Mention math library bug fixes and timezone data changes.
60784         * README: Mention GNU/Hurd, x32, and HPPA support status.
60786 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60788         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60790 2012-06-27  Andreas Jaeger  <aj@suse.de>
60792         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60794 2012-06-25  Andreas Jaeger  <aj@suse.de>
60796         * sysdeps/s390/fpu/libm-test-ulps: Update.
60798 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60799             Thomas Schwinge  <thomas@codesourcery.com>
60801         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60802         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60804         fanotify_mark.
60806 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60808         * sysdeps/mach/start.c: Remove file.
60809         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60810         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60811         * sysdeps/sh/init-first.c: Likewise.
60813         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60814         registers for frame unwinding purposes, add CFI directives.
60815         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60817         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60818         Likewise.
60820         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60821         __fortify_fail returning.
60822         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60824         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60825         sysdeps/sh/____longjmp_chk.S.
60826         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60827         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60828         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60829         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60831         * sysdeps/sh/abort-instr.h: New file.
60832         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60833         process in case exit returns.
60835         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60836         initialize the GOT register before use.
60838         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60839         calculation of ARGC > 4.
60841         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60842         meaningful names to some local labels.
60844 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60845             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60847         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60848         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60849         (__arch_compare_and_exchange_val_16_acq): Likewise.
60850         (__arch_compare_and_exchange_val_32_acq): Likewise.
60851         (atomic_exchange_and_add): Fix gUSA sequence.
60852         (atomic_add): Likewise.
60853         (atomic_add_negative): Likewise.
60854         (atomic_add_zero): Likewise.
60855         (atomic_bit_test_set): Likewise.
60857 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60859         [BZ #13579]
60860         * include/link.h (struct link_map): Add l_free_initfini.
60861         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60862         l_initfini.
60863         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60864         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60865         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60866         set.
60868 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60870         * configure.in: Use AC_LANG_SOURCE.
60871         * configure: Regenerate.
60873 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60875         * configure.in (libc_cv_localstatedir): New substituted variable.
60876         * configure: Regenerated.
60877         * config.make.in (localstatedir): New variable, substituted from
60878         libc_cv_localstatedir.
60879         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60880         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60881         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60882         * sysdeps/gnu/configure: Regenerated.
60884 2012-06-21  Jeff Law  <law@redhat.com>
60886         [BZ #14277]
60887         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60888         free.  Simplify list management for _LIBC case.
60890 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60892         [BZ #14273]
60893         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60894         Clear sign bit of 64-bit integer value before comparing against
60895         overflow value.
60897         * sysdeps/mach/configure: Regenerated.
60899 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60901         [BZ #14278]
60902         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60904 2012-06-21  Jeff Law  <law@redhat.com>
60906         [BZ #13882]
60907         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60908         uint16_t for elements in the "seen" array to avoid char overflows.
60909         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60910         * elf/dl-open.c (dl_open_worker): Likewise.
60912 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60914         * scripts/list-sources.sh: Scan PORTS for translations.
60915         * po/libc.pot: Regenerated.
60917 2012-06-21  Andreas Jaeger  <aj@suse.de>
60919         [BZ #12194]
60920         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60921         warning.
60922         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60923         * bits/byteswap-16.h (__bswap_16): Likewise.
60924         * bits/byteswap.h (__bswap_constant_16): Likewise.
60926 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60928         [BZ #14117]
60929         * sysdeps/i386/fpu_control.h: Removed.
60930         * sysdeps/x86_64/fpu_control.h: Moved to ...
60931         * sysdeps/x86/fpu_control.h: Here.
60933         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60934         (_FPU_SETCW): Likewise.
60936 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60938         [BZ #14117]
60939         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60940         * sysdeps/x86/fpu/bits/mathinline.h: This.
60941         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60943         [BZ #14050]
60944         [BZ #14117]
60945         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60946         functions if __x86_64__ is defined.
60948 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60950         * string/endian.h: Add !__ASSEMBLER__ condition for including
60951         conversion interfaces.
60953 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60955         [BZ #14241]
60956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60957         of ABS(x) in calculating zero to negative powers other than odd
60958         integers.
60959         * math/libm-test.inc (pow_test): Add more tests.
60961 2012-06-15  Andreas Jaeger  <aj@suse.de>
60963         * manual/contrib.texi (Contributors): Update entry of Liubov
60964         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60965         Machado Filho.
60967 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60969         * string/string.h: Add __wur to GNU version of strerror_r.
60971 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60973         [BZ #14229]
60974         * string/Makefile (tests): Add tst-strtok_r.
60975         * string/tst-strtok_r.c: New file.
60976         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60977         RAX_LP/RDX_LP on SAVE_PTR.
60979 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60981         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60983 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60985         * libm_test.inc (csqrt_test): Allow more spurious underflow
60986         exceptions.
60987         (j0_test): Likewise.
60988         (j1_test): Likewise.
60989         (y0_test): Likewise.
60990         (y1_test): Likewise.
60992 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60994         * po/Makefile (libc.pot): Use UTF-8 charset.
60996 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60998         [BZ #14210]
60999         Suppress sign-conversion warning from FD_SET.
61000         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61001         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61002         not unsigned long int.
61003         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61005 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61007         [BZ #14050]
61008         [BZ #14117]
61009         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61010         __extern_always_inline instead of __extern_inline.
61011         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61012         (__signbit): Likewise.
61013         (__signbitl): Support C++ namespace.
61014         (lrintf): New inline function.
61015         (lrint): Likewise.
61016         (llrintf): Likewise.
61017         (llrint): Likewise.
61018         (fmaxf): Likewise.
61019         (fmax): Likewise.
61020         (fminf): Likewise.
61021         (fmin): Likewise.
61022         (rint): Likewise.
61023         (rintf): Likewise.
61024         (ceil): Likewise.
61025         (ceilf): Likewise.
61026         (floor): Likewise.
61027         (floorf): Likewise.
61028         (nearbyint): Likewise.
61029         (nearbyintf): Likewise.
61031 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61033         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61034         non-default versions.
61036 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61038         [BZ #14218]
61039         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61041 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61043         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61044         (FE_UPWARD, FE_DOWNWARD): Don't define.
61045         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61046         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61048         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61049         reading it.
61050         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61051         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61053 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61055         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61057         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61058         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61060 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61062         [BZ #14117]
61063         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61064         * sysdeps/i386/fpu/Implies: New file.
61065         * sysdeps/x86_64/fpu/Implies: Likewise.
61066         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61067         * sysdeps/x86/fpu/bits/fenv.h: This.
61069         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61070         __SSE_MATH__.
61072 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61074         [BZ #14134]
61075         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61076         character 0xffff that matches the last element of the
61077         conversion table.
61079 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61082         fmodl commit.
61084 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61087         values higher than 25.6283.
61089 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61092         subnormal exponent extraction and add some __builtin_expect.
61093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61094         Fix for subnormal mantissa calculation.
61096 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61098         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61099         cpu2 is -1 and errno is not ENOSYS.
61101 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61103         [BZ #14117]
61104         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61105         * sysdeps/x86/bits/string.h: This.
61106         * sysdeps/x86_64/bits/string.h: Removed.
61108         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61109         if not compiling for x86-64, but compiling for >= i486.
61111         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61112         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61114         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61115         New macro from Linux kernel 3.4.0.
61116         (FP_XSTATE_MAGIC2): Likewise.
61117         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61118         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61119         (struct _fpx_sw_bytes): New struct.
61120         (struct _xsave_hdr): Likewise.
61121         (struct _ymmh_state): Likewise.
61122         (struct _xstate): Likewise.
61124         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61125         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61126         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61127         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61128         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61129         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61131         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61132         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61133         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61134         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61135         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61136         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61138 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61140         [BZ #13743]
61141         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61142         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61143         (sysdep_headers): Include sys/platform/ppc.h.
61144         * sysdeps/powerpc/test-gettimebase.c: Test for
61145         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61146         * manual/Makefile (appendices): Include platform.texi.
61147         * manual/contrib.texi (Contributors): Update @node pointers.
61148         * manual/maint.texi (Maintenance): Likewise.
61149         (Platform): New node.
61150         * manual/platform.texi: New file.  Document the new features.
61152 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61153             Jakub Jelinek  <jakub@redhat.com>
61155         [BZ #14188]
61156         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61157         where __builtin_expect is unavailable.
61159 2012-06-03  David S. Miller  <davem@davemloft.net>
61161         * stdlib/longlong.h: Updated from GCC.
61163 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61165         [BZ #14042]
61166         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61167         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61168         __mcount_internal.
61169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61170         (GLIBC_2.16): Likewise.
61172 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61174         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61176 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61179         (default-abi): New variable.
61180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61181         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61182         variable.
61183         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61184         Likewise.
61185         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61186         Likewise.
61187         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61188         Likewise.
61190         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61191         definition.  Document in comment.
61193 2012-06-01  David S. Miller  <davem@davemloft.net>
61195         * stdlib/longlong.h: Updated from GCC.
61197 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61199         [BZ #14117]
61200         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61201         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61202         sys/debugreg.h sys/io.h here.
61203         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61204         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61205         sys/io.h.
61206         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61207         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61208         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61209         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61210         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61211         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61213         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61214         Define only if __x86_64__ is defined.
61216 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61218         [BZ #14048]
61219         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61220         Use int64_t for variable i.
61221         * math/libm-test.inc (fmod_test): Add more tests.
61223         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61224         z computation is not scheduled after fetestexcept.
61225         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61226         Use math_force_eval instead of asm to ensure calculation scheduled
61227         before exception test.
61228         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61229         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61231 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61234         computation is not scheduled after fetestexcept.
61236 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61238         [BZ #14117]
61239         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61240         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61242 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61244         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61245         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61247 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61249         [BZ #14117]
61250         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61251         <bits/wordsize.h>.
61252         (__WCHAR_MIN): Support __WORDSIZE == 64.
61253         (__WCHAR_MAX): Likewise.
61255         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61256         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61258         [BZ #14183]
61259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61260         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61262         [BZ #14117]
61263         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61264         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61266         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61267         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61270         Defined to 1 if __x86_64__ isn't defined.
61271         (_STAT_VER_LINUX_OLD): New.
61272         (st_atime): Remove duplicate.
61273         (st_mtime): Likewise.
61274         (st_ctime): Likewise.
61276 2012-05-31  David S. Miller  <davem@davemloft.net>
61278         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61279         entries.
61281 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61283         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61284         gen-libm-test.pl.
61286         [BZ #14132]
61287         * elf/dl-reloc.c: Include <_itoa.h>.
61288         (_dl_reloc_bad_type): Remove use of INTUSE.
61289         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61290         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61291         * stdio-common/psiginfo.c (psiginfo): Likewise.
61292         * stdio-common/psignal.c (psignal): Likewise.
61293         * string/strsignal.c (strsignal): Likewise.
61294         * include/signal.h (_sys_siglist): Declare hidden proto.
61295         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61296         INTVARDEF with libc_hidden_data_def.
61297         * stdio-common/itoa-udigits.c: Likewise.
61298         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61299         (_itoa_lower_digits_internal): Remove declaration.
61300         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61301         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61302         (_sys_sigabbrev_internal): Remove aliases.
61303         (_sys_siglist): Define hidden alias.
61305 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61308         bits/sysctl.h.
61310 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61312         [BZ #14117]
61313         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61314         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61316         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61317         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61318         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61319         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61321         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61323         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61324         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61325         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61327         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61328         with __addr.
61329         (insw): Likewise.
61330         (insl): Likewise.
61331         (outsb): Likewise.
61332         (outsw): Likewise.
61333         (outsl): Likewise.
61335         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61336         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61337         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61339         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61340         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61341         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61342         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61343         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61344         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61346         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61347         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61349         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61350         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61352         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61354         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61356         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61357         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61358         to ...
61359         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61361         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61362         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61363         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61365         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61366         for x86-64.
61367         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61369 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61371         * math/math.h (M_El): Use two more decimal places.
61372         (M_LOG2El): Likewise.
61373         (M_LOG10El): Likewise.
61374         (M_LN2l): Likewise.
61375         (M_LN10l): Likewise.
61376         (M_PIl): Likewise.
61377         (M_PI_2l): Likewise.
61378         (M_PI_4l): Likewise.
61379         (M_1_PIl): Likewise.
61380         (M_2_PIl): Likewise.
61381         (M_2_SQRTPIl): Likewise.
61382         (M_SQRT2l): Likewise.
61383         (M_SQRT1_2l): Likewise.
61385 2012-05-31  David S. Miller  <davem@davemloft.net>
61387         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61388         values between float registers.
61389         * sysdeps/sparc/sparc64/memset.S: Likewise.
61390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61392 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61394         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61395         -D_FORTIFY_SOURCE=1.
61396         (CPPFLAGS-tst-longjmp_chk.c): Define.
61397         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61398         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61399         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61400         CFLAGS-tst-wchar-h.c.
61402 2012-05-31  Marek Polacek  <polacek@redhat.com>
61404         [BZ #14132]
61405         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61406         __endmntent_internal): Remove declaration.
61407         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61408         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61409         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61411 2012-05-30  David S. Miller  <davem@davemloft.net>
61413         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61414         (___Q_simulate_exceptions): Use real FP ops rather than writing
61415         into the %fsr.
61416         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61417         Likewise.
61419 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61421         [BZ #14117]
61422         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61423         * sysdeps/x86/bits/xtitypes.h: This.
61425         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61426         * sysdeps/x86/bits/wordsize.h: This.
61428         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61429         * sysdeps/x86/bits/huge_vall.h: This.
61431         * sysdeps/i386/bits/select.h: Removed.
61432         * sysdeps/x86_64/bits/select.h: Renamed to ...
61433         * sysdeps/x86/bits/select.h: This.
61435         * sysdeps/i386/bits/setjmp.h: Removed.
61436         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61437         * sysdeps/x86/bits/setjmp.h: This.
61439         * sysdeps/i386/bits/mathdef.h: Removed.
61440         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61441         * sysdeps/x86/bits/mathdef.h: This.
61443 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61445         [BZ #14132]
61446         * include/sys/socket.h (__connect_internal)
61447         (__libc_sa_len_internal): Remove declaration.
61448         (__connect, __libc_sa_len): Declare hidden_proto.
61449         (SA_LEN): Remove use of INTUSE.
61450         * socket/connect.c: Add libc_hidden_def.
61451         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61452         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61453         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61454         alias.
61455         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61457         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61458         of adding _internal alias.
61460 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61462         [BZ #14117]
61463         * sysdeps/i386/bits/link.h: Removed.
61464         * sysdeps/i386/bits/linkmap.h: Likewise.
61465         * sysdeps/x86_64/bits/link.h: Renamed to ...
61466         * sysdeps/x86/bits/link.h: This.
61467         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61468         * sysdeps/x86/bits/linkmap.h: This.
61470         * sysdeps/i386/bits/endian.h: Removed.
61471         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61472         * sysdeps/x86/bits/endian.h: This.
61474         * sysdeps/i386/bits/byteswap.h: Removed.
61475         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61476         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61477         * sysdeps/x86/bits/byteswap.h: This.
61478         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61479         * sysdeps/x86/bits/byteswap-16.h: This.
61480         * sysdeps/i386/Implies: Add x86.
61481         * sysdeps/x86_64/Implies: Likewise.
61483 2012-05-30  David S. Miller  <davem@davemloft.net>
61485         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61486         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61487         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61488         (FP_TRAPPING_EXCEPTIONS): Define.
61489         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61490         (FP_TRAPPING_EXCEPTIONS): Define.
61491         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61492         subnormals only when inexact has been signalled or underflow
61493         exceptions are enabled.
61494         (_FP_PACK_CANONICAL): Likewise.
61496 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61498         [BZ #14183]
61499         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61500         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61502 2012-05-30  Richard Henderson  <rth@twiddle.net>
61504         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61505         with #ifndef NOT_IN_libc.
61507         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61508         marked to avoid plt entry.
61510 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61512         [BZ #14112]
61513         * Makeconfig (default-abi): New macro.
61514         (abi-includes): Likewise.
61515         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61516         $(abi-$(default-abi)-lib-soname) for soname if defined.
61517         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61518         abi-variants.
61519         * Makefile (installed-stubs): Likewise.
61520         * include/stubs-biarch.h: Removed.
61521         * scripts/lib-names.awk: Only handle one library at a time.
61522         * scripts/soversions.awk: Remove WORDSIZE support.
61523         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61524         entries.
61525         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61526         Removed.
61527         (syscall-list-default-condition): Likewise.
61528         (syscall-list-default-condition): Likewise.
61529         (syscall-list-includes): Likewise.
61530         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61531         syscall-list-* with abi-*.  Handle undefined abi-variants.
61532         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61533         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61534         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61535         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61536         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61537         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61538         Removed.
61539         (syscall-list-32-options): Likewise.
61540         (syscall-list-32-condition): Likewise.
61541         (syscall-list-64-options): Likewise.
61542         (syscall-list-64-condition): Likewise.
61543         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61544         macro.
61545         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61546         Renamed to ...
61547         (abi-*): This.
61548         (abi-64-ld-soname): New macro.
61549         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61550         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61551         Renamed to ...
61552         (abi-*): This.
61553         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61554         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61556 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61558         * sysdeps/unix/sysv/linux/kernel-features.h
61559         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61560         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61561         include <kernel-features.h>.
61562         [!__NR_ftruncate64]: Remove conditional code.
61563         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61564         [__NR_ftruncate64]: Make code unconditional.
61565         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61566         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61567         include <kernel-features.h>.
61568         [!__NR_ftruncate64]: Remove conditional code.
61569         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61570         [__NR_ftruncate64]: Make code unconditional.
61571         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61573         include <kernel-features.h>.
61574         [!__NR_ftruncate64]: Remove conditional code.
61575         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61576         [__NR_ftruncate64]: Make code unconditional.
61577         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61579         include <kernel-features.h>.
61580         [!__NR_ftruncate64]: Remove conditional code.
61581         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61582         [__NR_ftruncate64]: Make code unconditional.
61583         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61585         * configure.in (libc_cv_fpie): Weaken to a compile test using
61586         LIBC_TRY_CC_OPTION.
61587         * configure: Regenerated.
61589 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61595         Refreshed.
61596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61602         Refreshed.
61604 2012-05-27  David S. Miller  <davem@davemloft.net>
61606         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61607         (___Q_zero): New.
61608         (__Q_simulate_exceptions): Return void.  Change to simulate
61609         exceptions by writing into the %fsr.
61610         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61611         (__Qp_handle_exceptions): Likewise.
61612         (numbers): Delete.
61613         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61614         __Qp_handle_exceptions.
61615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61616         __Qp_handle_exceptions.
61617         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61618         as unused and give dummy FP_RND_NEAREST initializer.
61619         (FP_INHIBIT_RESULTS): Define.
61620         (___Q_simulate_exceptions): Update declaration.
61621         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61622         formatting.
61623         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61624         as unused and give dummy FP_RND_NEAREST initializer.
61625         (__Qp_handle_exceptions): Update declaration.
61626         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61627         formatting.
61629 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61631         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61632         the temporary FPU control word.
61633         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61634         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61635         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61636         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61637         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61638         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61639         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61640         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61641         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61642         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61643         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61645 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61647         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61648         fields.
61650 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61652         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61653         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61654         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61655         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61656         Likewise.
61657         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61658         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61659         Likewise.
61661 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61663         * po/h.po: Update from translation team.
61665 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61667         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61669         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61670         handling of denormals.
61671         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61672         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61673         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61674         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61676         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61678         Likewise.
61680 2012-05-26  Marek Polacek  <polacek@redhat.com>
61682         [BZ #14152]
61683         * math/libm-test.inc (fma_test): Don't always expect underflow
61684         exception.
61686 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61688         [BZ #12416]
61689         * elf/tst-execstack.c: Include stackinfo.h.
61690         (do_test): Adjust test case to ensure that pthread_getattr_np
61691         behaviour remains the same after marking stack executable.
61693 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61695         * sysdeps/unix/sysv/linux/kernel-features.h
61696         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61697         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61698         kernel-features.h.
61699         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61700         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61701         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61702         kernel-features.h.
61703         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61704         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61706 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61708         * configure.in: Define the default includes to being none.
61709         * configure: Regenerated.
61711 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61713         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61714         * sysdeps/x86_64/setjmp.S: Likewise.
61715         * sysdeps/i386/bsd-setjmp.S: Likewise.
61716         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61717         * sysdeps/i386/setjmp.S: Likewise.
61718         * sysdeps/i386/__longjmp.S: Likewise.
61719         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61720         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61722         * include/stap-probe.h: New file.
61723         * configure.in: Handle --enable-systemtap.
61724         * configure: Regenerated.
61725         * config.h.in (USE_STAP_PROBE): New #undef.
61726         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61727         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61728         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61730 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61732         [BZ #13717]
61733         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61734         to 2.4.0 where earlier.
61735         * sysdeps/unix/sysv/linux/configure: Regenerated.
61736         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61737         <kernel-features.h>.
61738         [__ASSUME_32BITUIDS]: Make code unconditional.
61739         [!__ASSUME_32BITUIDS]: Remove conditional code.
61740         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61741         <kernel-features.h>.
61742         [__ASSUME_32BITUIDS]: Make code unconditional.
61743         [!__ASSUME_32BITUIDS]: Remove conditional code.
61744         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61745         [__ASSUME_32BITUIDS]: Make code unconditional.
61746         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61747         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61748         <kernel-features.h>.
61749         [__ASSUME_32BITUIDS]: Make code unconditional.
61750         [!__ASSUME_32BITUIDS]: Remove conditional code.
61751         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61752         <kernel-features.h>.
61753         [__ASSUME_32BITUIDS]: Make code unconditional.
61754         [!__ASSUME_32BITUIDS]: Remove conditional code.
61755         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61756         <kernel-features.h>.
61757         [__ASSUME_32BITUIDS]: Make code unconditional.
61758         [!__ASSUME_32BITUIDS]: Remove conditional code.
61759         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61760         <kernel-features.h>.
61761         [__ASSUME_32BITUIDS]: Make code unconditional.
61762         [!__ASSUME_32BITUIDS]: Remove conditional code.
61763         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61764         <kernel-features.h>.
61765         [__ASSUME_32BITUIDS]: Make code unconditional.
61766         [!__ASSUME_32BITUIDS]: Remove conditional code.
61767         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61768         <kernel-features.h>.
61769         [__ASSUME_32BITUIDS]: Make code unconditional.
61770         [!__ASSUME_32BITUIDS]: Remove conditional code.
61771         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61772         <kernel-features.h>.
61773         [__ASSUME_32BITUIDS]: Make code unconditional.
61774         [!__ASSUME_32BITUIDS]: Remove conditional code.
61775         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61776         <kernel-features.h>.
61777         [__ASSUME_32BITUIDS]: Make code unconditional.
61778         [!__ASSUME_32BITUIDS]: Remove conditional code.
61779         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61780         <kernel-features.h>.
61781         [__ASSUME_32BITUIDS]: Make code unconditional.
61782         [!__ASSUME_32BITUIDS]: Remove conditional code.
61783         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61784         <kernel-features.h>.
61785         [__ASSUME_32BITUIDS]: Make code unconditional.
61786         [!__ASSUME_32BITUIDS]: Remove conditional code.
61787         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61788         <kernel-features.h>.
61789         [__NR_setresgid] (__setresgid): Do not declare.
61790         [__ASSUME_32BITUIDS]: Make code unconditional.
61791         [!__ASSUME_32BITUIDS]: Remove conditional code.
61792         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61793         <kernel-features.h>.
61794         [__NR_setresuid] (__setresuid): Do not declare.
61795         [__ASSUME_32BITUIDS]: Make code unconditional.
61796         [!__ASSUME_32BITUIDS]: Remove conditional code.
61797         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61798         <kernel-features.h>.
61799         [__ASSUME_32BITUIDS]: Make code unconditional.
61800         [!__ASSUME_32BITUIDS]: Remove conditional code.
61801         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61802         <kernel-features.h>.
61803         [__ASSUME_32BITUIDS]: Make code unconditional.
61804         [!__ASSUME_32BITUIDS]: Remove conditional code.
61805         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61806         <kernel-features.h>.
61807         [__ASSUME_32BITUIDS]: Make code unconditional.
61808         [!__ASSUME_32BITUIDS]: Remove conditional code.
61809         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61810         <kernel-features.h>.
61811         [__ASSUME_32BITUIDS]: Make code unconditional.
61812         [!__ASSUME_32BITUIDS]: Remove conditional code.
61813         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61814         <kernel-features.h>.
61815         [__ASSUME_32BITUIDS]: Make code unconditional.
61816         [!__ASSUME_32BITUIDS]: Remove conditional code.
61817         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61818         <kernel-features.h>.
61819         [__ASSUME_32BITUIDS]: Make code unconditional.
61820         [!__ASSUME_32BITUIDS]: Remove conditional code.
61821         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61822         <kernel-features.h>.
61823         [__ASSUME_32BITUIDS]: Make code unconditional.
61824         [!__ASSUME_32BITUIDS]: Remove conditional code.
61825         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61826         <kernel-features.h>.
61827         [__ASSUME_32BITUIDS]: Make code unconditional.
61828         [!__ASSUME_32BITUIDS]: Remove conditional code.
61829         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61830         <kernel-features.h>.
61831         [__ASSUME_32BITUIDS]: Make code unconditional.
61832         [!__ASSUME_32BITUIDS]: Remove conditional code.
61833         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61834         <kernel-features.h>.
61835         [__ASSUME_32BITUIDS]: Make code unconditional.
61836         [!__ASSUME_32BITUIDS]: Remove conditional code.
61837         * sysdeps/unix/sysv/linux/kernel-features.h
61838         (__ASSUME_SETRESUID_SYSCALL): Remove.
61839         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61840         (__ASSUME_32BITUIDS): Likewise.
61841         (__ASSUME_LDT_WORKS): Likewise.
61842         (__ASSUME_O_DIRECTORY): Likewise.
61843         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61844         architecture but not kernel version.
61845         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61846         (__ASSUME_MMAP2_SYSCALL): Likewise.
61847         (__ASSUME_STAT64_SYSCALL): Likewise.
61848         (__ASSUME_IPC64): Likewise.
61849         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61850         <kernel-features.h>.
61851         [__ASSUME_32BITUIDS]: Make code unconditional.
61852         [!__ASSUME_32BITUIDS]: Remove conditional code.
61853         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61854         <kernel-features.h>.
61855         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61856         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61857         132096]: Remove conditional code.
61858         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61859         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61860         <kernel-features.h>.
61861         [__ASSUME_32BITUIDS]: Make code unconditional.
61862         [!__ASSUME_32BITUIDS]: Remove conditional code.
61863         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61864         <kernel-features.h>.
61865         [__ASSUME_32BITUIDS]: Make code unconditional.
61866         [!__ASSUME_32BITUIDS]: Remove conditional code.
61867         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61868         <kernel-features.h>.
61869         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61870         unconditional.
61871         (__setresgid): Do not declare.
61872         [__ASSUME_32BITUIDS]: Make code unconditional.
61873         [!__ASSUME_32BITUIDS]: Remove conditional code.
61874         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61875         <kernel-features.h>.
61876         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61877         unconditional.
61878         (__setresuid): Do not declare.
61879         [__ASSUME_32BITUIDS]: Make code unconditional.
61880         [!__ASSUME_32BITUIDS]: Remove conditional code.
61881         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61882         <kernel-features.h>.
61883         [__ASSUME_32BITUIDS]: Make code unconditional.
61884         [!__ASSUME_32BITUIDS]: Remove conditional code.
61885         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61886         <kernel-features.h>.
61887         [__ASSUME_32BITUIDS]: Make code unconditional.
61888         [!__ASSUME_32BITUIDS]: Remove conditional code.
61890 2012-05-25  Richard Henderson  <rth@twiddle.net>
61892         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61893         dl_hwcap to ifunc resolver.
61894         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61895         elf_ifunc_invoke.
61896         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61897         dl_hwcap to ifunc resolver.
61898         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61900 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61902         [BZ #14153]
61903         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61904         for |x| <= 2**-26, not 2**-57.
61905         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61906         exception.
61908 2012-05-24  Jeff Law  <law@redhat.com>
61910         * stdio-common/Makefile (tests): Add bug25.
61911         * stdio-common/bug25.c: New test.
61913 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61915         [BZ #13576]
61916         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61917         multiple of MALLOC_ALIGNMENT in size.
61918         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61920 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61922         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61923         Require >= 256.
61924         (FILENAME_MAX): Use macro-int-constant.
61925         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61926         (_IOFBF): Use macro-int-constant.
61927         (_IOLBF): Likewise.
61928         (_IONBF): Likewise.
61929         (SEEK_CUR): Likewise.
61930         (SEEK_END): Likewise.
61931         (SEEK_SET): Likewise.
61932         (TMP_MAX): Likewise.
61933         (EOF): Use macro-int-constant.  Require < 0.
61934         (NULL): Use macro-constant.  Require == 0.
61935         (stdin): Require type to be FILE *.
61936         (stdout): Likewise.
61937         (stderr): Likewise.
61938         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61939         macro-int-constant.
61940         (EXIT_SUCCESS): Likewise.
61941         (NULL): Use macro-constant.  Require == 0.
61942         (RAND_MAX): Use macro-int-constant.
61943         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61944         [C99-based standards] (strtof): Require function.
61945         [C99-based standards] (strtold): Likewise.
61946         [C99-based standards] (strtoll): Likewise.
61947         [C99-based standards] (strtoull): Likewise.
61948         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61949         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61950         [ISO || ISO99 || ISO11] (math.h): Likewise.
61951         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61952         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61955 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61957         [BZ #14132]
61958         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61959         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61960         * intl/dgettext.c (DCGETTEXT): Likewise.
61961         * intl/gettext.c (DCGETTEXT): Likewise.
61962         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61963         * posix/regex_internal.h (gettext): Likewise.
61964         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61965         Remove declaration.
61966         * include/argz.h (__argz_count_internal)
61967         (__argz_stringify_internal): Remove declaration.
61968         (__argz_count, __argz_stringify): Declare hidden proto.
61969         * intl/dcgettext.c: Remove use of INTDEF.
61970         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61971         * string/argz-stringify.c: Likewise.
61972         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61973         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61974         Declare hidden proto.
61975         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61976         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61977         Declare hidden proto.
61978         * include/stdio.h (__asprintf_internal): Don't declare.
61979         (__asprintf): Don't define as macro.  Declare hidden proto.
61980         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61981         (__fsetlocking): Declare hidden proto.
61982         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61983         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61984         hidden proto.
61985         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61986         (_IO_setlinebuf): Remove use of INTUSE.
61987         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61988         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61989         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61990         Remove declaration.
61991         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61992         (_IO_do_flush): Remove use of INTUSE.
61993         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61994         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61995         (_IO_adjust_column, _IO_least_wmarker)
61996         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61997         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61998         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61999         (_IO_default_doallocate, _IO_wdefault_doallocate)
62000         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62001         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62002         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62003         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62004         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62005         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62006         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62007         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62008         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62009         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62010         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62011         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62012         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62013         proto.
62014         (_IO_flush_all_internal, _IO_adjust_column_internal)
62015         (_IO_default_uflow_internal, _IO_default_finish_internal)
62016         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62017         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62018         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62019         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62020         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62021         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62022         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62023         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62024         (_IO_file_close_internal, _IO_file_close_it_internal)
62025         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62026         (_IO_file_init_internal, _IO_file_attach_internal)
62027         (_IO_file_fopen_internal, _IO_file_read_internal)
62028         (_IO_file_sync_internal, _IO_file_seek_internal)
62029         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62030         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62031         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62032         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62033         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62034         (_IO_list_all_internal, _IO_link_in_internal)
62035         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62036         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62037         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62038         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62039         (_IO_do_write_internal, _IO_padn_internal)
62040         (_IO_getline_info_internal, _IO_getline_internal)
62041         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62042         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62043         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62044         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62045         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62046         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62047         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62048         with libc_hidden_ver, remove use of INTUSE.
62049         * libio/genops.c: Likewise.
62050         * libio/freopen.c: Likewise.
62051         * libio/freopen64.c: Likewise.
62052         * libio/iofclose.c: Likewise.
62053         * libio/iofdopen.c: Likewise.
62054         * libio/iofflush.c: Likewise.
62055         * libio/iofflush_u.c: Likewise.
62056         * libio/iofgets.c: Likewise.
62057         * libio/iofgets_u.c: Likewise.
62058         * libio/iofopen.c: Likewise.
62059         * libio/iofopncook.c: Likewise.
62060         * libio/iofread.c: Likewise.
62061         * libio/iofread_u.c: Likewise.
62062         * libio/ioftell.c: Likewise.
62063         * libio/iofwrite.c: Likewise.
62064         * libio/iogetline.c: Likewise.
62065         * libio/iogets.c: Likewise.
62066         * libio/iogetwline.c: Likewise.
62067         * libio/iopadn.c: Likewise.
62068         * libio/iopopen.c: Likewise.
62069         * libio/ioseekoff.c: Likewise.
62070         * libio/ioseekpos.c: Likewise.
62071         * libio/iosetbuffer.c: Likewise.
62072         * libio/iosetvbuf.c: Likewise.
62073         * libio/ioungetc.c: Likewise.
62074         * libio/ioungetwc.c: Likewise.
62075         * libio/iovdprintf.c: Likewise.
62076         * libio/iovsprintf.c: Likewise.
62077         * libio/iovsscanf.c: Likewise.
62078         * libio/memstream.c: Likewise.
62079         * libio/obprintf.c: Likewise.
62080         * libio/oldfileops.c: Likewise.
62081         * libio/oldiofclose.c: Likewise.
62082         * libio/oldiofdopen.c: Likewise.
62083         * libio/oldiofopen.c: Likewise.
62084         * libio/oldiopopen.c: Likewise.
62085         * libio/oldstdfiles.c: Likewise.
62086         * libio/putc.c: Likewise.
62087         * libio/setbuf.c: Likewise.
62088         * libio/setlinebuf.c: Likewise.
62089         * libio/stdfiles.c: Likewise.
62090         * libio/strops.c: Likewise.
62091         * libio/vasprintf.c: Likewise.
62092         * libio/vscanf.c: Likewise.
62093         * libio/vsnprintf.c: Likewise.
62094         * libio/vswprintf.c: Likewise.
62095         * libio/wfiledoalloc.c: Likewise.
62096         * libio/wfileops.c: Likewise.
62097         * libio/wgenops.c: Likewise.
62098         * libio/wmemstream.c: Likewise.
62099         * libio/wstrops.c: Likewise.
62100         * libio/__fpurge.c: Likewise.
62101         * libio/__fsetlocking.c: Likewise.
62102         * assert/assert.c: Likewise.
62103         * debug/fgets_chk.c: Likewise.
62104         * debug/fgets_u_chk.c: Likewise.
62105         * debug/fread_chk.c: Likewise.
62106         * debug/fread_u_chk.c: Likewise.
62107         * debug/gets_chk.c: Likewise.
62108         * debug/obprintf_chk.c: Likewise.
62109         * debug/vasprintf_chk.c: Likewise.
62110         * debug/vdprintf_chk.c: Likewise.
62111         * debug/vsnprintf_chk.c: Likewise.
62112         * debug/vsprintf_chk.c: Likewise.
62113         * malloc/mtrace.c: Likewise.
62114         * misc/error.c: Likewise.
62115         * misc/syslog.c: Likewise.
62116         * stdio-common/asprintf.c: Likewise.
62117         * stdio-common/fxprintf.c: Likewise.
62118         * stdio-common/getw.c: Likewise.
62119         * stdio-common/isoc99_fscanf.c: Likewise.
62120         * stdio-common/isoc99_scanf.c: Likewise.
62121         * stdio-common/isoc99_vfscanf.c: Likewise.
62122         * stdio-common/isoc99_vscanf.c: Likewise.
62123         * stdio-common/isoc99_vsscanf.c: Likewise.
62124         * stdio-common/printf-prs.c: Likewise.
62125         * stdio-common/printf_fp.c: Likewise.
62126         * stdio-common/printf_fphex.c: Likewise.
62127         * stdio-common/printf_size.c: Likewise.
62128         * stdio-common/putw.c: Likewise.
62129         * stdio-common/scanf.c: Likewise.
62130         * stdio-common/sprintf.c: Likewise.
62131         * stdio-common/tmpfile.c: Likewise.
62132         * stdio-common/vfprintf.c: Likewise.
62133         * stdio-common/vfscanf.c: Likewise.
62134         * stdlib/strfmon_l.c: Likewise.
62135         * sunrpc/openchild.c: Likewise.
62136         * sunrpc/xdr_stdio.c: Likewise.
62137         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62138         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62140 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62142         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62144         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62145         in the third column, to generate for the shared library an IFUNC
62146         that uses _dl_vdso_vsym.
62147         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62148         * Makeconfig (object-suffixes-noshared): New variable.
62150         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62151         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62152         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62153         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62155         [BZ #14132]
62156         * include/sys/time.h (__gettimeofday): Remove macro.
62157         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62158         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62159         Remove INTDEF.
62160         (__gettimeofday): Add libc_hidden_def.
62161         (gettimeofday): Add libc_hidden_weak.
62162         * sysdeps/mach/gettimeofday.c: Likewise.
62163         * sysdeps/posix/gettimeofday.c: Likewise.
62164         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62165         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62167         (__gettimeofday_internal): Remove strong_alias.
62168         (__gettimeofday): Add libc_hidden_def.
62169         (gettimeofday): Add libc_hidden_weak.
62170         * sysdeps/unix/syscalls.list (gettimeofday):
62171         Remove __gettimeofday_internal alias.
62173 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62174             H.J. Lu  <hongjiu.lu@intel.com>
62176         [BZ #12495]
62177         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62178         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62179         (largebin_index_32_big): New.
62180         (largebin_index): Use it for 16-byte alignment.
62181         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62182         correction with front_misalign.
62184 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62188         Likewise.
62189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62190         Likewise.
62191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62192         Likewise.
62193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62194         Likewise.
62195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62196         Likewise.
62197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62198         Likewise.
62199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62200         Likewise.
62201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62202         Likewise.
62203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62204         Likewise.
62205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62206         Likewise.
62207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62208         Likewise.
62209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62210         Likewise.
62212         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62213         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62215 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62217         [BZ #10846]
62218         [BZ #14036]
62219         * math/libm-test.inc (exp_test): Add test from bug 14036.
62220         (pow_test): Add test from bug 10846.
62222         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62223         and other flags.
62224         (special_function): Do not include flags in test name.
62225         (parse_args): Likewise.
62226         * sysdeps/i386/fpu/libm-test-ulps: Update.
62227         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62228         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62229         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62232         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62233         exceptions.
62234         * math/libm-test.inc ("Philosophy"): Update comment about
62235         exception testing.
62236         (UNDERFLOW_EXCEPTION): New macro.
62237         (UNDERFLOW_EXCEPTION_OK): Likewise.
62238         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62239         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62240         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62241         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62242         (INVALID_EXCEPTION_OK): Update value.
62243         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62244         (OVERFLOW_EXCEPTION_OK): Likewise.
62245         (IGNORE_ZERO_INF_SIGN): Likewise.
62246         (test_exceptions): Handle underflow exceptions.
62247         (acos_test): Update for underflow exception expectations.
62248         (cexp_test): Likewise.
62249         (clog_test): Likewise.
62250         (clog10_test): Likewise.
62251         (csqrt_test): Likewise.
62252         (ctan_test): Likewise.
62253         (ctanh_test): Likewise.
62254         (exp_test): Likewise.
62255         (exp10_test): Likewise.
62256         (exp2_test): Likewise.
62257         (expm1_test): Likewise.
62258         (fma_test): Likewise.
62259         (j0_test): Likewise.
62260         (jn_test): Likewise.
62261         (nexttoward_test): Likewise.
62262         (pow_test): Likewise.
62263         (scalbn_test): Likewise.
62264         (scalbln_test): Likewise.
62265         (tan_test): Likewise.
62266         (y1_test): Likewise.
62267         * sysdeps/i386/fpu/libm-test-ulps: Update.
62268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62270 2012-05-23  David S. Miller  <davem@davemloft.net>
62272         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62273         (__libc_sigaction): Remove unused local variables.
62275 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62277         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62279 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62281         mktime: avoid signed integer overflow
62282         * time/mktime.c (__mktime_internal): Do not mishandle the case
62283         where diff == INT_MIN.
62285         mktime: simplify computation of average
62286         * time/mktime.c (ranged_convert): Use new time_t_avg function
62287         instead of rolling our own (probably-slower) code.
62289         mktime: do not assume signed right shift propagates sign bit
62290         * time/mktime.c (isdst_differ): New static function.
62291         (__mktime_internal): No need to normalize tm_isdst now.
62292         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62293         tm_isdst values.
62295         mktime: merge another wrapv change from gnulib
62296         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62297         from some compilers.
62299         mktime: remove incorrect attempt at unusual arithmetics
62300         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62301         The code didn't really work on such machines anyway.
62302         (TYPE_MINIMUM): Assume two's complement.
62303         (twos_complement_arithmetic): Verify that long_int and time_t
62304         are two's complement (or unsigned, in the latter case).
62306         mktime: check signed shifts on long_int and time_t, too
62307         * time/mktime.c (SHR): Check that shifts work as desired
62308         on the types long_int and time_t too, as SHR is used on
62309         such types.
62311         mktime: do not assume 'long' is wide enough
62312         * time/mktime.c (verify): Move decl up.
62313         (long_int): New type.
62314         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62315         to remove assumption in the code that 'long' is wide enough to
62316         store year values.  This assumption is not true on x32 and on
62317         some non-glibc platforms.
62319         mktime: merge wrapv change from gnulib
62320         * time/mktime.c (WRAPV): New macro.
62321         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62322         (guess_time_tm, __mktime_internal): Do not assume that signed
62323         integer overflow wraps around; modern compilers generate code
62324         where this assumption is no longer valid.
62326 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62328         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62329         Replace "jmp L(pseudo_end)" with "ret".
62330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62331         Likewise.
62333 2012-05-23  Andreas Jaeger  <aj@suse.de>
62335         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62336         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62338 2012-05-23  Andreas Jaeger  <aj@suse.de>
62339             Maximilian Attems  <max@stro.at>
62341         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62342         New macros.
62344 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62346         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62347         code so that pseudo_end is just ret and the stack pointer is
62348         correct also for static library in error case.
62350 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62352         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62353         move to syscalls.list.
62354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62359         * manual/install.texi (Running make install): Do not mention Linux
62360         kernel version for which pt_chown is not needed.
62361         (Linux): Do not mention problems with nscd with 2.0 kernels.
62362         * INSTALL: Regenerated.
62364 2012-05-23  Andreas Jaeger  <aj@suse.de>
62366         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62367         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62368         macro.
62369         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62370         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62371         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62372         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62373         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62374         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62375         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62376         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62377         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62378         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62379         * sysdeps/unix/sysv/linux/bits/in.h
62380         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62382 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62384         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62385         (PREPARE_VERSION): Just use assert instead, it will be elided
62386         under [NDEBUG] anyway.
62388 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62390         * sysdeps/unix/sysv/linux/Makefile: Include
62391         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62392         (sysdep_routines): Remove sysctl.
62393         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62394         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62395         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62396         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62397         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62399 2012-05-22  Andreas Jaeger  <aj@suse.de>
62401         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62402         that pseudo_end is just ret and the stack pointer is correct also
62403         for static library in error case.
62405 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62407         [BZ #14122]
62408         * nss/nsswitch.c (defconfig_entries): New variable.
62409         (__nss_database_lookup): Don't leak defconfig entries.
62410         (nss_parse_service_list): Don't leak on error paths.
62411         (free_database_entries): New function.
62412         (free_defconfig): New function.
62413         (free_mem): Move common code to free_database_entries.
62415 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62417         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62418         Add arch_prctl.
62419         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62421         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62422         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62424         New macro.
62425         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62426         (INTERNAL_SYSCALL_TYPES): Likewise.
62427         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62428         (LOAD_REGS_TYPES_[1-6]): Likewise.
62429         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62430         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62432 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62434         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62435         copysignl for GLIBC_2_0.
62436         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62437         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62439         logbl for GLIBC_2_0.
62440         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62441         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62443 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62445         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62446         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62448         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62449         Use "neg %eax".
62451         * time/mktime.c: Update copyright years.
62453 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62455         mktime: merge comment-quoting-style change from gnulib
62456         * time/mktime.c: Quote 'like this' in comments.
62457         The GNU coding standards suggest that we no longer quote `like this',
62458         as "`" and "'" are typically rendered asymmetrically nowadays.
62459         The typical gnulib style is to quote 'like this' when quoting
62460         code, and "like this" when quoting English.
62462         * time/mktime.c (compile-command): Add "-I.".
62464         mktime: merge mktime-internal.h change from gnulib
62465         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62467         mktime: merge time_r change from gnulib
62468         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62470         mktime: merge DEBUG change from gnulib
62471         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62472         case system <time.h> has a #define.
62474         mktime: merge <sys/types.h> change from gnulib
62475         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62476         since <time.t> is now guaranteed to define time_t.
62478         mktime: merge HAVE_CONFIG_H change from gnulib
62479         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62481 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62484         Use "neg %eax".
62486         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62487         __rlim_t cast.
62488         (struct rusage): Use anonymous union to pad each field to
62489         __syscall_slong_t.
62491 2012-05-21  David S. Miller  <davem@davemloft.net>
62493         * Makefules (o-iterator): Remove .s cases.
62494         (compile-command.s): Delete.
62495         (COMPILE.s): Delete.
62496         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62498 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62500         * configure.in (libc_cv_predef_stack_protector): Only consider
62501         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62502         * configure: Regenerated.
62504 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62506         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62507         New macro.  Use R*LP on int and pointer.
62508         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62509         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62510         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62511         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62513         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62514         [__WORDSIZE_TIME64_COMPAT32] instead of
62515         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62516         (struct utmp): Likewise.
62517         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62518         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62519         Renamed to ...
62520         (__WORDSIZE_TIME64_COMPAT32): This.
62521         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62522         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62523         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62524         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62525         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62526         (__WORDSIZE_TIME64_COMPAT32): New macro.
62528 2012-05-21  Andreas Jaeger  <aj@suse.de>
62530         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62531         only if [SHARED]. Add prototype for __wcschr_ia32.
62533 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62535         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62536         of %rbp unmolested in the jmp_buf while mangling the low bits.
62537         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62538         unmolested high bits of %rbp while demangling the low bits.
62539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62541 2012-05-21  Andreas Jaeger  <aj@suse.de>
62543         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62544         * sunrpc/svc_simple.c: Use it for registerrpc.
62545         * sunrpc/xcrypt.c: Use it for passwd2des.
62547         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62549 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62551         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62552         Don't define if [__SYSCALL_WORDSIZE != 32].
62553         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62554         New macro.
62556 2012-05-21  Bruno Haible  <bruno@clisp.org>
62557             Andreas Jaeger  <aj@suse.de>
62559         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62560         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62561         inptr and inend for must_buffer_ch.
62562         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62563         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62564         * stdio-common/Makefile (tests): Remove bug15.
62565         (bug15-ENV): Remove macro.
62566         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62567         anymore.
62569 2012-05-19  Andreas Jaeger  <aj@suse.de>
62570             Roland McGrath  <roland@hack.frob.com>
62572         * manual/contrib.texi: Completely rewritten. It contains now an
62573         alphabetical list of contributors and their contributions.
62575 2012-05-21  Richard Henderson  <rth@twiddle.net>
62577         * misc/getauxval.c (__getauxval): Use unsigned long int.
62578         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62579         (getauxval): Use unsigned long int.
62581 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62583         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62585 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62587         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62588         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62589         __alignof__ (long double).
62591 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62595 2012-05-20  Richard Henderson  <rth@twiddle.net>
62597         * misc/getauxval.c: New file.
62598         * misc/sys/auxv.h: New file.
62599         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62600         (routines): Add getauxval.
62601         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62602         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62603         * elf/dl-sysdep.c (_dl_auxv): Remove.
62604         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62605         * elf/dl-support.c (_dl_auxv): New variable.
62606         (_dl_aux_init): Initialize it.
62607         * manual/startup.texi (Auxiliary Vector): New node.
62608         * sysdeps/generic/bits/hwcap.h: New file.
62609         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62610         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62611         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62612         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62613         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62614         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62616         Update.
62617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62620         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62626 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62630 2012-05-19  David S. Miller  <davem@davemloft.net>
62632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62634 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62636         [BZ #14123]
62637         * math/s_ccosh.c: Include <float.h>
62638         (__ccosh): Avoid internal overflow calculating sinh and cosh
62639         values before multiplying by sin and cos values.
62640         * math/s_ccoshf.c: Likewise.
62641         * math/s_ccoshl.c: Likewise.
62642         * math/s_csin.c: Likewise.
62643         * math/s_csinf.c: Likewise.
62644         * math/s_csinl.c: Likewise.
62645         * math/s_csinh.c: Likewise.
62646         * math/s_csinhf.c: Likewise.
62647         * math/s_csinhl.c: Likewise.
62648         * math/libm-test.inc (ccos_test): Add more tests.
62649         (ccosh_test): Likewise.
62650         (csin_test): Likewise.
62651         (csinh_test): Likewise.
62652         * sysdeps/i386/fpu/libm-test-ulps: Update.
62653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62655 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62658         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62660         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62662 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62664         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62665         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62666         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62667         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62668         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62669         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62670         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62671         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62672         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62673         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62674         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62675         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62676         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62677         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62678         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62679         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62680         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62681         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62682         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62683         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62684         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62685         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62686         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62687         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62688         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62689         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62690         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62691         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62692         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62693         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62694         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62696 2012-05-18  Andreas Jaeger  <aj@suse.de>
62698         * csu/.gitignore: Delete.
62700 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62702         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62703         (timex): Use __syscall_slong_t.
62705 2012-05-18  Andreas Jaeger  <aj@suse.de>
62706             Carlos O'Donell  <carlos_odonell@mentor.com>
62708         * manual/install.texi (Configuring and compiling): Update
62709         description about files modified in the source directory.
62710         * INSTALL: Regenerated.
62712 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62714         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62715         value.  Use "or" to set return value to -1.
62716         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62717         negate return value.
62719 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62721         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62722         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62723         failure if the compiler has Graphite support disabled.
62724         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62725         Likewise.
62726         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62727         (CFLAGS-memmove.c): Likewise.
62728         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62729         Likewise.
62731 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62733         * sysdeps/x86_64/x32/_itoa.h: New file.
62735         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62736         getdents system call only if kernel and user dirents have the
62737         same d_ino and d_off.
62739         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62740         LLONG_MAX != LONG_MAX.
62741         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62742         (_fitoa_word): Likewise.
62744         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62745         years.
62746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62747         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62750         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62751         include <bits/wordsize.h>.  Check __x86_64__ instead of
62752         __WORDSIZE.
62753         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62754         if __x86_64__ is defined.  Use anonymous union on fpstate.
62756         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62757         anonymous union.
62759 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62761         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62762         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62763         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62764         Refer to _rtld_local_ro instead of _rtld_global_ro.
62765         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62766         Likewise.
62767         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62768         Likewise.
62769         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62770         Likewise.
62771         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62772         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62773         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62775         [BZ #10882]
62776         * sysdeps/powerpc/powerpc32/dl-machine.c
62777         (__elf_machine_runtime_setup) [PROF]: Don't reference
62778         _dl_prof_resolve.
62780 2012-05-18  Andreas Jaeger  <aj@suse.de>
62782         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62783         function only available for GCCs before 3.4 since GCC 3.4
62784         introduced a builtin.
62785         (lrint): Likewise.
62786         (llrintf): Likewise.
62787         (llrint): Likewise.
62788         (fmaxf): Likewise.
62789         (fmax): Likewise.
62790         (fminf): Likewise.
62791         (fmin): Likewise.
62792         (rint): Likewise.
62793         (rintf): Likewise.
62794         (nearbyint): Likewise.
62795         (nearbyintf): Likewise.
62796         (ceil): Likewise.
62797         (ceilf): Likewise.
62798         (floor): Likewise.
62799         (floorf): Likewise.
62801 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62803         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62804         on both fields and cast pointer to __syscall_ulong_t.
62806         * bits/types.h (__fsword_t): New type.
62807         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62808         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62809         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62810         (__FSWORD_T_TYPE): Likewise.
62811         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62812         (__FSWORD_T_TYPE): Likewise.
62813         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62814         (__FSWORD_T_TYPE): Likewise.
62815         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62816         (__FSWORD_T_TYPE): Likewise.
62817         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62818         __SWORD_TYPE with __fsword_t.
62819         (statfs64): Likewise.
62821 2012-05-17  David S. Miller  <davem@davemloft.net>
62823         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62825 2012-05-17  Andreas Jaeger  <aj@suse.de>
62827         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62828         warning.
62830 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62832         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62834 2012-05-17  Andreas Jaeger  <aj@suse.de>
62836         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62837         when it is used.
62839 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62841         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62843 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62845         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62846         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62848 2012-05-17  Andreas Jaeger  <aj@suse.de>
62849             Carlos O'Donell  <carlos_odonell@mentor.com>
62851         [BZ #14059]
62852         * sysdeps/x86_64/multiarch/init-arch.h
62853         (bit_YMM_Usable): Rename to...
62854         (bit_AVX_Usable): ... this.
62855         (bit_FMA4_Usable): New macro.
62856         (bit_XMM_state): New macro.
62857         (bit_YMM_state): New macro.
62858         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62859         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62860         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62861         (CPUID_OSXSAVE): New macro.
62862         (CPUID_AVX): New macro.
62863         (CPUID_FMA4): New macro.
62864         (index_YMM_Usable): Rename to...
62865         (index_AVX_Usable): ... this.
62866         (HAS_AVX): Use HAS_ARCH_FEATURE.
62867         (HAS_FMA4): Likewise.
62868         (HAS_YMM_USABLE): Remove.
62869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62870         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62871         are present.
62872         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62873         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62874         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62875         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62876         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62878 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62880         * math/libm-test.c: Support platforms without multiple rounding modes.
62881         * math/bug-nextafter.c: Support platforms without FP exceptions.
62882         * math/bug-nexttoward.c: Likewise.
62883         * math/test-fenv.c: Likewise.
62884         * math/test-misc.c: Likewise.
62885         * stdlib/bug-getcontext.c: Likewise.
62887 2012-05-17  Andreas Jaeger  <aj@suse.de>
62889         * manual/examples/search.c (critter_cmp): Change signature to
62890         avoid warnings.
62891         * manual/string.texi (Collation Functions): Likewise.
62893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62895         * bits/types.h: Fold copyright years.
62896         * bits/typesizes.h: Likewise.
62897         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62901         * time/time.h: Likewise.
62903 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62905         [BZ #208]
62906         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62907         in instead of returning them.  Return void.
62908         (__libc_mallinfo): Accumulate over all arenas.
62909         (__malloc_stats): Adjust for change in int_mallinfo interface.
62911 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62913         [BZ #10375]
62914         * configure.in (NM): Add AC_CHECK_TOOL for it.
62915         (libc_extra_cflags): New substituted variable.
62916         Check for -fstack-protector being used implicitly.
62917         * configure: Regenerated.
62918         * config.make.in (config-extra-cflags): New variable,
62919         gets @libc_extra_cflags@.
62920         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62922         [BZ #10375]
62923         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62924         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62925         * configure: Regenerated.
62926         * config.make.in (CPPUNDEFS): New substituted variable.
62927         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62928         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62929         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62933         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62934         (mq_attr): Use __syscall_slong_t.
62936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62938         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62939         Check __x86_64__ instead of __WORDSIZE.
62940         (_STAT_VER_LINUX): Likewise.
62941         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62942         __syscall_ulong_t and __syscall_slong_t.
62943         (stat64): Likewise.
62945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62947         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62949 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62951         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62955         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62956         __syscall_ulong_t.
62958         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62959         include <bits/wordsize.h>.  Check __x86_64__ instead of
62960         __WORDSIZE.
62961         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62962         defined.
62963         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62965         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62966         include <bits/wordsize.h>.  Check __x86_64__ instead of
62967         __WORDSIZE.
62968         (user_regs_struct): Use "__extension__ unsigned long long"
62969         instead of "unsigned long" if __x86_64__ is defined.
62970         (user): Likewise.  Pad after pointer field if __ILP32__ is
62971         defined.
62973 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62975         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62976         versions 5 to 9.
62977         * configure: Regenerated.
62978         * manual/install.texi (texinfo): Increase version requirement to
62979         4.5 or later.
62980         * INSTALL: Regenerated.
62982         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62986         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62988         * sysdeps/x86_64/x32/ffs.c: New file.
62990         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62991         __syscall_ulong_t.
62992         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62993         defined.  Use __syscall_ulong_t.
62994         (shminfo): Use __syscall_ulong_t.
62995         (shm_info): Likewise.
62997         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62998         __syscall_ulong_t.
63000         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63001         <bits/wordsize.h>.
63002         (msgqnum_t): Use __syscall_ulong_t.
63003         (msglen_t): Likewise.
63004         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63005         __syscall_ulong_t.
63007         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63008         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63010         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63012         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63013         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63015         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63016         __syscall_slong_t.
63018         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63019         include <bits/wordsize.h>.  Check __x86_64__ instead of
63020         __WORDSIZE.
63022         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63023         "unsigned long long int" if __x86_64__ is defined.
63024         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63027         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63028         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63030         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63031         <stdint.h>.
63032         (GET_PC): Cast to uintptr_t first.
63033         (GET_FRAME): Likewise.
63034         (GET_STACK): Likewise.
63036         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63037         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63038         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63039         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63040         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63041         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63042         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63043         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63044         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63045         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63046         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63047         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63048         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63049         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63050         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63051         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63052         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63053         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63054         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63055         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63056         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63057         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63058         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63059         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63060         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63061         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63062         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63063         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63064         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63066 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63068         * Makerules (+depfiles): Also collect depfiles from .oS in
63069         $(extra-objs).
63070         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63071         .oS, $(libnldbl-routines)).
63073         * Makerules (native-compile-mkdep-flags): Define.
63074         * sunrpc/Makefile (extra-objs): Add $(addprefix
63075         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63076         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63077         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63078         calling $(make-target-directory).
63080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63082         * bits/types.h (__snseconds_t): Removed.
63083         * time/time.h (struct timespec): Replace __snseconds_t with
63084         __syscall_slong_t.
63085         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63086         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63087         Likewise.
63088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63089         (__SNSECONDS_T_TYPE): Likewise.
63090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63091         (__SNSECONDS_T_TYPE): Likewise.
63092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63093         (__SNSECONDS_T_TYPE): Likewise.
63095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63097         * sysdeps/mach/hurd/bits/typesizes.h
63098         (__SYSCALL_SLONG_TYPE): New macro.
63099         (__SYSCALL_ULONG_TYPE): Likewise.
63101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63103         * bits/types.h (__syscall_slong_t): New type.
63104         (__syscall_ulong_t): Likewise.
63106         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63107         (__SYSCALL_ULONG_TYPE): Likewise.
63108         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63109         (__SYSCALL_SLONG_TYPE): Likewise.
63110         (__SYSCALL_ULONG_TYPE): Likewise.
63111         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63112         (__SYSCALL_SLONG_TYPE): Likewise.
63113         (__SYSCALL_ULONG_TYPE): Likewise.
63114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63115         (__SYSCALL_SLONG_TYPE): Likewise.
63116         (__SYSCALL_ULONG_TYPE): Likewise.
63118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63120         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63121         Add sigaltstack-offsets.sym.
63122         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63123         <sigaltstack-offsets.h>.
63124         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63125         longjmp_msg pointer.
63126         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63127         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63128         signal stack.
63129         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63131 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63133         * elf/stackguard-macros.h: Remove file.
63134         * sysdeps/generic/stackguard-macros.h: New file.
63135         * sysdeps/i386/stackguard-macros.h: Likewise.
63136         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63137         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63138         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63139         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63140         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63141         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63142         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63143         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63144         <elf/stackguard-macros.h>.
63146         [BZ #14109]
63147         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63148         __aligned__ in attribute.
63149         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63150         (gregset_t): Likewise.
63152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63154         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63155         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63156         * sysdeps/x86_64/x32/Implies-after: New file.
63158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63160         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63161         and access return value for _dl_profile_fixup.  Use R10_LP to
63162         load frame size.
63164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63170         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63171         * sysdeps/x86_64/x32/sysdep.h: New file.
63173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63175         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63176         * sysdeps/x86_64/setjmp.S: Likewise.
63178 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63182         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63183         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63184         remove unused global constant.
63186 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63188         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63189         include of <not-cancel.h>.
63191 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63193         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63195 2012-05-15  Jeff Law  <law@redhat.com>
63196             Andreas Jaeger  <aj@suse.de>
63198         [BZ #13594]
63199         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63200         out from...
63201         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63202         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63203         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63204         code changing __hst_map_handle.map.
63206 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63208         * configure.in (sysnames): Look for Implies-before and Implies-after
63209         files.
63210         * configure: Regenerated.
63212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63214         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63215         8-byte data alignment with LP_SIZE alignment.
63217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63220         into R10_LP.
63222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63224         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63228         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63229         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63230         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63231         Likewise.
63232         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63236         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63237         (stackinfo_sub_sp): Likewise.
63239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63241         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63242         RAX_LP.
63244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63246         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63247         into R*_LP.
63249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63251         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63252         sizes into R*_LP.
63254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63256         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63260         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63261         into R11_LP and load __x86_64_shared_cache_size_half into
63262         R8_LP.
63264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63267         R8_LP.
63269 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63272         logb for POWER7.
63273         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63274         logbf for POWER7.
63275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63276         logbl for POWER7.
63277         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63278         powerpc32/power7/fpu/s_logb.c via #include.
63279         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63280         powerpc32/power7/fpu/s_logbf.c via #include.
63281         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63282         powerpc32/power7/fpu/s_logbl.c via #include.
63284 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63286         * README.libm: Remove file.
63288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63290         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63291         count for x32.  Use R*_LP and omit operand-size suffix.
63293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63295         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63296         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63297         * sysdeps/x86_64/x32/shlib-versions: New file.
63299 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63301         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63302         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63303         Use _dl_fatal_printf instead.
63305 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63307         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63308         set if not set by the user.  Do not allow for being unset.
63309         * sysdeps/unix/sysv/linux/configure: Regenerated.
63311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63313         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63314         the `q' suffix from lea and replace .quad with ASM_ADDR.
63316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63319         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63320         instead of $17.
63321         (PTR_DEMANGLE): Likewise.
63323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63325         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63326         (LP_OP): Likewise.
63327         (ASM_ADDR): Likewise.
63328         (RAX_LP): Likewise.
63329         (RBP_LP): Likewise.
63330         (RBX_LP): Likewise.
63331         (RCX_LP): Likewise.
63332         (RDI_LP): Likewise.
63333         (RSI_LP): Likewise.
63334         (RSP_LP): Likewise.
63335         (R8_LP): Likewise.
63336         (R9_LP): Likewise.
63337         (R10_LP): Likewise.
63338         (R10_LP): Likewise.
63339         (R11_LP): Likewise.
63340         (R12_LP): Likewise.
63341         (R13_LP): Likewise.
63342         (R14_LP): Likewise.
63343         (R15_LP): Likewise.
63345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63347         * sysdeps/x86_64/x32/dl-machine.h: New file.
63349 2012-05-14  Andreas Jaeger  <aj@suse.de>
63351         * manual/Makefile (subdir): Remove export of subdir.
63352         (all): Remove target.
63353         (.PHONY): Remove all from list.
63354         (mkinstalldirs): Remove.
63355         (.PHONY): Remove installdirs from list.
63356         ($(inst_infodir)/libc.info): Use make-target-directory.
63357         (installdirs): Remove.
63358         (subdir_%): Remove.
63359         (glibc-targets): Remove.
63360         (lib): Remove.
63361         (stubs): Remove.
63362         ($(objpfx)stubs ../po/manual.pot): Remove.
63363         ($(objpfx)stamp%): Remove.
63364         (make-target-directory): Remove.
63365         (subdir_install): Remove.
63366         (routines): Remove.
63367         (aux): Remove.
63368         (sources): Remove.
63369         (objects): Remove.
63370         (headers): Remove.
63372         [BZ #13750]
63373         * manual/.gitignore: Remove, it's not needed anymore.
63374         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63375         all files in it.
63376         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63377         directory.
63378         (texis): Renamed to $(objpfx)texis.
63379         (texis-path): New, contains path to generated files.
63380         (chapters.%): Use texis-path for complete path, add extra argument
63381         libc-texinfo.sh.
63382         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63383         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63384         (summary,texi, stamp-summary): Use complete path of
63385         files. Generate files in build dir.
63386         (dir-add.texi): Build in build dir.
63387         (libm-err.texi,stamp-libm-err): Likewise.
63388         (version.texi, stamp-version): Likewise.
63389         (.%c.texi): Likewise.
63390         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63391         (mostlyclean): Remove target.
63392         (realclean): Remove target.
63393         (generated): Add new variable with contents from mostlyclean and
63394         realclean, remove entries duplicated in common-mostlyclean, add
63395         stamp-libm-err and stamp-version.
63396         (generated-dirs): Add libc directory.
63397         ($(inst_infodir)/libc.info): Install files from build dir.
63399         * manual/install.texi (Configuring and compiling): Adjust since
63400         the info files are not part of the tar ball anymore.
63402 2012-05-14  Andreas Jaeger  <aj@suse.de>
63404         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63405         variable.
63407 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63409         [BZ #13717]
63410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63411         to 2.2.0 where earlier.
63412         * sysdeps/unix/sysv/linux/configure: Regenerated.
63413         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63414         Remove conditional code.
63415         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63416         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63417         Remove conditional code.
63418         [!__NR_lchown]: Likewise.
63419         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63420         [__NR_lchown]: Likewise.
63421         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63422         comment referencing __ASSUME_LCHOWN_SYSCALL.
63423         * sysdeps/unix/sysv/linux/i386/sigaction.c
63424         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63425         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63426         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63427         Remove conditional code.
63428         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63429         (__protocol_available): Remove #if 0 code.
63430         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63431         conditional code.
63432         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63433         * sysdeps/unix/sysv/linux/kernel-features.h
63434         (__ASSUME_GETCWD_SYSCALL): Don't define.
63435         (__ASSUME_REALTIME_SIGNALS): Likewise.
63436         (__ASSUME_PREAD_SYSCALL): Likewise.
63437         (__ASSUME_PWRITE_SYSCALL): Likewise.
63438         (__ASSUME_POLL_SYSCALL): Likewise.
63439         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63440         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63441         non-SPARC.
63442         (__ASSUME_SIOCGIFNAME): Don't define.
63443         (__ASSUME_MSG_NOSIGNAL): Likewise.
63444         (__ASSUME_SENDFILE): Define unconditionally.
63445         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63446         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63447         conditional code.
63448         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63449         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63450         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63451         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63452         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63453         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63454         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63479         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63480         Remove conditional code.
63481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63482         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63483         Remove conditional code.
63484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63485         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63486         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63487         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63488         Remove conditional code.
63489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63490         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63491         Remove conditional code.
63492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63493         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63494         Remove conditional code.
63495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63496         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63497         Remove conditional code.
63498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63499         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63500         Remove conditional code.
63501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63502         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63505         * sysdeps/unix/sysv/linux/sigaction.c
63506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63508         * sysdeps/unix/sysv/linux/sigpending.c
63509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63511         * sysdeps/unix/sysv/linux/sigprocmask.c
63512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63514         * sysdeps/unix/sysv/linux/sigsuspend.c
63515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63518         (__libc_missing_rt_sigs): Remove.
63519         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63520         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63521         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63522         Remove conditional code.
63523         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63524         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63525         return 1.
63526         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63527         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63528         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63529         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63531 2012-05-14  Andreas Jaeger  <aj@suse.de>
63533         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63534         it's not used in glibc.
63535         (__coshm1): Likewise.
63536         (__acosh1p): Likewise.
63537         (__sgn): Likewise.
63539         * manual/string.texi (Copying and Concatenation): Add missing
63540         variable in concat example.
63541         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63545         [BZ #14103]
63546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63547         __builtin_clzl with __builtin_clzll.
63549 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63551         [BZ #14104]
63552         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63553         libc_freeres_ptr.
63555 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63557         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63558         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63559         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63560         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63562 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63564         * NEWS: Update ia64 info.
63566 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63568         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63569         used as bcopy.
63571 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63573         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63574         * sysdeps/unix/syscalls.list (dup3): Likewise.
63575         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63576         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63578 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63580         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63581         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63583 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63585         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63586         thread pointer.
63587         (TLS_IE): Use mov/add instead of movq/addq to load thread
63588         pointer.
63589         (TLS_GD_PREFIX): New.
63590         (TLS_GD): Use it.
63592 2012-05-11  David S. Miller  <davem@davemloft.net>
63594         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63595         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63596         (_FPU_SETCW): Likewise.
63598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63600         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63601         is 32-byte aligned.
63603 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63605         [BZ #11837]
63606         * iconvdata/gb18030.c: Update tables.
63607         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63608         characters specially.
63609         (BODY for TO_LOOP): Add encoding of missing ranges.
63611 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63613         [BZ #13673]
63614         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63615         * sysdeps/mach/hurd/dup3.c: Likewise.
63616         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63617         * sysdeps/powerpc/memmove.c:: Likewise.
63619 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63621         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63622         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63624 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63626         * elf/elf.h (R_X86_64_RELATIVE64): New.
63627         (R_X86_64_NUM): Updated.
63628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63629         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63630         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63631         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63632         tst-quad1pie tst-quad2pie
63633         (modules-names): Add tst-quadmod1 tst-quadmod2.
63634         ($(objpfx)tst-quad1): New dependency.
63635         ($(objpfx)tst-quad2): Likewise.
63636         ($(objpfx)tst-quad1pie): Likewise.
63637         ($(objpfx)tst-quad2pie): Likewise.
63638         * sysdeps/x86_64/tst-quad1.c: New file.
63639         * sysdeps/x86_64/tst-quad1pie.c: New file.
63640         * sysdeps/x86_64/tst-quad2.c: Likewise.
63641         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63642         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63643         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63644         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63645         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63649         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63650         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63651         * streams/stropts.h (t_scalar_t): Define type.
63653         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63654         (_PATH_PRESERVE): Set to "/var/lib".
63655         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63657         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63658         instead of int.
63660         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63661         if __dir_mkfile succeeded.
63663         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63664         checking for _hurd_dtablesize.  Unlock it right after having
63665         finished _hurd_dtable allocation.
63667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63669         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63670         * sysdeps/mach/hurd/configure: Regenerated.
63671         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63672         special-casing to...
63673         * sysdeps/gnu/configure.in: ... this new file.
63674         * sysdeps/unix/sysv/linux/configure: Regenerated.
63675         * sysdeps/gnu/configure: New generated file.
63677         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63678         for Linux: use nsec instead of usec, as well as:
63679         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63680         members of type struct timespec.
63681         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63682         New macros.
63683         (struct stat64): Likewise.
63684         (_STATBUF_ST_NSEC): New macro.
63685         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63687         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63688         __strtoul_internal rather than strtoul.
63690 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63692         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63693         and reject them.
63695 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63697         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63698         which preserves existing values.
63699         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63701 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63703         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63704         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63705         greater than FD_SETSIZE.
63707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63709         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63710         allocated, call __vm_protect to finish enabling the existing space, and
63711         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63712         allocate the remainder.
63714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63716         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63717         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63721         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63722         sysdeps/mach/hurd/readlink.c.
63724         * posix/tst-sysconf.c (posix_options): Only use
63725         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63726         _POSIX_SYNCHRONIZED_IO when they are defined
63727         * sysdeps/mach/hurd/bits/posix_opt.h:
63728         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63729         (_XOPEN_REALTIME): Undefine macro.
63730         (_XOPEN_REALTIME_THREADS): Undefine macro.
63731         (_XOPEN_SHM): Undefine macro.
63732         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63733         macro to -1.
63734         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63735         macro to -1.
63736         (_POSIX_ASYNC_IO): Undefine macro.
63737         (_POSIX_PRIORITIZED_IO): Undefine macro.
63738         (_POSIX_SPIN_LOCKS): Define macro to -1.
63740         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63741         SA_NODEFER, SA_RESETHAND.
63742         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63743         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63744         F_DUPFD_CLOEXEC.
63746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63748         * elf/Makefile (pldd-modules): Define unconditionally.
63750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63752         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63756         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63757         Return ENOENT when name is empty.
63758         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63760 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63762         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63764         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63768         Fix mlock in all cases except non-readable pages.
63769         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63770         instead of VM_PROT_ALL as parameter to __vm_wire function.
63772         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63773         (__mkdir): When path is `/', just fail with EEXIST.
63774         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63778         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63779         <sys/uio.h> (for writev).
63780         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63781         and <sys/param.h> (for MIN).
63783 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63785         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63786         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63787         if interrupted.
63789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63791         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63792         Depend on against $(link-rpcuserlibs).
63794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63796         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63797         (__libc_stack_end): Do not use attribute_relro.
63798         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63799         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63800         to libthread-provided value.
63801         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63802         attribute_relro.
63804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63806         [BZ #3748]
63807         * bits/libc-lock.h (__libc_once_get): New macro.
63808         * sysdeps/mach/bits/libc-lock.h: Likewise.
63809         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63810         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63811         instead of using implementation details.
63813         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63814         * libio/freopen.c: Likewise.
63815         * libio/freopen64.c: Likewise.
63816         * misc/syslog.c: Likewise.
63817         * nscd/connections.c: Likewise.
63818         * nscd/netgroupcache.c: Likewise.
63819         * sysdeps/posix/getcwd.c: Likewise.
63821 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63823         * math/w_ilogbf.c: Add #include <limits.h>.
63825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63827         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63828         path instead of returning without unlocking.
63830         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63831         immediate-write ioctls.
63832         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63836         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63837         __builtin_frame_address instead of making assumptions about the
63838         location of the return address relative to DATA.  Force early load of
63839         the return address.
63840         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63841         __builtin_frame_address.
63843         dup3 for GNU Hurd.
63844         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63845         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63846         implement dup3 and do some further code clean-ups.
63847         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63848         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63852         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63854         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63855         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63856         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63857         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63858         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63859         d->port.lock.
63861         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63862         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63863         when handler == SIG_ERR, not when handler != SIG_ERR.
63865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63867         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63868         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63869         definitions.
63871         accept4 for GNU Hurd.
63872         * include/sys/socket.h (__libc_accept4): New prototype.
63873         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63874         to implement __libc_accept4.
63875         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63876         __libc_accept4.
63877         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63879         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63880         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63881         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63882         signal-defines.sym.
63884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63886         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63890         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63891         assertion on O_CLOEXEC flag.
63892         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63893         * hurd/intern-fd.c: Likewise.
63894         * hurd/port2fd.c: Likewise.
63896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63898         [BZ #3906]
63899         * bits/in.h (IPV6_PKTINFO): Define new macro.
63900         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63902 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63904         [BZ #13954]
63905         [BZ #13955]
63906         [BZ #13956]
63907         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63908         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63909         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63910         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63911         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63912         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63913         * math/libm-test.inc (logb_test) : Additional logb tests.
63915 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63916             Andreas Jaeger  <aj@suse.de>
63918         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63919         * configure: Regenerated.
63920         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63921         * config.make.in (link-obsolete-rpc): New substituted variable.
63922         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63923         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63924         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63925         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63926         so that libc.a contains the symbols.
63927         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63928         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63929         * sunrpc/auth_none.c: Likewise.
63930         * sunrpc/auth_unix.c: Likewise.
63931         * sunrpc/authdes_prot.c: Likewise.
63932         * sunrpc/authuxprot.c: Likewise.
63933         * sunrpc/clnt_gen.c: Likewise.
63934         * sunrpc/clnt_perr.c: Likewise.
63935         * sunrpc/clnt_raw.c: Likewise.
63936         * sunrpc/clnt_simp.c: Likewise.
63937         * sunrpc/clnt_tcp.c: Likewise.
63938         * sunrpc/clnt_udp.c: Likewise.
63939         * sunrpc/clnt_unix.c: Likewise.
63940         * sunrpc/des_crypt.c: Likewise.
63941         * sunrpc/des_soft.c: Likewise.
63942         * sunrpc/get_myaddr.c: Likewise.
63943         * sunrpc/key_call.c: Likewise.
63944         * sunrpc/key_prot.c: Likewise.
63945         * sunrpc/netname.c: Likewise.
63946         * sunrpc/pm_getmaps.c: Likewise.
63947         * sunrpc/pm_getport.c: Likewise.
63948         * sunrpc/pmap_clnt.c: Likewise.
63949         * sunrpc/pmap_prot.c: Likewise.
63950         * sunrpc/pmap_prot2.c: Likewise.
63951         * sunrpc/pmap_rmt.c: Likewise.
63952         * sunrpc/publickey.c: Likewise.
63953         * sunrpc/rpc_cmsg.c: Likewise.
63954         * sunrpc/rpc_common.c: Likewise.
63955         * sunrpc/rpc_dtable.c: Likewise.
63956         * sunrpc/rpc_prot.c: Likewise.
63957         * sunrpc/rpc_thread.c: Likewise.
63958         * sunrpc/rtime.c: Likewise.
63959         * sunrpc/svc.c: Likewise.
63960         * sunrpc/svc_auth.c: Likewise.
63961         * sunrpc/svc_raw.c: Likewise.
63962         * sunrpc/svc_run.c: Likewise.
63963         * sunrpc/svc_tcp.c: Likewise.
63964         * sunrpc/svc_udp.c: Likewise.
63965         * sunrpc/svc_unix.c: Likewise.
63966         * sunrpc/svcauth_des.c: Likewise.
63967         * sunrpc/xcrypt.c: Likewise.
63968         * sunrpc/xdr.c: Likewise.
63969         * sunrpc/xdr_array.c: Likewise.
63970         * sunrpc/xdr_float.c: Likewise.
63971         * sunrpc/xdr_intXX_t.c: Likewise.
63972         * sunrpc/xdr_mem.c: Likewise.
63973         * sunrpc/xdr_rec.c: Likewise.
63974         * sunrpc/xdr_ref.c: Likewise.
63975         * sunrpc/xdr_sizeof.c: Likewise.
63976         * sunrpc/xdr_stdio.c: Likewise.
63978 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63981         change.  Update copyright years.
63983 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63985         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63987 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63988             Joseph Myers  <joseph@codesourcery.com>
63989             Paul Pluzhnikov  <ppluzhnikov@google.com>
63991         [BZ #14012]
63992         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63993         requiring rpcgen.
63994         [cross-compiling] (extra-libs): Likewise.
63995         [cross-compiling] (extra-libs-others): Likewise.
63996         [cross-compiling] (librpcsvc-routines): Likewise.
63997         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63998         [cross-compiling] (omit-deps): Likewise.
63999         (sunrpc-CPPFLAGS): New variable.
64000         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64001         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64002         (cross-rpcgen-objs): New variable.
64003         (extra-objs): Append $(cross-rpcgen-objs).
64004         ($(cross-rpcgen-objs)): New rule.
64005         ($(objpfx)cross-rpcgen): Likewise.
64006         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64007         comment.
64008         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64009         ($(objpfx)x%.stmp): Likewise.
64010         * sunrpc/proto.h [IS_IN_build] (_): Define.
64011         [IS_IN_build] (_libc_intl_domainname): Likewise.
64013 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64016         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64017         and R_X86_64_TPOFF64.
64019 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64021         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64022         sysdeps/unix/sysv/syscalls.list.
64023         (stime): Likewise.
64024         (utime): Likewise.
64025         * sysdeps/unix/sysv/syscalls.list: Remove file.
64027 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64029         [BZ #3440]
64030         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64031         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64032         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64033         (__LC_IDENTIFICATION): Make these macros useful in #if
64034         expressions, as required by C99.
64036 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64038         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64039         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64040         after this.
64042 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64044         * stdlib/longlong.h: Updated from GCC.
64046 2012-05-09  Andreas Jaeger  <aj@suse.de>
64048         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64049         default is first entry.
64050         (run_mode): Set type.
64051         (main): Remove informal message about syslog.
64052         (options): Fix typo.
64054         [BZ #14053]
64055         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64056         to asm.
64057         (lrint): Likewise.
64058         (llrintf): Likewise.
64059         (llrint): Likewise.
64060         (rint): Likewise.
64061         (rintf): Likewise.
64062         (nearbyint): Likewise.
64063         (nearbyintf): Likewise.
64065 2012-05-09  Andreas Jaeger  <aj@suse.de>
64066             Pedro Alves  <palves@redhat.com>
64068         * nscd/nscd.c (run_mode): Use enum.
64069         (main): Cleanup coding style issue.
64071 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64072             Andreas Jaeger  <aj@suse.de>
64074         * nscd/nscd.c (go_background): Replaced with...
64075         (run_mode): ... this.
64076         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64077         (options): Add -F --foreground.
64078         (main): Implement it.
64079         (parse_opt): Parse it.
64081 2012-05-09  Andreas Jaeger  <aj@suse.de>
64083         [BZ #14083]
64084         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64085         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64086         -Wconversion warning.
64087         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64088         Likewise.
64090 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64092         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64093         == 0.
64094         (LC_ALL): Use macro-int-constant.
64095         (LC_COLLATE): Likewise.
64096         (LC_CTYPE): Likewise.
64097         (LC_MESSAGES): Likewise.
64098         (LC_MONETARY): Likewise.
64099         (LC_NUMERIC): Likewise.
64100         (LC_TIME): Likewise.
64101         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64102         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64103         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64104         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64105         Specify type.
64106         [C99-based standards] (float_t): Expect type.
64107         [C99-based standards] (double_t): Expect type.
64108         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64109         type.
64110         [C99-based standards] (HUGE_VALL): Likewise.
64111         [C99-based standards] (INFINITY): Likewise.
64112         [C99-based standards] (NAN): Likewise.
64113         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64114         [C99-based standards] (FP_NAN): Likewise.
64115         [C99-based standards] (FP_NORMAL): Likewise.
64116         [C99-based standards] (FP_SUBNORMAL): Likewise.
64117         [C99-based standards] (FP_ZERO): Likewise.
64118         [C99-based standards] (FP_FAST_FMA): Use
64119         optional-macro-int-constant.  Specify type.  Require == 1.
64120         [C99-based standards] (FP_FAST_FMAF): Likewise.
64121         [C99-based standards] (FP_FAST_FMAL): Likewise.
64122         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64123         [C99-based standards] (FP_ILOGBNAN): Likewise.
64124         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64125         Specify type.
64126         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64127         [C99-based standards] (math_errhandling): Specify type.
64128         [ISO99 || ISO11] (signgam): Do not allow.
64129         [non-C99-based standards] (copysignf): Do not allow.
64130         [non-C99-based standards] (exp2f): Likewise.
64131         [non-C99-based standards] (log2f): Likewise.
64132         [non-C99-based standards] (modff): Allow.
64133         [non-C99-based standards] (erff): Do not allow.
64134         [non-C99-based standards] (erfcf): Likewise.
64135         [non-C99-based standards] (gammaf): Likewise.
64136         [non-C99-based standards] (hypotf): Likewise.
64137         [non-C99-based standards] (j0f): Likewise.
64138         [non-C99-based standards] (j1f): Likewise.
64139         [non-C99-based standards] (jnf): Likewise.
64140         [non-C99-based standards] (lgammaf): Likewise.
64141         [non-C99-based standards] (tgammaf): Likewise.
64142         [non-C99-based standards] (y0f): Likewise.
64143         [non-C99-based standards] (y1f): Likewise.
64144         [non-C99-based standards] (ynf): Likewise.
64145         [non-C99-based standards] (isnanf): Likewise.
64146         [non-C99-based standards] (acoshf): Likewise.
64147         [non-C99-based standards] (asinhf): Likewise.
64148         [non-C99-based standards] (atanhf): Likewise.
64149         [non-C99-based standards] (cbrtf): Likewise.
64150         [non-C99-based standards] (expm1f): Likewise.
64151         [non-C99-based standards] (ilogbf): Likewise.
64152         [non-C99-based standards] (log1pf): Likewise.
64153         [non-C99-based standards] (logbf): Likewise.
64154         [non-C99-based standards] (nextafterf): Likewise.
64155         [non-C99-based standards] (remainderf): Likewise.
64156         [non-C99-based standards] (rintf): Likewise.
64157         [non-C99-based standards] (scalbf): Likewise.
64158         [non-C99-based standards] (copysignl): Likewise.
64159         [non-C99-based standards] (exp2l): Likewise.
64160         [non-C99-based standards] (log2l): Likewise.
64161         [non-C99-based standards] (modfl): Allow.
64162         [non-C99-based standards] (erfl): Do not allow.
64163         [non-C99-based standards] (erfcl): Likewise.
64164         [non-C99-based standards] (gammal): Likewise.
64165         [non-C99-based standards] (hypotl): Likewise.
64166         [non-C99-based standards] (j0l): Likewise.
64167         [non-C99-based standards] (j1l): Likewise.
64168         [non-C99-based standards] (jnl): Likewise.
64169         [non-C99-based standards] (lgammal): Likewise.
64170         [non-C99-based standards] (tgammal): Likewise.
64171         [non-C99-based standards] (y0l): Likewise.
64172         [non-C99-based standards] (y1l): Likewise.
64173         [non-C99-based standards] (ynl): Likewise.
64174         [non-C99-based standards] (isnanl): Likewise.
64175         [non-C99-based standards] (acoshl): Likewise.
64176         [non-C99-based standards] (asinhl): Likewise.
64177         [non-C99-based standards] (atanhl): Likewise.
64178         [non-C99-based standards] (cbrtl): Likewise.
64179         [non-C99-based standards] (expm1l): Likewise.
64180         [non-C99-based standards] (ilogbl): Likewise.
64181         [non-C99-based standards] (log1pl): Likewise.
64182         [non-C99-based standards] (logbl): Likewise.
64183         [non-C99-based standards] (nextafterl): Likewise.
64184         [non-C99-based standards] (remainderl): Likewise.
64185         [non-C99-based standards] (rintl): Likewise.
64186         [non-C99-based standards] (scalbl): Likewise.
64187         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64188         [non-C99-based standards] (FP_*): Do not allow.
64189         [C99-based standards] (FP_*): Change to
64190         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64191         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64192         allow.
64193         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64194         (SIG_ERR): Likewise.
64195         [X/Open-based standards] (SIG_HOLD): Likewise.
64196         (SIG_IGN): Likewise.
64197         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64198         positive value.
64199         (SIGFPE): Likewise.
64200         (SIGILL): Likewise.
64201         (SIGINT): Likewise.
64202         (SIGSEGV): Likewise.
64203         (SIGTER): Likewise.
64204         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64205         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64206         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64207         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64208         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64209         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64210         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64211         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64212         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64213         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64214         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64215         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64216         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64217         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64218         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64219         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64220         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64221         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64222         [X/Open-based standards] (SIGTRAP): Likewise.
64223         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64224         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64225         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64226         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64227         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64228         allow.
64230 2012-05-08  Ian Wienand  <ianw@vmware.com>
64232         [BZ #14080]
64233         * time/tzset.c (__tzset_parse_tz): Update default rules for
64234         daylight time changes in the Energy Policy Act of 2005.
64236 2012-05-09  Andreas Jaeger  <aj@suse.de>
64238         [BZ #13983]
64239         * elf/ldconfig.c (parse_conf): Change string to make clear that
64240         ldconfig only issued a warning if ld.so.conf does not exist.
64242 2012-05-08  David S. Miller  <davem@davemloft.net>
64244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64245         movxtod instead of popping the value on the stack.
64247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64249 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64251         * config.h.in: Add HAVE_ARM_PCS_VFP.
64253 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64255         [BZ #13979]
64256         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64257         checking but the checks are disabled for any reason.
64259 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64261         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64262         and ELF64_R_TYPE with ELFW(R_TYPE).
64264 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64266         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64267         (ulimit): Likewise.
64269         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64270         (settimeofday): Likewise.
64272 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64274         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64275         a struct th_u2 inside the union, and move tu_block/tu_code into
64276         a new th_u3 union of tu_block/tu_code inside of that.  Move
64277         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64278         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64279         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64280         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64281         (th_stuff): Change to th_u1.tu_stuff.
64282         (th_data): Define.
64283         (th_msg): Change to th_u1.th_u2.tu_data.
64285 2012-05-07  David S. Miller  <davem@davemloft.net>
64287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64289         [BZ #14074]
64290         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64291         (SETUP_PIC_REG): Use it.
64292         (SETUP_PIC_REG_LEAF): Use it.
64294 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64296         [BZ #13885]
64297         [BZ #13923]
64298         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64299         USE_AS_EXPM1L.
64300         (EXPL_FINITE): Likewise.
64301         (FLDLOG): Likewise.
64302         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64303         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64304         e_expl.S.
64305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64306         USE_AS_EXPM1L.
64307         (EXPL_FINITE): Likewise.
64308         (FLDLOG): Likewise.
64309         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64310         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64311         e_expl.S.
64312         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64313         test of -max_value argument for long double.
64314         * sysdeps/i386/fpu/libm-test-ulps: Update.
64315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64317 2012-05-06  David S. Miller  <davem@davemloft.net>
64319         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64320         quad soft-float symbols whose references which are compiler
64321         generated.
64322         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64324 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64326         [BZ #13884]
64327         [BZ #13914]
64328         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64329         USE_AS_EXP10L.
64330         (EXPL_FINITE): Likewise.
64331         (FLDLOG): Likewise.
64332         (c0): Likewise.
64333         (c1): Likewise.
64334         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64335         Adjust comments for base varying.
64336         (__expl_finite): Change alias to EXPL_FINITE.
64337         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64338         e_expl.S.
64339         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64340         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64341         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64342         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64343         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64344         USE_AS_EXP10L.
64345         (EXPL_FINITE): Likewise.
64346         (FLDLOG): Likewise.
64347         (c0): Likewise.
64348         (c1): Likewise.
64349         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64350         Adjust comments for base varying.
64351         (__expl_finite): Change alias to EXPL_FINITE.
64352         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64353         tests for bugs.
64354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64356         [BZ #14064]
64357         * math/libm-test.inc (check_float_internal): Correct ulp
64358         calculation for subnormal expected results.
64360 2012-05-06  Andreas Jaeger  <aj@suse.de>
64362         * Makeconfig (+math-flags): New, set to -frounding-math.
64363         (+cflags): Add +math-flags so that all of glibc gets compiled with
64364         it.
64366         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64368 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64370         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64371         Disable one test.
64373         [BZ #13787]
64374         [BZ #13922]
64375         [BZ #14036]
64376         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64377         (__ieee754_expl): Allow for and saturate large arguments.
64378         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64379         (u_threshold): Likewise.
64380         (__exp): Call __ieee754_exp before checking for overflow and
64381         underflow.
64382         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64383         (u_threshold): Likewise.
64384         (__expf): Call __ieee754_expf before checking for overflow and
64385         underflow.
64386         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64387         (u_threshold): Likewise.
64388         (__expl): Call __ieee754_expl before checking for overflow and
64389         underflow.
64390         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64391         (__ieee754_expl): Allow for and saturate large arguments.
64392         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64393         missing overflow exception on overflow.
64394         (expm1_test): Do not allow missing overflow exception on overflow.
64396         * sysdeps/i386/fpu/e_expl.c: Move to ...
64397         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64398         rather than using inline asm.
64399         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64400         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64401         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64403         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64404         (nice): Likewise.
64405         (poll): Likewise.
64406         (signal): Likewise.
64407         (time): Likewise.
64408         (times): Likewise.
64410 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64412         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64413         sysdeps/unix/common/syscalls.list.
64414         (fchmod): Likewise.
64415         (fchown): Likewise.
64416         (ftruncate): Likewise.
64417         (getrusage): Likewise.
64418         (gettimeofday): Likewise.
64419         (setpgid): Likewise.
64420         (setregid): Likewise.
64421         (setreuid): Likewise.
64422         (sigaction): Likewise.
64423         (truncate): Likewise.
64424         (vhangup): Likewise.
64425         * sysdeps/unix/common/syscalls.list: Remove file.
64426         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64427         * sysdeps/unix/sysv/linux/Implies: Likewise.
64429 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64431         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64433         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64434         Moved to ...
64435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64436         Here.
64437         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64438         to ...
64439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64440         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64441         to ...
64442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64443         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64444         to ...
64445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64446         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64447         to ...
64448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64449         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64450         to ...
64451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64452         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64453         to ...
64454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64455         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64456         to ...
64457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64458         Here.
64459         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64460         to ...
64461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64462         Here.
64463         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64464         to ...
64465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64466         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64467         Moved to ...
64468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64469         Here.
64470         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64471         to ...
64472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64474 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64476         * sysdeps/unix/common/bits/dirent.h: Remove file.
64477         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64479         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64480         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64481         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64482         * sysdeps/unix/bsd/isatty.c: Likewise.
64483         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64484         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64485         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64487 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64489         [BZ #13563]
64490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64491         long double comparison inaccuracies.
64492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64495 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64497         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64498         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64502         [BZ #14049]
64503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64504         nonzero digits before rounding a hex value.
64505         * stdlib/tst-strtod.c (tests): Add another test.
64507 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64509         * sysdeps/s390/fpu/libm-test-ulps: Update.
64511 2012-05-03  Andreas Jaeger  <aj@suse.de>
64513         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64514         does not get optimized out.
64515         (malloc_opt_barrier): New.
64517 2012-05-03  Andreas Jaeger  <aj@suse.de>
64518             Roland McGrath  <roland@hack.frob.com>
64520         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64521         intermediate file deletion.
64522         (generated): Add .symlist files.
64524 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64526         [BZ #13775]
64527         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64528         Redirect under this condition.
64529         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64530         [__USE_GNU] (__dprintf_chk): Not under this condition.
64531         [__USE_GNU] (__vdprintf_chk): Likewise.
64532         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64533         under this condition.
64534         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64535         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64536         [__USE_XOPEN2K8] (vdprintf): Likewise.
64537         [__USE_GNU] (__dprintf_chk): Not under this condition.
64538         [__USE_GNU] (__vdprintf_chk): Likewise.
64539         [__USE_GNU] (dprintf): Likewise.
64540         [__USE_GNU] (vdprintf): Likewise.
64542 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64544         * elf/Makefile (common-generated): Set this instead of generated for
64545         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64546         $(all-built-dso)-derived lists.
64548 2012-05-03  Andreas Jaeger  <aj@suse.de>
64550         * sysdeps/i386/fpu/libm-test-ulps: Update.
64552         * FAQ: Removed.
64553         * FAQ.in: Likewise.
64554         * scripts/gen-FAQ.pl: Likewise.
64555         * manual/install.texi (Installation): Point to online location of
64556         FAQ.
64557         * Makefile (files-for-dist): Remove FAQ.
64558         (FAQ): Remove.
64560 2012-05-02  Allan McRae  <allan@archlinux.org>
64562         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64563         (LDFLAGS-reldepmod5.so): Likewise.
64564         (LDFLAGS-reldep6mod1.so): Likewise.
64565         (LDFLAGS-reldep6mod4.so): Likewise.
64566         (LDFLAGS-reldep8mod3.so): Likewise.
64567         (LDFLAGS-unload4mod1.so): Likewise.
64568         (LDFLAGS-unload4mod2.so): Likewise.
64569         (LDFLAGS-tst-initorder): Likewise.
64570         (LDFLAGS-tst-initordera2.so): Likewise.
64571         (LDFLAGS-tst-initordera3.so): Likewise.
64572         (LDFLAGS-tst-initordera4.so): Likewise.
64573         (LDFLAGS-tst-initorderb2.so): Likewise.
64574         (LDFLAGS-noload): Likewise.
64575         (LDFLAGS-next): Likewise.
64576         (LDFLAGS-order2mod1.so): Likewise.
64577         (LDFLAGS-order2mod2.so): Likewise.
64578         (LDFLAGS-tst-initorder2): Likewise.
64579         (LDFLAGS-tst-initorder2a.so): Likewise.
64580         (LDFLAGS-tst-initorder2b.so): Likewise.
64581         (LDFLAGS-tst-initorder2c.so): Likewise.
64582         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64584 2012-05-02  David S. Miller  <davem@davemloft.net>
64586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64588 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64590         [BZ #14055]
64591         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64593 2012-05-02  Andreas Jaeger  <aj@suse.de>
64595         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64596         since we manipulate rounding mode.
64597         (CPPFLAGS-test-idouble.c): Likewise.
64598         (CPPFLAGS-test-ifloat.c): Likewise.
64599         (CFLAGS-test-ldouble.c): Likewise.
64600         (CFLAGS-test-double.c): Likewise.
64601         (CFLAGS-test-float.c): Likewise.
64602         (CFLAGS-test-misc.c): Likewise.
64603         (CFLAGS-test-test-fenv.c): Likewise.
64605 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64607         [BZ #2550]
64608         [BZ #2570]
64609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64610         comparisons to determine direction to adjust input.
64612 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64614         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64615         output to the target.
64617         * scripts/localplt.awk: New file.
64618         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64619         (check-localplt-CFLAGS): Variable removed.
64620         ($(all-built-dso:=.jmprel)): New static pattern rule.
64621         (generated): Add those targets.
64622         (localplt-built-dso): New variable.
64623         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64625         * elf/check-localplt.c: File removed.
64627         * scripts/check-execstack.awk: New file.
64628         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64629         (check-execstack-CFLAGS): Variable removed.
64630         ($(objpfx)check-execstack.h): Target removed.
64631         ($(objpfx)execstack-default): New target.
64632         (generated): Add that instead of check-execstack.h.
64633         ($(all-built-dso:=.phdr)): New static pattern rule.
64634         (generated): Add those targets.
64635         * elf/check-execstack.c: File removed.
64637         * scripts/check-textrel.awk: New file.
64638         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64639         (check-textrel-CFLAGS): Variable removed.
64640         (all-built-dso): Use := to define.o
64641         ($(all-built-dso:=.dyn)): New static pattern rule.
64642         (generated): Add those targets.
64643         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64644         * config.make.in (READELF): New substituted variable.
64645         * elf/check-textrel.c: File removed.
64647 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64649         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64650         allow.
64651         * conform/data/ctype.h-data [C99-based standards] (isblank):
64652         Expect function.
64653         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64654         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64656         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64657         Specify type.  Require positive value.
64658         (EILSEQ): Likewise.
64659         (ERANGE): Likewise.
64660         [ISO || POSIX] (EILSEQ): Do not expect.
64661         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64662         Specify type.  Require positive value.
64663         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64664         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64665         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64666         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64667         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64668         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64669         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64670         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64671         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64672         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64673         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64674         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64675         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64676         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64677         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64678         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64679         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64680         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64681         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64682         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64683         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64684         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64685         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64686         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64687         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64688         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64689         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64690         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64691         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64692         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64693         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64694         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64695         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64696         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64697         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64698         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64699         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64700         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64701         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64702         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64703         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64704         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64705         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64706         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64707         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64708         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64709         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64710         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64711         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64712         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64713         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64714         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64715         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64716         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64717         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64718         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64719         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64720         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64721         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64722         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64723         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64724         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64725         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64726         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64727         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64728         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64729         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64730         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64731         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64732         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64733         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64734         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64735         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64736         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64737         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64738         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64739         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64740         Require >= 2.
64741         (FLT_ROUNDS): Expect as macro, not constant.
64742         (FLT_MANT_DIG): Use macro-int-constant.
64743         (DBL_MANT_DIG): Likewise.
64744         (LDBL_MANT_DIG): Likewise.
64745         (FLT_DIG): Likewise.
64746         (DBL_DIG): Likewise.
64747         (LDBL_DIG): Likewise.
64748         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64749         (DBL_MIN_EXP): Likewise.
64750         (LDBL_MIN_EXP): Likewise.
64751         (FLT_MAX_EXP): Use macro-int-constant.
64752         (DBL_MAX_EXP): Likewise.
64753         (LDBL_MAX_EXP): Likewise.
64754         (FLT_MAX_10_EXP): Likewise.
64755         (DBL_MAX_10_EXP): Likewise.
64756         (LDBL_MAX_10_EXP): Likewise.
64757         (FLT_MAX): Use macro-constant.
64758         (DBL_MAX): Likewise.
64759         (LDBL_MAX): Likewise.
64760         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64761         (DBL_EPSILON): Likewise.
64762         (LDBL_EPSILON): Likewise.
64763         (FLT_MIN): Likewise.
64764         (DBL_MIN): Likewise.
64765         (LDBL_MIN): Likewise.
64766         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64767         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64768         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64769         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64770         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64771         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64772         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64773         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64774         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64775         [ISO11] (FLT_TRUE_MIN): Likewise.
64776         [ISO11] (LDBL_TRUE_MIN): Likewise.
64777         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64778         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64779         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64780         (SCHAR_MAX): Likewise.
64781         (UCHAR_MAX): Likewise.
64782         (CHAR_MIN): Likewise.
64783         (CHAR_MAX): Likewise.
64784         (MB_LEN_MAX): Use macro-int-constant.
64785         (SHRT_MIN): Use macro-int-constant.  Specify type.
64786         (SHRT_MAX): Likewise.
64787         (USHRT_MAX): Likewise.
64788         (INT_MAX): Likewise.
64789         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64790         bound negative.
64791         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64792         bound with "U".
64793         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64794         bound with "L".
64795         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64796         bound negative.  Suffix upper bound with "L".
64797         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64798         bound with "UL".
64799         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64800         Specify type.
64801         [C99-based standards] (LLONG_MAX): Likewise.
64802         [C99-based standards] (ULLONG_MAX): Likewise.
64803         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64804         == 0.
64805         [ISO11] (max_align_t): Require type.
64806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64808         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64809         from $CFLAGS, without defining away __attribute__ calls.
64810         (checknamespace): Use $CFLAGS_namespace.
64812         * conform/conformtest.pl (@keywords): Only include C99 keywords
64813         for standards based on C99 or C11.
64815         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64816         Disable tests.
64817         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64818         UNIX98]: Likewise.
64820         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64821         usability of symbols in #if.
64823         * conform/conformtest.pl: If macro or constant types start
64824         "promoted:", expect the symbol to be of the following type
64825         promoted by the integer promotions.
64827         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64828         in one place.  Also handle "macro-constant".
64830         * conform/conformtest.pl: Only accept expected macro values with
64831         "==".  Parse all "macro" lines in one place.
64832         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64834         * conform/conformtest.pl: Handle braced types on "constant" lines
64835         instead of handling "typed-constant".
64836         * conform/data/signal.h-data: Use "constant" instead of
64837         "typed-constant".
64839         * conform/conformtest.pl: Handle "optional-" at start of lines in
64840         one place rather than duplicating several cases.  Handle each
64841         format of "macro" line with initial "optional-".
64843         * conform/conformtest.pl: Only accept expected constant or
64844         optional-constant values with "==".  Parse all "constant" lines in
64845         one place.  Parse all "optional-constant" lines in one place.
64846         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64847         * conform/data/fmtmsg.h-data: Likewise.
64848         * conform/data/netinet/in.h-data: Likewise.
64849         * conform/data/tar.h-data: Likewise.
64850         * conform/data/limits.h-data: Use "==" form on "constant" and
64851         "optional-constant" lines.
64853         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64854         Use -std=c99 for XOPEN2K.
64855         (@knownproblems): Remove.
64856         (newtoken): Don't check %isknown.
64858         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64859         Do not expect macro.
64860         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64861         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64862         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64863         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64864         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64865         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64866         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64867         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64868         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64869         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64870         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64871         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64872         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64873         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64874         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64875         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64876         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64877         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64878         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64879         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64880         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64881         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64882         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64883         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64884         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64885         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64886         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64887         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64888         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64889         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64890         [XPG3] (acosh): Likewise.
64891         [XPG3] (asinh): Likewise.
64892         [XPG3] (atanh): Likewise.
64893         [XPG3] (cbrt): Likewise.
64894         [XPG3] (expm1): Likewise.
64895         [XPG3] (ilogb): Likewise.
64896         [XPG3] (log1p): Likewise.
64897         [XPG3] (logb): Likewise.
64898         [XPG3] (nextafter): Likewise.
64899         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64900         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64901         [XPG3] (remainder): Likewise.
64902         [XPG3] (rint): Likewise.
64903         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64904         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64905         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64906         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64907         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64908         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64909         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64910         [UNIX98 || XOPEN2K] (scalb): Expect.
64911         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64912         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64913         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64914         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64915         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64916         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64917         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64918         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64919         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64920         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64921         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64922         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64923         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64924         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64925         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64926         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64927         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64928         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64929         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64930         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64931         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64932         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64933         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64934         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64935         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64936         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64937         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64938         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64939         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64940         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64941         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64942         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64943         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64944         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64945         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64946         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64947         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64948         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64949         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64950         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64951         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64952         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64953         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64954         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64955         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64956         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64957         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64958         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64959         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64960         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64961         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64962         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64963         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64964         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64965         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64966         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64967         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64968         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64969         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64970         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64971         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64972         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64973         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64974         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64975         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64976         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64977         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64978         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64979         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64980         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64981         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64982         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64983         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64984         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64985         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64986         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64987         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64988         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64989         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64990         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64991         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64992         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64993         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64994         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64995         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64996         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64997         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64998         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64999         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65000         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65001         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65002         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65003         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65004         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65005         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65006         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65007         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65008         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65009         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65010         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65011         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65012         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65013         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65014         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65015         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65016         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65017         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65018         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65019         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65020         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65021         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65022         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65023         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65024         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65025         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65026         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65027         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65028         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65029         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65030         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65031         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65032         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65033         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65034         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65035         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65036         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65037         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65038         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65039         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65040         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65041         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65042         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65043         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65044         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65045         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65046         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65047         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65049         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65050         _XOPEN_SOURCE_EXTENDED for XPG4.
65052         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65054         * Makeconfig (localtime): Remove variable.
65055         (inst_localtime-file): Likewise.
65057 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65060         Update.
65061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65062         Update.
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65064         Update.
65065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65066         Update.
65067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65068         Update.
65069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65070         Update.
65071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65072         Update.
65073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65074         Update.
65075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65076         Update.
65078 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65080         [BZ #2550]
65081         [BZ #2570]
65082         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65083         comparisons to determine direction to adjust input.
65084         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65085         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65086         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65087         Likewise.
65088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65089         Likewise.
65090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65091         Likewise.
65092         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65093         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65094         Likewise.
65095         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65096         Likewise.
65097         * math/libm-test.inc (nexttoward_test): Add more tests.
65099 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65101         [BZ #14040]
65102         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65103         in version GLIBC_2.1, not GLIBC_2.0.
65104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65105         Likewise.
65107 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65109         [BZ #13942]
65110         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65111         (1 - x) * (1 + x).
65112         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65113         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65114         * math/libm-test.inc (acos_test): Add more tests.
65115         (asin_test): Likewise.
65116         * sysdeps/i386/fpu/libm-test-ulps: Update.
65117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65119         [BZ #14034]
65120         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65121         of square root.
65122         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65123         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65124         * math/libm-test.inc (acos_test_tonearest): New function.
65125         (acos_test_towardzero): Likewise.
65126         (acos_test_downward): Likewise.
65127         (acos_test_upward): Likewise.
65128         (asin_test_tonearest): Likewise.
65129         (asin_test_towardzero): Likewise.
65130         (asin_test_downward): Likewise.
65131         (asin_test_upward): Likewise.
65132         (main): Call the new functions.
65133         * sysdeps/i386/fpu/libm-test-ulps: Update.
65134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65136         [BZ #13884]
65137         [BZ #13924]
65138         * math/e_exp10.c: Include <float.h>.
65139         (__ieee754_exp10): Handle underflow here rather than multiplying
65140         large negative argument by M_LN10.
65141         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65142         of __ieee754_expf.
65143         * math/e_exp10l.c: Include <float.h>.
65144         (__ieee754_exp10l): Handle underflow here rather than multiplying
65145         large negative argument by M_LN10l.
65146         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65147         spurious overflow exception on underflow.
65149 2012-04-29  Marek Polacek  <polacek@redhat.com>
65151         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65152         (__fortify_function): New macro.
65153         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65154         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65155         __extern_always_inline.
65156         * libio/bits/stdio2.h: Likewise.
65157         * libio/bits/stdio.h: Likewise.
65158         * string/string.h: Likewise.
65159         * string/bits/string3.h: Likewise.
65160         * include/stdio.h: Likewise.
65161         * stdlib/bits/stdlib.h: Likewise.
65162         * stdlib/stdlib.h: Likewise.
65163         * rt/bits/mqueue2.h: Likewise.
65164         * rt/mqueue.h: Likewise.
65165         * posix/bits/unistd.h: Likewise.
65166         * posix/unistd.h: Likewise.
65167         * io/bits/poll2.h: Likewise.
65168         * io/bits/fcntl2.h: Likewise.
65169         * io/fcntl.h: Likewise.
65170         * io/sys/poll.h: Likewise.
65171         * misc/bits/syslog.h: Likewise.
65172         * misc/bits/syslog-ldbl.h: Likewise.
65173         * misc/sys/syslog.h: Likewise.
65174         * socket/bits/socket2.h: Likewise.
65175         * socket/sys/socket.h: Likewise.
65176         * debug/tst-chk1.c: Likewise.
65177         * wcsmbs/bits/wchar2.h: Likewise.
65178         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65179         * wcsmbs/wchar.h: Likewise.
65181 2012-04-29  Andreas Jaeger  <aj@suse.de>
65183         * Makerules (tests): Remove enable-check-abi protection.
65184         (check-abi-warn): Remove.
65185         (check-abi-%): Remove check-abi-warn usage.
65187         * configure.in: Remove check-abi configure option.
65188         * configure: Regenerated.
65189         * config.make.in (enable-check-abi): Remove.
65191 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65193         [BZ #14033]
65194         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65195         double functions to double *_finite functions.
65197         [BZ #13941]
65198         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65199         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65200         LDBL_MIN_EXP.
65201         * stdio-common/Makefile (tests): Add tst-sprintf3.
65202         * stdio-common/tst-sprintf3.c: New file.
65204         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65205         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65207 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65209         * conform/conformtest.pl: Remove duplicate typed-constant
65210         handling.
65212 2012-04-28  David S. Miller  <davem@davemloft.net>
65214         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65215         (check-abi-%): Remove AWK script prerequisite and explicit
65216         abilist directory.
65217         (check-abi): Rewrite to just diff the symlist with the abilist.
65218         (config-tls, config-abi-config): Delete, no longer used.
65219         (update-abi-%): Remove AWK script and explicit abilist directory.
65220         (update-abi): Rewrite to simply compare and conditionally copy the
65221         symlist and the sysdep abilist file.  Remove update-abi-config
65222         checks.
65223         * abilist/ld.abilist: Remove.
65224         * abilist/libBrokenLocale.abilist: Remove.
65225         * abilist/libanl.abilist: Remove.
65226         * abilist/libcrypt.abilist: Remove.
65227         * abilist/libdl.abilist: Remove.
65228         * abilist/librt.abilist: Remove.
65229         * abilist/libthread_db.abilist: Remove.
65230         * abilist/libutil.abilist: Remove.
65231         * scripts/extract-abilist.awk: Remove.
65232         * scripts/merge-abilist.awk: Remove.
65233         * sysdeps/generic/libcidn.abilist: New file.
65234         * sysdeps/generic/libnss_compat.abilist: New file.
65235         * sysdeps/generic/libnss_db.abilist: New file.
65236         * sysdeps/generic/libnss_dns.abilist: New file.
65237         * sysdeps/generic/libnss_files.abilist: New file.
65238         * sysdeps/generic/libnss_hesiod.abilist: New file.
65239         * sysdeps/generic/libnss_nis.abilist: New file.
65240         * sysdeps/generic/libnss_nisplus.abilist: New file.
65241         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65242         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65243         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65244         file.
65245         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65246         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65247         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65248         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65249         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65250         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65251         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65252         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65253         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65254         file.
65255         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65256         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65257         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65258         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65259         file.
65260         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65261         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65262         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65263         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65264         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65265         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65266         file.
65267         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65268         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65269         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65270         file.
65271         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65273         New file.
65274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65275         New file.
65276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65277         New file.
65278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65279         New file.
65280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65281         New file.
65282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65283         New file.
65284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65285         New file.
65286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65287         New file.
65288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65289         New file.
65290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65291         New file.
65292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65293         New file.
65294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65295         New file.
65296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65297         New file.
65298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65299         file.
65300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65301         New file.
65302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65303         New file.
65304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65305         file.
65306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65307         New file.
65308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65309         New file.
65310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65311         file.
65312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65313         New file.
65314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65315         New file.
65316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65317         New file.
65318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65319         New file.
65320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65321         New file.
65322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65323         New file.
65324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65326         file.
65327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65328         New file.
65329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65330         file.
65331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65332         file.
65333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65334         file.
65335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65336         file.
65337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65338         file.
65339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65340         New file.
65341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65342         file.
65343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65344         file.
65345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65346         New file.
65347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65348         file.
65349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65351         file.
65352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65353         New file.
65354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65355         file.
65356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65357         file.
65358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65359         file.
65360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65361         file.
65362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65363         file.
65364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65365         New file.
65366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65367         file.
65368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65369         file.
65370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65371         New file.
65372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65373         file.
65374         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65375         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65376         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65377         file.
65378         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65379         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65380         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65381         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65382         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65383         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65384         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65385         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65386         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65387         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65390         file.
65391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65392         New file.
65393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65394         file.
65395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65396         file.
65397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65398         file.
65399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65400         file.
65401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65402         file.
65403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65404         New file.
65405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65406         New file.
65407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65408         file.
65409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65410         New file.
65411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65412         file.
65413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65415         file.
65416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65417         New file.
65418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65419         file.
65420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65421         file.
65422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65423         file.
65424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65425         file.
65426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65427         file.
65428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65429         New file.
65430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65431         New file.
65432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65433         file.
65434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65435         New file.
65436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65437         file.
65439 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65441         * conform/conformtest.pl: Fix typo in handling typed-constant from
65442         allow-header.
65444 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65446         * README: Cut down references to pre-2.6 Linux kernels and
65447         Linuxthreads.  Update lists of configurations in libc and ports
65448         and sort alphabetically.  Say "or newer" with Linux kernel version
65449         requirements.
65451         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65453 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65455         [BZ #887]
65456         * math/libm-test.inc (logb_test_downward): New test to expose
65457         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65458         rounding mode.
65460 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65462         [BZ #14027]
65463         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65464         to be done.
65465         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65466         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65468 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65470         * sysdeps/unix/i386/brk.S: Remove file.
65471         * sysdeps/unix/i386/dl-brk.S: Likewise.
65472         * sysdeps/unix/i386/pipe.S: Likewise.
65473         * sysdeps/unix/i386/sigreturn.S: Likewise.
65474         * sysdeps/unix/i386/syscall.S: Likewise.
65475         * sysdeps/unix/i386/vfork.S: Likewise.
65476         * sysdeps/unix/i386/wait.S: Likewise.
65478         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65479         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65481         * configure.in (arm*-none*): Do not allow without
65482         --enable-hacker-mode.
65483         (netbsd*): Remove case setting base_os.
65484         (386bsd*): Likewise.
65485         (freebsd*): Likewise.
65486         (bsdi*): Likewise.
65487         (osf*): Likewise.
65488         (sunos*): Likewise.
65489         (ultrix*): Likewise.
65490         (newsos*): Likewise.
65491         (dynix*): Likewise.
65492         (*bsd*): Likewise.
65493         (sysv*): Likewise.
65494         (isc*): Likewise.
65495         (esix*): Likewise.
65496         (sco*): Likewise.
65497         (minix*): Likewise.
65498         (irix4*): Likewise.
65499         (irix6*): Likewise.
65500         (solaris[2-9]*): Likewise.
65501         (none): Likewise.
65502         * configure: Regenerated.
65504 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65506         [BZ #11521]
65507         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65508         overflow or cancellation in calculating denominator.
65509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65510         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65511         down expression to avoid unexpected rounding in newer GCCs.
65512         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65514 2012-04-26  David S. Miller  <davem@davemloft.net>
65516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65517         long-double compat symbols.
65518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65532 2012-04-25  David S. Miller  <davem@davemloft.net>
65534         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65535         HWCAP_* values only after the memory barriers have been defined.
65536         (atomic_full_barrier): Define.
65537         (atomic_read_barrier): Define.
65538         (atomic_write_barrier): Define.
65540 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65542         * shlib-versions: Add libgcc_s version information.
65543         * sysdeps/generic/libgcc_s.h: Remove.
65544         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65545         libgcc_s.h.
65546         * sysdeps/gnu/unwind-resume.c: Likewise.
65547         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65549 2012-04-25  David S. Miller  <davem@davemloft.net>
65551         * sysdeps/unix/sparc/brk.S: Delete.
65552         * sysdeps/unix/sparc/dl-brk.S: Delete.
65553         * sysdeps/unix/sparc/pipe.S: Delete.
65554         * sysdeps/unix/sparc/sysdep.S: Delete.
65555         * sysdeps/unix/sparc/sysdep.h: Delete.
65556         * sysdeps/unix/sparc/vfork.S: Delete.
65557         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65558         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65559         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65560         (ret_ERRVAL, r0, r1, MOVE): Define.
65561         (JUMPTARGET): Remove.
65562         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65563         sysdeps/unix/sparc/sysdep.h
65564         (ENTRY, END): Remove.
65565         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65567 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65569         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65570         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65571         -DIS_IN_build.
65573         * timezone/README: Update upstream location and email address for
65574         tzcode and tzdata.
65575         * timezone/zdump.c: Update from tzcode 2012b.
65576         * timezone/zic.c: Likewise.
65578         * configure.in (libc_cv_as_needed): Remove test.
65579         * configure: Regenerated.
65580         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65581         conditional definition.
65582         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65583         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65584         * config.make.in (have-as-needed): Remove variable.
65586 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65587             Paul Pluzhnikov  <ppluzhnikov@google.com>
65589         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65590         strings correctly.
65592 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65594         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65595         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65596         * sysdeps/sh/strlen.S: Likewise.
65598 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65600         * sysdeps/unix/fork.S: Remove file.
65601         * sysdeps/unix/i386/fork.S: Likewise.
65602         * sysdeps/unix/sparc/fork.S: Likewise.
65604         * sysdeps/unix/system.c: Remove file.
65605         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65607         * sysdeps/unix/getegid.S: Remove file.
65608         * sysdeps/unix/geteuid.S: Likewise.
65610 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65612         * scripts/check-localplt.awk: New file.
65613         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65614         of diff.
65615         * scripts/data/localplt-generic.data: Add a comment.
65617         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65618         NODE when __dir_mkfile failed.
65619         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65620         Reported by Ludovic Courtès <ludo@gnu.org>.
65622 2012-04-24  Andreas Jaeger  <aj@suse.de>
65624         * Makerules (common-clean): Also remove gen-as-const-headers
65625         files.
65627 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65629         * Makerules (native-compile): Do not change working directory for
65630         build.  Use $(OUTPUT_OPTION) in command.
65631         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65633 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65635         [BZ #13886]
65636         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65637         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65638         * math/libm-test.inc (floor_test): Add more tests.
65639         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65641 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65643         * sysdeps/unix/getdents.c: Remove file.
65644         * sysdeps/unix/sysv/getdents.c: Likewise.
65645         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65647         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65648         sysdeps/unix/mman/syscalls.list.
65649         (mmap): Likewise.
65650         (mprotect): Likewise.
65651         (msync): Likewise.
65652         (munmap): Likewise.
65653         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65654         * sysdeps/unix/mman/syscalls.list: Remove.
65655         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65657         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65658         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65659         * configure: Regenerated.
65660         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65661         $(libgcc_s_suffix).
65662         * config.make.in (libgcc_s_suffix): Remove variable.
65664 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65666         * sysdeps/unix/sysv/gethostname.c: Move to ...
65667         * sysdeps/posix/gethostname.c: ... here.
65669         * sysdeps/unix/execve.S: Remove file.
65671         * sysdeps/unix/_exit.S: Remove file.
65673 2012-04-23  Andreas Jaeger  <aj@suse.de>
65675         [BZ #13739]
65676         * manual/Makefile: Remove make dist support, there's no
65677         need for a stand-alone documentation tar ball.
65678         (TEXI2DVI): Define always, it's not in Makeconfig.
65679         (dist): Removed.
65680         (tar-it): Removed.
65681         (edition): Removed.
65682         (glibc-doc-$(edition).tar): Removed
65683         (%.Z): Removed.
65684         (%.gz): Removed.
65685         (%.uu): Removed.
65686         (ETAGS): Remove, it's in Makeconfig.
65687         (move-if-change): Remove, it's in Makeconfig.
65689 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65691         [BZ #13970]
65692         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65693         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65694         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65695         (strtod_l, strtof_l, strtold_l): Remove __wur.
65696         It is not necessarily an error to ignore strtol's return value.
65697         One can reliably look at the stored endptr to decide whether
65698         the number had valid syntax.
65700 2012-04-21  Andreas Jaeger  <aj@suse.de>
65702         [BZ #13739]
65703         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65705 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65707         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65708         * sysdeps/unix/sysv/Versions: Remove file.
65710 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65712         [BZ #13927]
65713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65715 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65717         [BZ #7064]
65718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65719         version from __vm86.
65721 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65723         * sysdeps/unix/common/lxstat.c: Remove file.
65724         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65726         * sysdeps/unix/sysv/Makefile: Remove file.
65728         * sysdeps/unix/sysv/direct.h: Remove file.
65730         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65731         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65732         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65733         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65734         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65735         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65736         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65738         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65740         * sysdeps/unix/xmknod.c: Remove file.
65741         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65743         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65745         * sysdeps/unix/sysv/i386/time.S: Remove file.
65747         * sysdeps/unix/fxstat.c: Remove file.
65748         * sysdeps/unix/xstat.c: Likewise.
65749         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65751         * sysdeps/unix/sysv/sigaction.c: Remove file.
65753         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65754         (sysdep_headers): Remove variable.
65755         [termio.h not in sysdep_headers] (generated): Likewise.
65756         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65757         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65758         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65759         * sysdeps/unix/sysv/tcflow.c: Likewise.
65760         * sysdeps/unix/sysv/tcflush.c: Likewise.
65761         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65762         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65763         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65764         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65765         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65767         * sysdeps/unix/siglist.c: Remove file.
65769         * sysdeps/unix/getppid.S: Remove file.
65771         * sysdeps/unix/mkdir.c: Remove file.
65772         * sysdeps/unix/rmdir.c: Likewise.
65774 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65776         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65777         ERR_MAX value.
65778         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65779         errlist-compat value.
65781 2012-04-18  David S. Miller  <davem@davemloft.net>
65783         * sysdeps/generic/memcopy.h (reg_char): Delete.
65784         * debug/strcat_chk.c: Use char, not reg_char.
65785         * debug/strcpy_chk.c: Likewise.
65786         * debug/strncat_chk.c: Likewise.
65787         * debug/strncpy_chk.c: Likewise.
65788         * string/memchr.c: Likewise.
65789         * string/memrchr.c: Likewise.
65790         * string/rawmemchr.c: Likewise.
65791         * string/strcat.c: Likewise.
65792         * string/strchr.c: Likewise.
65793         * string/strchrnul.c: Likewise.
65794         * string/strcmp.c: Likewise.
65795         * string/strcpy.c: Likewise.
65796         * string/strncat.c: Likewise.
65797         * string/strncmp.c: Likewise.
65798         * string/strncpy.c: Likewise.
65800 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65802         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65803         __builtin_memcopy is called when src and dest ranges are known to not
65804         overlap.
65806 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65808         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65809         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65810         fwd_align_merge macro call.
65811         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65812         bwd_align_merge macro call.
65813         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65815 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65818         bwd_align_merge macros.
65819         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65820         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65821         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65823 2012-04-18  David S. Miller  <davem@davemloft.net>
65825         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65827 2012-04-18  Andreas Jaeger  <aj@suse.de>
65829         [BZ# 6794]
65830         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65831         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65832         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65834         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65835         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65836         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65838         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65839         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65840         Adjust for changed ldbl-128 files.
65842         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65843         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65844         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65846 2012-04-17  David S. Miller  <davem@davemloft.net>
65848         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65850 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65852         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65853         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65854         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65855         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65856         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65857         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65859 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65861         [BZ #6794]
65862         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65863         * math/libm-test.inc: Add ilogb errno and exception tests.
65864         * math/w_ilogb.c: New file: ilogb wrapper.
65865         * math/w_ilogbf.c: New file: ilogbf wrapper.
65866         * math/w_ilogbl.c: New file: ilogbl wrapper.
65867         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65868         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65869         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65870         exception being thrown with 0.0 as argument.
65871         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65872         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65873         exception being thrown with 0.0 as argument.
65874         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65875         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65876         exception being thrown with 0.0 as argument.
65877         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65878         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65879         exception being thrown with 0.0 as argument.
65880         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65881         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65882         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65883         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65884         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65885         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65886         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65887         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65888         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65890 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65892         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65893         with altivec.
65895 2012-04-16  Marek Polacek  <polacek@redhat.com>
65897         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65899 2012-04-16  Marek Polacek  <polacek@redhat.com>
65901         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65902         operands of fdivp instruction.
65904 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65906         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65907         * elf/tst-auditmod3b.c: Likewise.
65908         * elf/tst-auditmod4b.c: Likewise.
65909         * elf/tst-auditmod5b.c: Likewise.
65910         * elf/tst-auditmod6b.c: Likewise.
65911         * elf/tst-auditmod6c.c: Likewise.
65912         * elf/tst-auditmod7b.c: Likewise.
65913         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65914         * sysdeps/x86_64/preconfigure.in: Likewise.
65915         * sysdeps/x86_64/preconfigure: Regenerated.
65917 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65919         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65920         __ILP32__.
65922 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65924         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65925         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65927 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65929         [BZ #13973]
65930         * locale/iso-639.def: Fix gl language name. Spotted by
65931         Yaron Shahrabani.
65933 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65935         [BZ #2074]
65936         * libio/libio.h (__io_write_fn): Update comment.
65938 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65940         [BZ #2074]
65941         * stdio.texi (Hook Functions): The user provided writer function
65942         is not allowed to return -1.
65944 2012-04-11  David S. Miller  <davem@davemloft.net>
65946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65948 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65950         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65951         Add a leading slash to rtkaio.
65953 2012-04-11  Jim Meyering  <meyering@redhat.com>
65955         [BZ #11959]
65956         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65957         It is not necessarily an error to ignore fwrite's return
65958         value.  One can reliably use ferror to test for errors after
65959         the fact.
65961 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65963         * bits/types.h (__snseconds_t): New type.
65964         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65966         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65967         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65968         (__SNSECONDS_T_TYPE): Likewise.
65969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65970         (__SNSECONDS_T_TYPE): Likewise.
65971         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65972         (__SNSECONDS_T_TYPE): Likewise.
65974 2012-04-10  Andreas Jaeger  <aj@suse.de>
65976         [BZ #2636]
65977         * manual/time.texi (Processor Time): Return type of times is
65978         elapsed real time since an arbitrary point in the past.
65979         (CPU Time): Move CLK_TCK from here...
65980         (Processor Time): ...to here.  Correct description.
65981         * manual/conf.texi (Constants for Sysconf): Correct description of
65982         _SC_CLK_TCK.
65984 2012-04-10  David S. Miller  <davem@davemloft.net>
65986         [BZ #13967]
65987         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65988         where the is a gap between DT_REL(A) and DT_JMPREL.
65990 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65992         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65993         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65994         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65996 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65998         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65999         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66000         (dl_main): Handle --inhibit-cache.
66001         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66002         _dl_inhibit_cache.
66003         * elf/dl-load.c (_dl_map_object): Use it.
66004         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66006 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66008         [BZ #13872]
66009         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66010         (__ieee754_powl): Saturate large exponents rather than testing for
66011         overflow of y*log2(x).
66012         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66013         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66014         exceptions.
66016         [BZ #11521]
66017         * math/s_ctan.c: Include <float.h>.
66018         (__ctan): Avoid internal overflow or cancellation in calculating
66019         denominator.
66020         * math/s_ctanf.c: Likewise.
66021         * math/s_ctanl.c: Likewise.
66022         * math/s_ctanh.c: Likewise.
66023         * math/s_ctanhf.c: Likewise.
66024         * math/s_ctanhl.c: Likewise.
66025         * math/libm-test.inc (ctan_test): Add more tests.
66026         (ctanh_test): Likewise.
66027         * sysdeps/i386/fpu/libm-test-ulps: Update.
66028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66030 2012-04-09  Andreas Jaeger  <aj@suse.de>
66032         [BZ #6894]
66033         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66034         is an optional BSD extension.
66036         [BZ #10254]
66037         * manual/stdio.texi (Opening Streams): Document additional fopen
66038         parameters.
66040 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66042         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66043         %eax without telling the compiler.
66045 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66047         [BZ # 13963]
66048         * manual/install.texi: Use sourceware.org.
66050 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66052         [BZ #13873]
66053         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66054         (__ieee754_pow): Generate overflow and underflow using huge*huge
66055         and tiny*tiny rather than just returning constant infinity or zero
66056         for large exponents.
66057         * math/libm-test.inc (pow_test): Require overflow exceptions for
66058         applicable cases of large exponents.
66060         [BZ #706]
66061         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66062         (__ieee754_pow): Use iterative multiplication algorithm only for
66063         integer exponents with absolute value below 1024.  Check for odd
66064         integer exponents when using algorithm for real exponents.
66065         * math/libm-test.inc (pow_test): Add more tests.
66066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66068 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66070         [BZ #13705]
66071         * math/libm-test.inc (exp_test): Do not allow overflow exception
66072         on underflow test.
66074 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66076         [BZ #13705]
66077         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66078         instead of __kernel_standard_f.
66080 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66082         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66083         * sysdeps/x86_64/memset_chk.S: Likewise.
66085 2012-04-08  Andreas Jaeger  <aj@suse.de>
66087         [BZ #10153]
66088         * manual/startup.texi (Environment Access): Describe return value
66089         for putenv and setenv.
66091         [BZ #6895]
66092         * manual/filesys.texi (Directory Entries): Add description for
66093         DT_LNK.
66095         [BZ #6890]
66096         * manual/filesys.texi (Directory Entries): Clarify that it's file
66097         system not operating system in the description of DT_UNKNOWN.
66099         [BZ #6578]
66100         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66102 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66104         [BZ #6649]
66105         * manual/llio.texi (Opening and Closing Files): Add cross
66106         reference to explain mode argument.
66108 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66110         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66111         * sysdeps/x86_64/memset_chk.S: Likewise.
66113 2012-04-07  David S. Miller  <davem@davemloft.net>
66115         * elf/elf.h (R_SPARC_WDISP10): Define.
66116         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66117         R_SPARC_SIZE32.
66118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66119         R_SPARC_SIZE64 and R_SPARC_H34.
66121 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66123         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66124         conditions and remove no longer applicable assertion.
66126 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66128         * bits/byteswap.h: Include <features.h>.
66129         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66130         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66132 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66134         * bits/byteswap.h (__bswap_16): Removed.
66135         Include <bits/byteswap-16.h> to get __bswap_16.
66136         * sysdeps/i386/bits/byteswap.h: Likewise.
66137         * sysdeps/s390/bits/byteswap.h: Likewise.
66138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66139         * bits/byteswap-16.h: New file.
66140         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66141         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66142         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66143         * string/Makefile (headers): Add bits/byteswap-16.h.
66145 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66147         [BZ #13895]
66148         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66149         extra indirection.
66150         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66151         * nss/tst-nss-static.c: New.
66153 2012-04-06  Robert Millan  <rmh@gnu.org>
66155         [BZ #6486]
66156         * manual/llio.texi (File Position Primitive): lseek
66157         refers to WHENCE when it really means OFFSET.
66159 2012-04-06  Andreas Jaeger  <aj@suse.de>
66161         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66162         strncmp declarations.
66164         * abilist/libc.abilist: Add __poll and __ppoll.
66166 2012-04-05  David S. Miller  <davem@davemloft.net>
66168         * scripts/check-local-headers.sh: Accept a host triplet in the
66169         path matched by the exclude regexp.
66171         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66172         definition.
66173         * sysdeps/powerpc/powerpc32/dl-machine.h
66174         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66175         * sysdeps/s390/s390-32/dl-machine.h
66176         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66177         * sysdeps/sparc/sparc32/dl-machine.h
66178         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66179         * sysdeps/sparc/sparc64/dl-machine.h
66180         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66182         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66183         lazy binding.
66184         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66185         undefined symbol errors.
66187         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66188         DT_NEEDED entries.
66190 2012-04-05  Michael Matz  <matz@suse.de>
66192         [BZ #13592]
66193         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66195 2012-04-05  Andreas Jaeger  <aj@suse.de>
66197         [BZ #13908]
66198         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66199         comment.
66201 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66203         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66204         which ROUND is no valid rounding mode.
66206 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66208         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66209         read again.
66210         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66212 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66214         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66215         an exception using FPU order intentionally.
66217 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66219         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66220         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66221         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66222         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66224 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66226         [BZ #12340]
66227         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66228         EINVAL when BUFLEN is too smal.
66230 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66232         [BZ #13553]
66233         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66234         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66236 2012-04-03  Andreas Jaeger  <aj@suse.de>
66238         [BZ #13938]
66239         * manual/setjmp.texi (System V contexts): Fix sentence.
66241         [BZ #13926]
66242         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66243         New macro for this case.
66244         [!__GNUC__] (__bswap_64): New inline function for this case.
66245         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66246         * bits/byteswap.h: Likewise.
66247         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66248         ull, guard with __GLIBC_HAVE_LONG_LONG.
66250         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66251         __GLIBC_HAVE_LONG_LONG.
66253         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66254         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66256 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66258         [BZ #13691]
66259         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66260         inptr and inend, rather than using last_ch.
66262 2012-04-02  David S. Miller  <davem@davemloft.net>
66264         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66265         * stdio-common/printf-parse.h (read_int): Change return type to
66266         'int', return -1 on INT_MAX overflow.
66267         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66268         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66269         overflows INT_MAX.  Check for overflow of in-format-string precision
66270         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66271         SIZE_MAX not INT_MAX for integer overflow test.
66272         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66273         skip the construct in the format string but do not record anything.
66274         * stdio-common/bug22.c: Adjust to test both width/prevision
66275         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66276         explicitly for proper errno values.
66278 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66280         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66281         CHAR_MAX.
66282         * string/test-strcmp.c [! WIDE]: Likewise.
66283         * time/tst-mktime2.c: Likewise for INT_MAX.
66284         * string/test-string.h: #include <sys/param.h> for MIN.
66286         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66287         * sysdeps/i386/init-first.c (init): Likewise.
66288         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66289         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66290         * sysdeps/sh/init-first.c (init): Likewise.
66292 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66294         * po/ru.po: Update from translation team.
66295         * po/vi.po: Likewise.
66297 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66299         * resolv/nss_dns/dns-host.c: Merge copyright years.
66301 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66303         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66304         Optimize memcpy with prefetch if
66305         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66306         src, dst pointers have unequal 16 byte alignments.
66308 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66310         [BZ #13928]
66311         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66312         from a CNAME entry and return the minimum ttl for the query.
66313         (gaih_getanswer_slice): Likewise.
66315 2012-03-30  Jeff Law  <law@redhat.com>
66317         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66318         due to long keys.
66319         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66320         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66322         * resolv/nss_dns/dns-host.c: Update copyright year.
66324 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66326         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66327         requests to save a system call.  Fix check that all bytes are sent.
66329         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66330         comments for sendmmsg.
66332 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66334         [BZ #13691]
66335         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66336         with only 1 character between 0x0041 and 0x01b0.
66337         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66338         * wcsmbs/tst-mbsnrtowcs.c: New file.
66340 2012-03-29  David S. Miller  <davem@davemloft.net>
66342         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66343         small copies by hand.
66345 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66347         [BZ #13761]
66348         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66349         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66350         group memberships.
66352 2012-03-28  David S. Miller  <davem@davemloft.net>
66354         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66355         that branches into memcpy.
66356         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66358         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66359         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66361         bits.
66362         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66363         implementation too.
66364         * sysdeps/sparc/mempcpy.S: New file.
66366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66367         the IFUNC routine in the libc case.
66368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66370         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66371         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66372         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66373         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66374         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66375         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66376         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66377         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66379         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66380         loop to 256 bytes instead of 64 bytes and fix test signedness.
66382         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66383         * sysdeps/sparc/sparc32/Makefile: rather than here...
66384         * sysdeps/sparc/sparc64/Makefile: and here.
66386 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66388         * malloc/mallocbug.c: Avoid warnings about unused variables.
66390 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66392         [BZ #13760]
66393         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66394         in the right place. Discard and retry query if response is
66395         larger than input buffer size.
66397 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66399         [BZ #369]
66400         [BZ #2678]
66401         [BZ #3866]
66402         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66403         x for large integer exponent.
66404         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66405         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66406         sign of result as needed afterwards.
66407         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66408         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66409         result for underflowing pow the same as for overflow.
66410         (__kernel_standard_l): Handle powl overflow and underflow here
66411         rather than calling __kernel_standard.
66412         * math/libm-test.inc (pow_test): Add more tests.
66414         [BZ #3868]
66415         [BZ #13879]
66416         [BZ #13910]
66417         [BZ #13911]
66418         [BZ #13912]
66419         [BZ #13913]
66420         [BZ #13915]
66421         [BZ #13916]
66422         [BZ #13917]
66423         [BZ #13918]
66424         [BZ #13919]
66425         [BZ #13920]
66426         [BZ #13921]
66427         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66428         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66429         (__kernel_standard_l): New function.
66430         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66431         __kernel_standard.
66432         * math/w_acosl.c (__acosl): Likewise.
66433         * math/w_asinl.c (__asinl): Likewise.
66434         * math/w_atan2l.c (__atan2l): Likewise.
66435         * math/w_atanhl.c (__atanhl): Likewise.
66436         * math/w_coshl.c (__coshl): Likewise.
66437         * math/w_exp10l.c (__exp10l): Likewise.
66438         * math/w_exp2l.c (__exp2l): Likewise.
66439         * math/w_fmodl.c (__fmodl): Likewise.
66440         * math/w_hypotl.c (__hypotl): Likewise.
66441         * math/w_j0l.c (__j0l, __y0l): Likewise.
66442         * math/w_j1l.c (__j1l, __y1l): Likewise.
66443         * math/w_jnl.c (__jnl, __ynl): Likewise.
66444         * math/w_lgammal.c (__lgammal): Likewise.
66445         * math/w_log10l.c (__log10l): Likewise.
66446         * math/w_log2l.c (__log2l): Likewise.
66447         * math/w_logl.c (__logl): Likewise.
66448         * math/w_powl.c (__powl): Likewise.
66449         * math/w_remainderl.c (__remainderl): Likewise.
66450         * math/w_scalbl.c (sysv_scalbl): Likewise.
66451         * math/w_sinhl.c (__sinhl): Likewise.
66452         * math/w_sqrtl.c (__sqrtl): Likewise.
66453         * math/w_tgammal.c (__tgammal): Likewise.
66454         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66455         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66456         * math/libm-test.inc (acos_test): Add more tests.
66457         (acosh_test): Likewise.
66458         (asin_test): Likewise.
66459         (atanh_test): Likewise.
66460         (exp_test): Likewise.
66461         (exp10_test): Likewise.
66462         (exp2_test): Likewise.
66463         (expm1_test): Likewise.
66464         (lgamma_test): Likewise.
66465         (log_test): Likewise.
66466         (log10_test): Likewise.
66467         (log1p_test): Likewise.
66468         (log2_test): Likewise.
66469         (pow_test): Do not allow some spurious overflow exceptions.
66470         (sqrt_test): Add more tests.
66471         (tgamma_test): Likewise.
66472         (y0_test): Likewise.
66473         (y1_test): Likewise.
66474         (yn_test): Likewise.
66476 2012-03-27  Anton Blanchard  <anton@samba.org>
66478         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66479         MAP_HUGETLB.
66480         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66484 2012-03-27  David S. Miller  <davem@davemloft.net>
66486         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66488         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66489         have-as-vis3 check.
66491 2012-03-27  Andreas Jaeger  <aj@suse.de>
66493         * sysdeps/x86_64/elf/configure.in: Moved to ...
66494         * sysdeps/x86_64/configure.in: ... here.
66495         * sysdeps/x86_64/elf/start.S: Moved to ...
66496         * sysdeps/x86_64/start.S: ... here.
66497         * sysdeps/x86_64/elf/configure: Delete.
66499         * sysdeps/x86_64/configure.in: Merge contents from
66500         sysdeps/i386/configure.in (without i686 check).
66502         * sysdeps/i386/elf/Versions: Merge into ...
66503         * sysdeps/i386/Versions: ... this.
66504         * sysdeps/i386/elf/Versions: Delete file.
66505         * sysdeps/i386/elf/start.S: Moved to ...
66506         * sysdeps/i386/start.S: ...here.
66507         * sysdeps/i386/elf/configure.in: Merge into...
66508         * sysdeps/i386/configure.in: ...here.
66509         * sysdeps/i386/elf/configure.in: Delete file.
66510         * sysdeps/i386/elf/configure: Delete file.
66512         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66513         * debug/backtracesyms.c: ... here.
66514         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66515         * debug/backtracesymsfd.c: ... here.
66516         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66517         * sysdeps/generic/ifunc-sel.h: ... here.
66519         * sysdeps/unix/i386/start.c: Delete file.
66520         * sysdeps/unix/sparc/start.c: Delete file.
66521         * sysdeps/unix/start.c: Delete file.
66523         * sysdeps/sh/elf/configure.in: Moved to ...
66524         * sysdeps/sh/configure.in: ... here.
66525         * sysdeps/sh/elf/start.S: Moved to ...
66526         * sysdeps/sh/start.S: ... here.
66527         * sysdeps/sh/elf/configure: Delete file.
66529         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66530         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66531         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66532         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66533         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66534         * sysdeps/powerpc/powerpc64/start.S: here.
66535         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66536         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66537         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66538         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66539         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66541         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66542         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66543         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66544         * sysdeps/powerpc/powerpc32/start.S: ... here.
66545         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66546         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66547         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66549         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66550         * sysdeps/powerpc/ifunc-sel.h: ... here.
66551         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66552         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66554         * sysdeps/sparc/elf/configure.in: Moved to ...
66555         * sysdeps/sparc/configure.in: ... here.
66556         * sysdeps/sparc/elf/configure: Delete file.
66557         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66558         * sysdeps/sparc/sparc32/start.S: ... here.
66559         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66560         * sysdeps/sparc/sparc64/start.S: ... here.
66561         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66562         * sysdeps/sparc/sparc32/Makefile: ... this.
66563         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66564         * sysdeps/sparc/sparc64/Makefile: ... this.
66566         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66567         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66568         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66569         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66570         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66571         * sysdeps/s390/s390-32/setjmp.S: ... here.
66572         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66573         * sysdeps/s390/s390-32/configure.in: ... here.
66574         * sysdeps/s390/s390-32/elf/configure: Delete file.
66575         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66576         * sysdeps/s390/s390-32/start.S: ... here.
66578         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66579         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66580         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66581         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66582         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66583         * sysdeps/s390/s390-64/setjmp.S: ... here.
66584         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66585         * sysdeps/s390/s390-64/configure.in: ... here
66586         * sysdeps/s390/s390-64/elf/configure: Delete file.
66587         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66588         * sysdeps/s390/s390-64/start.S: ... here.
66589         * sysdeps/s390/s390-64/elf/configure: Delete.
66591         * configure.in: Remove support for elf directories in sysdeps.
66593         * configure: Regenerated.
66594         * sysdeps/i386/configure: Regenerated.
66595         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66596         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66597         * sysdeps/s390/s390-32/configure: Regenerated.
66598         * sysdeps/s390/s390-64/configure: Regenerated.
66599         * sysdeps/sh/configure: Regenerated.
66600         * sysdeps/sparc/configure: Regenerated.
66601         * sysdeps/x86_64/configure: Regenerated.
66603 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66608         denormal result into account.
66610 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66612         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66613         Reported by Allan McRae <allan@archlinux.org>.
66615 2012-03-23  Jeff Law  <law@redhat.com>
66617         * nss/getnssent.c (__nss_getent): Fix typo.
66619 2012-03-23  David S. Miller  <davem@davemloft.net>
66621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66623 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66625         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66626         to pad to uint64_t for each field.
66627         (dl_tls_index): Replace unsigned long with uint64_t.
66629 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66630         Paul Pluzhnikov  <ppluzhnikov@google.com>
66632         [BZ #6528]
66633         * grp/Makefile (otherlibs): Don't set it.
66634         * inet/Makefile (otherlibs): Likewise.
66635         * login/Makefile (otherlibs): Likewise.
66636         * nscd/Makefile (otherlibs): Likewise.
66637         * posix/Makefile (otherlibs): Likewise.
66638         * pwd/Makefile (otherlibs): Likewise.
66639         * rt/Makefile (otherlibs): Likewise.
66640         * sunrpc/Makefile (otherlibs): Likewise.
66641         * nss/Makefile (otherlibs): Likewise.
66642         Add libnss_files to routines and static-only-routines.
66643         ($(objpfx)getent): Remove rule.
66644         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66645         static-only-routines.
66647 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66649         [BZ #13892]
66650         * math/s_cexp.c: Include <float.h>.
66651         (__cexp): Handle exp result overflowing not necessarily
66652         overflowing both real and imaginary parts of result.
66653         * math/s_cexpf.c: Likewise.
66654         * math/s_cexpl.c: Likewise.
66655         * math/libm-test.inc (cexp_test): Add more tests.
66656         * sysdeps/i386/fpu/libm-test-ulps: Update.
66657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66659 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66661         * include/link.h (ELFW): New macro.
66662         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66663         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66665 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66667         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66668         with uint64_t.
66670 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66672         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66673         declaration.
66674         (struct La_x32_retval): Likewise.
66676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66678         * sysdeps/x86_64/preconfigure.in: New file.
66679         * sysdeps/x86_64/preconfigure: New generated file.
66681 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66683         [BZ #13824]
66684         * math/e_exp2l.c: Include <float.h>.
66685         (__ieee754_exp2l): Handle overflow and underflow cases
66686         separately.  Only pass fractional part of argument to
66687         __ieee754_expl.
66688         * math/libm-test.inc (exp2_test): Add more tests.
66690         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66691         negating x to take absolute value.
66692         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66693         Likewise.
66694         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66695         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66696         Likewise.
66697         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66698         computing low part if x was negated.
66699         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66701 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66703         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66704         la_x32_gnu_pltexit.
66705         (pltexit): Cast int_retval to ptrdiff_t.
66706         * elf/tst-auditmod3b.c: Likewise.
66707         * elf/tst-auditmod4b.c: Likewise.
66708         * elf/tst-auditmod5b.c: Likewise.
66709         * elf/tst-auditmod6b.c: Likewise.
66710         * elf/tst-auditmod6c.c: Likewise.
66711         * elf/tst-auditmod7b.c: Likewise.
66713         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66714         and x32_gnu_pltexit.
66716         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66717         __ELF_NATIVE_CLASS.
66718         (La_x32_regs): New macro.
66719         (La_x32_retval): Likewise.
66720         (la_x32_gnu_pltenter): New function prototype.
66721         (la_x32_gnu_pltexit): Likewise.
66723 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66726         exponent.
66728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66730         * configure.in (libc_cv_cc_nofma): Check for option to disable
66731         generation of FMA instructions.
66732         * configure: Regenerate.
66733         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66734         * sysdeps/ieee754/dbl-64/Makefile: New file.
66735         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66736         Remove brandred-fma4.
66737         (CFLAGS-brandred-fma4.c): Remove.
66738         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66739         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66740         define.
66741         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66742         define.
66744 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66746         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66747         LLONG_MAX != LONG_MAX.
66748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66749         (_fitoa_word): Likewise.
66750         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66751         LLONG_MAX != LONG_MAX.
66752         * stdio-common/_itowa.h: Include <_itoa.h>.
66753         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66754         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66755         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66756         only if not defined.
66757         (_ITOA_WORD_TYPE): Likewise.
66758         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66759         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66761 2012-03-21  David S. Miller  <davem@davemloft.net>
66763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66765 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66767         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66768         of x86_64 when setting libc_cv_slibdir, libdir and
66769         libc_cv_localedir.
66770         * sysdeps/unix/sysv/linux/configure: Regenerated.
66772 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66774         * manual/lang.texi (Old Varargs): Remove section.
66775         (How Variadic): Update menu.
66776         (va_start): Do not mention varargs.h.
66778 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66779             Joseph Myers  <joseph@codesourcery.com>
66781         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66782         link test.
66783         * configure: Regenerated.
66785 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66787         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66788         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66789         conformtest.pl
66791 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66793         * NOTES: Remove.
66794         * Makefile (files-for-dist): Remove NOTES.
66795         (NOTES): Remove rule.
66796         * README: Don't refer to NOTES.
66797         * manual/creature.texi: Don't include macros.texi.
66798         * manual/intro.texi (creature.texi): Remove comment referring to
66799         NOTES.
66801         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66802         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66803         * configure: Regenerated.
66804         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66805         LIBC_TRY_CC_OPTION.
66806         (libc_cv_as_i686): Likewise.
66807         (libc_cv_cc_avx): Likewise.
66808         (libc_cv_cc_sse2avx): Likewise.
66809         (libc_cv_cc_fma4): Likewise.
66810         (libc_cv_cc_novzeroupper): Likewise.
66811         * sysdeps/i386/configure: Regenerated.
66813         [BZ #13883]
66814         * sysdeps/i386/fpu/s_cexp.S: Remove.
66815         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66816         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66817         * math/libm-test.inc (cexp_test): Add more tests.
66818         * sysdeps/i386/fpu/libm-test-ulps: Update.
66819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66821 2012-03-21  Allan McRae  <allan@archlinux.org>
66823         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66827         [BZ #13871]
66828         * math/w_exp2.c: Do not include <float.h>.
66829         (o_threshold, u_threshold): Remove.
66830         (__exp2): Calculate result before checking finiteness and calling
66831         __kernel_standard.
66832         * math/w_exp2f.c: Likewise.
66833         * math/w_exp2l.c: Likewise.
66834         * math/libm-test.inc (exp2_test): Require overflow exception for
66835         1e6 input.
66837         [BZ #3866]
66838         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66839         range of signed 64-bit integers before using fistpll.  Remove
66840         checks for whether integers fit in mantissa bits.
66841         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66842         the range of signed 32-bit integers before using fistpl.  Remove
66843         checks for whether integers fit in mantissa bits.
66844         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66845         (__ieee754_powl): Test for y outside the range of signed 64-bit
66846         integers before using fistpll.  Reduce 64-bit values to 63-bit
66847         ones as needed.
66848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66849         divide-by-zero is raised for zero to large negative powers.
66850         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66851         (__ieee754_powl): Test for y outside the range of signed 64-bit
66852         integers before using fistpll.  Reduce 64-bit values to 63-bit
66853         ones as needed.
66854         * math/libm-test.inc (pow_test): Add more tests.
66856 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66858         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66859         <stdio-common/_itoa.h>.
66860         * debug/segfault.c: Likewise.
66861         * elf/dl-cache.c: Likewise.
66862         * elf/dl-minimal.c: Likewise.
66863         * elf/dl-misc.c: Likewise.
66864         * elf/dl-sysdep.c: Likewise.
66865         * elf/dl-version.c: Likewise.
66866         * elf/rtld.c: Likewise.
66867         * hurd/hurdsock.c: Likewise.
66868         * hurd/lookup-retry.c: Likewise.
66869         * malloc/malloc.c: Likewise.
66870         * malloc/mtrace.c: Likewise.
66871         * nscd/nscd_getgr_r.c: Likewise.
66872         * nscd/nscd_getpw_r.c: Likewise.
66873         * nscd/nscd_getserv_r.c: Likewise.
66874         * posix/getopt_init.c: Likewise.
66875         * posix/wordexp.c: Likewise.
66876         * stdio-common/_itoa.c: Likewise.
66877         * stdio-common/printf_fphex.c: Likewise.
66878         * stdio-common/vfprintf.c: Likewise.
66879         * string/_strerror.c: Likewise.
66880         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66881         * sysdeps/i386/i686/hp-timing.h: Likewise.
66882         * sysdeps/mach/_strerror.c: Likewise.
66883         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66884         * sysdeps/mach/hurd/sethostid.c: Likewise.
66885         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66886         * sysdeps/mach/xpg-strerror.c: Likewise.
66887         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66889         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66890         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66892         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66894         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66895         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66896         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66897         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66898         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66899         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66900         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66901         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66902         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66903         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66904         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66905         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66906         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66907         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66909         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66911         * stdio-common/_itoa.h: Moved to ...
66912         * sysdeps/generic/_itoa.h: Here.
66914         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66916         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66917         instead of "_itoa.h" and "_itowa.h".
66918         * stdio-common/vfprintf.: Likewise.
66920 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66922         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66923         <bits/wordsize.h>.
66924         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66925         (__signbit): Likwise.
66926         (llrintf): Likwise.
66927         (llrint): Likwise.
66929 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66931         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66932         __WORDSIZE != 64.
66934 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66936         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66937         OVERFLOW_EXCEPTION_OK.
66938         * math/libm-test.inc ("Philosophy"): Update comment about
66939         exception testing.
66940         (OVERFLOW_EXCEPTION): Define.
66941         (OVERFLOW_EXCEPTION_OK): Likewise.
66942         (INVALID_EXCEPTION_OK): Renumber.
66943         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66944         (IGNORE_ZERO_INF_SIGN): Likewise.
66945         (test_exceptions): Handle FE_OVERFLOW.
66946         (exp10_test): Expect overflow exceptions.
66947         (exp2_test): Likewise.
66948         (expm1_test): Likewise.
66949         (nextafter_test): Likewise.
66950         (pow_test): Likewise.
66951         (scalbn_test): Likewise.
66952         (scalbln_test): Likewise.
66954 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66956         * sysdeps/x86_64/bits/atomic.h
66957         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66958         64bit integer.
66959         (atomic_exchange_acq): Likewise.
66960         (__arch_exchange_and_add_body): Likewise.
66961         (__arch_add_body): Likewise.
66962         (atomic_add_negative): Likewise.
66963         (atomic_add_zero): Likewise.
66965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66967         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66968         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66970 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66972         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66973         Check __x86_64__ instead of __WORDSIZE.
66975 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66977         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66979 2012-03-19  David S. Miller  <davem@davemloft.net>
66981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66983         * sysdeps/sparc/fpu/fenv_private.h: New file.
66984         * sysdeps/sparc/fpu/math_private.h: Use it.
66985         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66986         Remove.
66987         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66988         (libc_feholdexcept_setroundl): Remove.
66989         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66990         Remove.
66991         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66992         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66994 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66996         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66997         int64_t instead of long int.
66998         (INSERT_WORDS64): Likwise.
67000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67002         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67003         _Unwind_GetCFA return to _Unwind_Ptr first.
67005 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67007         [BZ #13629]
67008         * math/s_clog.c: Include <float.h>.
67009         (__clog): Scale large or subnormal inputs.
67010         * math/s_clogf.c: Likewise.
67011         * math/s_clogl.c: Likewise.
67012         * math/s_clog10.c: Include <float.h>.
67013         (M_LOG10_2): Define.
67014         (__clog10): Scale large or subnormal inputs.
67015         * math/s_clog10f.c: Likewise.
67016         * math/s_clog10l.c: Likewise.
67017         * math/libm-test.inc (clog_test): Add more tests.
67018         (clog10_test): Likewise.
67019         * sysdeps/i386/fpu/libm-test-ulps: Update.
67020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67022         [BZ #11451]
67023         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67024         x and y.
67025         * math/libm-test.inc (atan2_test): Add another test.
67027         * Makerules (common-objdir-compile): Remove.
67028         * sysdeps/unix/Makefile (config-generated): Do not add
67029         $(unix-generated) to variable.
67030         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67031         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67032         Remove rule.
67033         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67034         Likewise.
67035         [generic bits/local_lim.h] (before-compile): Do not append to
67036         variable.
67037         [generic bits/local_lim.h] (common-generated): Likewise.
67038         [generic sys/param.h] (before-compile): Do not append to variable.
67039         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67040         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67041         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67042         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67043         include.
67044         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67045         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67046         [generic sys/param.h] ($(addprefix
67047         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67048         [generic sys/param.h] (common-generated): Do not append to
67049         variable.
67050         [generic sys/param.h] (sysdep_headers): Likewise.
67051         [generic bits/errno.h] (before-compile): Do not append to
67052         variable.
67053         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67054         rule.
67055         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67056         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67057         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67058         [generic bits/errno.h] (common-generated): Do not append to
67059         variable.
67060         [generic bits/ioctls.h] (before-compile): Do not append to
67061         variable.
67062         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67063         rule.
67064         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67065         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67066         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67067         rule.
67068         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67069         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67070         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67071         [generic bits/ioctls.h] (common-generated): Do not append to
67072         variable.
67073         [generic sys/syscall.h] (syscall.h): Remove variable.
67074         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67075         rule.
67076         [generic sys/syscall.h] (before-compile): Do not append to
67077         variable.
67078         [generic sys/syscall.h] (common-generated): Likewise.
67079         * sysdeps/unix/errnos-tmpl.c: Remove file.
67080         * sysdeps/unix/errnos.awk: Likewise.
67081         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67082         * sysdeps/unix/ioctls.awk: Likewise.
67083         * sysdeps/unix/mk-local_lim.c: Likewise.
67084         * sysdeps/unix/snarf-ioctls: Likewise.
67086 2012-03-19  Richard Henderson  <rth@twiddle.net>
67088         * sysdeps/i386/fpu/fenv_private.h: New file.
67089         * sysdeps/i386/fpu/math_private.h: Use it.
67090         (math_opt_barrier, math_force_eval): Remove.
67091         (libc_feholdexcept_setround_53bit): Remove.
67092         (libc_feupdateenv_53bit): Remove.
67093         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67094         (math_opt_barrier, math_force_eval): Remove.
67095         (libc_feholdexcept): Remove.
67096         (libc_feholdexcept_setround): Remove.
67097         (libc_fetestexcept, libc_fesetenv): Remove.
67098         (libc_feupdateenv_test): Remove.
67099         (libc_feupdateenv, libc_feholdsetround): Remove.
67100         (libc_feresetround): Remove.
67102         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67103         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67105         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67106         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67107         (libc_feupdateenv_testl): New.
67108         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67109         (libc_feupdateenv_testf): New.
67110         (libc_feupdateenv): Use libc_feupdateenv_test.
67111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67112         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67114         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67115         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67116         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67117         (libc_feresetround_noex): New.
67118         (libc_feresetround_noexf): New.
67119         (libc_feresetround_noexl): New.
67120         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67121         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67122         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67123         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67124         SET_RESTORE_ROUND.
67125         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67127         (__cos): Likewise.
67128         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67130         SET_RESTORE_ROUND_NOEX.
67131         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67132         SET_RESTORE_ROUND_NOEXF.
67133         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67134         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67135         (libc_feholdsetroundf): New.
67136         (libc_feresetround, libc_feresetroundf): New.
67138         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67139         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67140         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67142         * sysdeps/generic/math_private.h: Include <fenv.h>.
67143         (default_libc_feholdexcept): New.
67144         (default_libc_feholdexcept_setround): New.
67145         (default_libc_fesetenv, default_libc_feupdateenv): New.
67146         (libc_feholdexcept): Only define if undefined.
67147         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67148         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67149         (libc_feholdexcept_setroundl): Likewise.
67150         (libc_feholdexcept_setround_53bit): Likewise.
67151         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67152         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67153         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67154         (libc_feupdateenv_53bit): Likewise.
67155         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67156         (libc_feholdexcept): Convert from macro to inline function.
67157         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67158         (libc_fesetenv, libc_feupdateenv): Likewise.
67160         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67161         not previously defined.
67162         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67163         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67164         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67165         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67166         * sysdeps/ieee754/flt-32/math_private.h: New file.
67167         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67168         math_private.h below SET_FLOAT_WORD.
67169         (__isnan, __isinf_ns, __finite): Remove.
67170         (__isnanf, __isinf_nsf, __finitef): Remove.
67172 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67176 2012-03-17  David S. Miller  <davem@davemloft.net>
67178         [BZ #6471]
67179         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67180         for 2.16.
67182 2012-03-16  David S. Miller  <davem@davemloft.net>
67184         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67185         warnings.
67187         [BZ #6471]
67188         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67189         properly.
67190         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67191         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67192         sysdep_routines when subdir is sysvipc.
67193         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67194         __getshmlba helper.
67196         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67200         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67201         [__LP64__].
67203 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67205         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67206         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67207         (__lround): Renamed to ...
67208         (__llround): This.  Replace long int with long long int.
67209         Define lround functions as aliases of llround functions.
67210         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67214         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67215         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67216         adresses to uintptr_t.  Replace "long int" and "unsigned long
67217         int" with "greg_t" on va_arg.
67219 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67221         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67222         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67224         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67225         Move e_machine check before EI_CLASS check.  Handle x32
67226         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67227         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67228         SKIP_EM_IA_64 and include
67229         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67231         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67232         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67233         (add_system_dir): New macro.
67235         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67236         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67238 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67240         [BZ #2551]
67241         [BZ #2552]
67242         [BZ #2553]
67243         [BZ #2554]
67244         [BZ #2562]
67245         [BZ #2563]
67246         [BZ #2565]
67247         [BZ #2566]
67248         [BZ #2576]
67249         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67250         (y0): Likewise.
67251         * math/w_j0f.c (j0f): Likewise.
67252         (y0f): Likewise.
67253         * math/w_j0l.c (__j0l): Likewise.
67254         (__y0l): Likewise.
67255         * math/w_j1.c (j1): Likewise.
67256         (y1): Likewise.
67257         * math/w_j1f.c (j1f): Likewise.
67258         (y1f): Likewise.
67259         * math/w_j1l.c (__j1l): Likewise.
67260         (__y1l): Likewise.
67261         * math/w_jn.c (jn): Likewise.
67262         (yn): Likewise.
67263         * math/w_jnf.c (jnf): Likewise.
67264         (ynf): Likewise.
67265         * math/w_jnl.c (__jnl): Likewise.
67266         (__ynl): Likewise.
67267         * math/libm-test.inc (j0_test): Add more tests.
67268         (j1_test): Likewise.
67269         (jn_test): Likewise.  Add trailing semicolon to existing test.
67270         (y0_test): Likewise.
67271         (y1_test): Likewise.
67272         * sysdeps/i386/fpu/libm-test-ulps: Update.
67273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67275         [BZ #13851]
67276         [BZ #13854]
67277         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67278         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67279         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67280         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67281         (__tanl): Set errno for infinite argument.
67282         * sysdeps/i386/fpu/mptan.c: Remove.
67283         * sysdeps/i386/fpu/s_tan.S: Likewise.
67284         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67285         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67286         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67287         * math/libm-test.inc (tan_test): Add more tests and enable more
67288         tests for double and long double.
67289         * sysdeps/i386/fpu/libm-test-ulps: Update.
67290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67292 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67294         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67295         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67297 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67299         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67300         * configure.in: Use it for both main tree and add-ons.
67301         * configure: Regenerated.
67303 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67305         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67307 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67309         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67310         in comment.
67312         [BZ #13851]
67313         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67314         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67315         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67316         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67317         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67318         infinite argument.
67319         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67320         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67321         != 0 for prec == 2.
67322         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67323         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67324         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67325         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67326         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67327         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67328         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67329         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67330         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67331         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67332         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67333         * math/libm-test.inc (cos_test): Add more tests and enable more
67334         tests for long double.
67335         (sin_test): Likewise.
67336         (sincos_test): Likewise.
67337         * sysdeps/i386/fpu/libm-test-ulps: Update.
67338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67340 2012-03-16  David S. Miller  <davem@davemloft.net>
67342         * sysdeps/sparc/fpu/math_private.h: New file.
67344 2012-03-15  David S. Miller  <davem@davemloft.net>
67346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67347         file.
67348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67350         file.
67351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67357         sysdep routines.
67358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67360         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67361         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67363         * sysdeps/sparc/sparc-ifunc.h: New file.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67365         sparc-ifunc.h
67366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67368         Likewise.
67369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67370         Likewise.
67371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67375         Likewise.
67376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67381         Likewise.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67383         Likewise.
67384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67390         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67391         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67399         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67402         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67403         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67405         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67406         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67407         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67409 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67411         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67412         scaling.
67413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67415 2012-03-15  Andreas Jaeger  <aj@suse.de>
67417         [BZ #13852]
67418         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67419         ieee754/flt-32 implementation for sin, cos and sincos.
67420         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67421         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67422         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67423         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67424         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67425         ieee754/flt-32 implementation for tan.
67427         * math/libm-test.inc (cos_test): Enable some large input tests for
67428         float as well
67429         (sin_test): Likewise.
67430         (sincos_test): Likewise.
67431         (tan_test): Add tests for large input.
67433         * sysdeps/i386/fpu/libm-test-ulps: Update.
67435 2012-03-15  Andreas Jaeger  <aj@suse.de>
67437         [BZ #13658]
67438         * math/libm-test.inc (cos_test): Add more test cases.
67439         (sin_test): Likewise.
67440         (sincos_test): Likewise.
67442 2012-03-15  Andreas Jaeger  <aj@suse.de>
67444         [BZ #13837]
67445         * math/libm-test.inc (cos_test): Add a test case for large input
67446         value.
67447         (sin_test): Likewise.
67448         (sincos_test): Likewise.
67450 2012-03-15  Andreas Jaeger  <aj@suse.de>
67451             Joseph Myers  <joseph@codesourcery.com>
67453         [BZ #13658]
67454         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67455         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67456         * sysdeps/i386/fpu/branred.c: Likewise.
67457         * sysdeps/i386/fpu/dosincos.c: Likewise.
67458         * sysdeps/i386/fpu/mpa.c: Likewise.
67459         * sysdeps/i386/fpu/s_cos.S: Likewise.
67460         * sysdeps/i386/fpu/s_sin.S: Likewise.
67461         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67462         * sysdeps/i386/fpu/sincos32.c: Likewise.
67464         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67465         Define.
67466         (libc_feupdateenv_53bit): Define.
67467         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67468         Define.
67469         (libc_feupdateenv_53bit): Define.
67471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67472         53 bit (without extend i386 double precision).
67474         * math/libm-test.inc (sincos_test): Add tests for large input.
67475         (sin): Likewise.
67476         (cos): Likewise.
67478         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67480 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67484 2012-03-15  David S. Miller  <davem@davemloft.net>
67486         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67487         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67488         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67489         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67502         file.
67503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67505         file.
67506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67508         file.
67509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67511         file.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67514         fmin/fmax sysdep routines.
67515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67517 2012-03-14  David S. Miller  <davem@davemloft.net>
67519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67523         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67524         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67525         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67531         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67532         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67533         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67539         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67540         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67544         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67545         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67548         routines.
67549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67550         file.
67551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67553         file.
67554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67556         file.
67557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67559         file.
67560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67562         file.
67563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67565         file.
67566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67567         file.
67568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67569         file.
67570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67571         file.
67572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67573         New file.
67574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67575         file.
67576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67577         file.
67578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67580         file.
67581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67583         file.
67584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67586         file.
67587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67589         VIS3 routines.
67591         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67592         New file.
67594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67596         * sysdeps/sparc/configure.in: New file.
67597         * sysdeps/sparc/configure: Generate.
67598         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67599         * configure: Regenerate.
67600         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67601         * config.make.in (have-as-vis3): New.
67602         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67603         available use -Av9d instead of -Av9a.
67604         * sysdeps/sparc/sparc64/Makefile: Likewise.
67605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67607         New file.
67608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67609         file.
67610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67611         New file.
67612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67613         file.
67614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67615         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67616         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67617         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67620         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67621         fzeros/fnegs to load 0x80000000 into a float register instead of
67622         using the stack.
67623         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67625 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67628         bits/syscall.h.
67629         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67630         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67631         ($(inst_includedir)/bits/syscall.h): Remove rule.
67632         ($(objpfx)bits/syscall.d): Include instead of
67633         $(objpfx)syscall-list.d.
67634         (generated): Change syscall-list.h and syscall-list.d to
67635         bits/syscall.h and bits/syscall.d.
67637 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67639         [BZ #13846]
67640         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67642 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67644         [BZ #13841]
67645         * math/s_csqrt.c: Include <float.h>.
67646         (__csqrt): Scale large or subnormal inputs.
67647         * math/s_csqrtf.c: Likewise.
67648         * math/s_csqrtl.c: Likewise.
67649         * math/libm-test.inc (csqrt_test): Add more tests.
67650         * sysdeps/i386/fpu/libm-test-ulps: Update.
67651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67653         [BZ #13840]
67654         * math/libm-test.inc (hypot_test): Add more tests.
67656 2012-03-13  David S. Miller  <davem@davemloft.net>
67658         [BZ #13840]
67659         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67660         double-precision for the calculation instead of scaling.
67662 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67664         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67665         manipulate bits before adding and subtracting TWO52[sx].
67666         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67667         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67668         Likewise.
67669         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67671 2012-03-13  David S. Miller  <davem@davemloft.net>
67673         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67674         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67675         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67676         rtld-global-offsets.h
67677         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67679         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67680         large parameters.
67682         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67684         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67685         'err' in the ifdef scope in which it is actually used.
67687         * nss/nss_db/db-init.c: Include string.h
67689 2012-03-12  David S. Miller  <davem@davemloft.net>
67691         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67692         masking out of the most significant byte of random value used.
67693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67694         Fix coding style in previous change.
67696         * sysdeps/unix/sysv/linux/kernel-features.h
67697         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67698         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67699         expression.
67700         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67701         later.
67703 2012-03-11  David S. Miller  <davem@davemloft.net>
67705         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67706         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67707         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67708         for 'resultvar' otherwise things get truncated on 64-bit.
67710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67711         Fix masking out of the most significant byte of random value used.
67713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67715 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67719 2012-03-09  David S. Miller  <davem@davemloft.net>
67721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67722         variables with appropriate CPP guards.
67723         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67724         from the frame pointer, not the stack pointer.  Correct layout
67725         comments.  Fix test on resulting framesize and the management of
67726         the outregs buffer for pltexit.  Preserve floating point return
67727         values across _dl_call_pltexit call.
67728         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67729         framesize and the management of the outregs buffer for pltexit.
67730         Preserve floating point return values across _dl_call_pltexit
67731         call.
67732         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67733         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67734         (la_sparc64_gnu_pltexit): New functions.
67735         (print_exit): Fix format string for return register value.
67737 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67739         * sunrpc/Makefile (others): Add rpcgen.
67740         ($(objpfx)rpcgen): Remove special build rule and dependency on
67741         libc.
67742         * sunrpc/rpcgen.c: New file.
67744 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67746         [BZ #13673]
67747         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67748         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67749         * sysdeps/i386/crti.S: Likewise.
67750         * sysdeps/i386/crtn.S: Likewise.
67751         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67752         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67753         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67754         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67755         * sysdeps/sh/crti.S: Likewise.
67756         * sysdeps/sh/crtn.S: Likewise.
67757         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67759         [BZ #13673]
67760         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67761         with URL.
67762         * locale/programs/locfile-kw.gperf: Likewise.
67763         * locale/programs/charmap-kw.h: Regenerated.
67764         * locale/programs/locfile-kw.h: Likewise.
67766         [BZ #13673]
67767         * intl/plural.y: Replace FSF snail mail address with URL.
67768         * intl/plural.c: Regenerated.
67770 2012-03-09  Richard Henderson  <rth@twiddle.net>
67772         * include/math_private.h: Remove file.
67773         * math/math_private.h: Move file ...
67774         * sysdeps/generic/math_private.h: ... here.
67776         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67777         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67778         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67780         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67781         and <math_private.h>.
67782         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67783         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67784         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67785         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67786         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67787         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67788         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67790         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67791         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67793         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67794         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67795         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67796         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67797         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67798         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67799         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67800         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67803         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67804         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67806         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67808         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67812         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67814         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67815         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67816         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67817         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67818         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67819         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67820         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67821         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67822         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67823         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67824         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67825         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67827         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67828         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67829         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67830         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67831         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67832         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67833         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67834         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67835         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67836         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67837         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67839         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67840         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67841         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67843         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67844         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67845         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67846         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67847         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67848         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67849         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67850         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67851         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67852         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67853         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67855         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67856         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67864         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67865         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67866         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67869         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67870         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67871         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67872         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67873         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67874         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67875         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67876         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67877         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67878         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67879         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67880         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67882         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67883         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67884         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67885         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67886         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67887         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67888         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67889         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67890         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67892         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67893         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67894         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67896         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67898         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67899         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67900         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67901         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67902         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67903         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67904         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67905         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67906         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67907         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67908         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67909         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67910         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67911         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67912         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67913         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67915         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67916         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67917         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67918         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67919         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67920         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67921         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67922         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67923         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67924         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67925         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67926         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67927         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67928         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67929         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67930         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67931         * sysdeps/ieee754/k_standard.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67935         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67936         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67937         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67939         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67940         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67942         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67944         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67945         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67946         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67947         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67949         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67951         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67953         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67956         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67957         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67958         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67959         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67962         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67963         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67964         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67965         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67969         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67970         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67971         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67972         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67973         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67974         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67975         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67976         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67977         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67978         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67980         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67983         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67984         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67985         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67986         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67987         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67988         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67989         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67990         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67992         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67993         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67994         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67998         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68005         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68008         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68009         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68011         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68012         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68017         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68018         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68019         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68021         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68023         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68024         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68025         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68028         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68029         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68030         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68031         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68034         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68035         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68036         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68037         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68040         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68041         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68043         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68049         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68050         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68053         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68054         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68055         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68056         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68057         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68058         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68059         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68060         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68061         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68062         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68063         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68064         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68065         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68066         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68067         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68068         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68069         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68070         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68071         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68072         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68073         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68074         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68075         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68076         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68081         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68082         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68083         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68085         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68086         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68087         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68088         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68089         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68091         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68092         * sysdeps/ieee754/s_lib_version.c: Likewise.
68093         * sysdeps/ieee754/s_matherr.c: Likewise.
68094         * sysdeps/ieee754/s_signgam.c: Likewise.
68095         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68096         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68097         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68098         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68099         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68100         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68101         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68102         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68103         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68104         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68105         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68106         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68107         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68108         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68109         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68111         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68112         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68113         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68117 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68119         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68120         * sunrpc/rpc_main.c: Likewise.
68121         * sunrpc/rpc_svcout.c: Likewise.
68123 2012-03-09  David S. Miller  <davem@davemloft.net>
68125         * include/math_private.h: New file.
68127 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68129         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68130         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68131         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68132         from <bits/socket_type.h>.
68133         (enum __socket_type): Don't define here.
68134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68136         bits/socket_type.h.
68138         [BZ #13566]
68139         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68140         checking __USE_GNU.
68142         * Makerules ($(inst_includedir)/%.h): New rule.
68143         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68144         (install-others): Remove variable setting.
68145         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68147 2012-03-08  Richard Henderson  <rth@twiddle.net>
68149         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68150         from macro to inline function; merge with the
68151         !__LIBC_INTERNAL_MATH_INLINES version.
68152         (__ieee754_sqrtf): Likewise.
68154         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68155         to inline function.
68156         (__rintf, __floor, __floorf): Likewise.
68158         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68159         macro to inline function.
68160         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68162         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68163         not <math/math_private.h>.
68165 2012-03-08  David S. Miller  <davem@davemloft.net>
68167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68168         copyright year.
68169         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68171 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68173         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68174         normalization.
68175         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68176         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68178 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68180         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68181         be defined individually, they must be defined as a block.  Define
68182         S for printing a string instead of hidint the different by using a
68183         macro for adding the 'l'.
68184         * stdio-common/tst-fphex-wide.c: Adjust.
68186 2012-03-07  Marek Polacek  <polacek@redhat.com>
68188         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68190 2012-03-08  Marek Polacek  <polacek@redhat.com>
68192         [BZ #13806]
68193         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68194         * stdio-common/tst-fphex.c: Define a few macros to make the
68195         test reusable.  Use them.
68196         * stdio-common/tst-fphex-wide.c: New file.
68198 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68200         [BZ #6911]
68201         * manual/macros.texi (gnusystems): New macro.
68202         (nongnusystems): Likewise.
68203         (gnulinuxhurdsystems): Likewise.
68204         (gnuhurdsystems): Likewise..
68205         (gnulinuxsystems): Likewise.
68206         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68207         variants of the GNU system, not "GNU system".
68208         * manual/conf.texi: Likewise.
68209         * manual/errno.texi: Likewise.  Update example of errno macro
68210         expansion.
68211         * manual/filesys.texi: Likewise.
68212         (getumask): Document as specific to GNU/Hurd.
68213         * manual/install.texi: Likewise.  Reword some references to
68214         GNU/Linux.
68215         * manual/intro.texi: Likewise.
68216         * manual/io.texi: Likewise.
68217         (File Name Portability): Detail which constraints are inapplicable
68218         to all GNU systems and which are only inapplicable to GNU/Hurd.
68219         * manual/job.texi: Likewise.
68220         * manual/llio.texi: Likewise.
68221         (O_NOCTTY): Document as present on GNU/Linux.
68222         * manual/maint.texi: Likewise.
68223         * manual/memory.texi: Likewise.
68224         * manual/pattern.texi: Likewise.
68225         * manual/pipe.texi: Likewise.
68226         * manual/process.texi: Likewise.
68227         * manual/resource.texi: Likewise.
68228         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68229         child on GNU/Hurd.
68230         * manual/setjmp.texi: Likewise.
68231         * manual/signal.texi: Likewise.
68232         * manual/startup.texi: Likewise.
68233         * manual/stdio.texi: Likewise.
68234         * manual/terminal.texi: Likewise.
68235         (ONLCR): Document as POSIX.
68236         (OXTABS): Document availability on GNU/Linux as XTABS.
68237         (ONOEOT): Document availability separately from other bits.
68238         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68239         * manual/time.texi: Likewise.
68240         * manual/users.texi: Likewise.
68241         * INSTALL: Regenerated.
68242         * sysdeps/gnu/errlist.c: Regenerated.
68244         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68245         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68246         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68247         puts.
68248         * configure: Regenerated.
68250 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68252         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68253         default includes instead of AC_HEADER_CHECK.
68254         * sysdeps/i386/configure: Regenerated.
68256         [BZ #10716]
68257         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68258         * math/s_cacoshf.c (__cacoshf): Likewise.
68259         * math/s_cacoshl.c (__cacoshl): Likewise.
68260         * math/s_casinh.c (__casinh): Set signs of result from argument.
68261         * math/s_casinhf.c (__casinhf): Likewise.
68262         * math/s_casinhl.c (__casinhl): Likewise.
68263         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68264         (casinh_test): Add more tests.
68265         * sysdeps/i386/fpu/libm-test-ulps: Update.
68266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68268 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68270         * po/zh_TW.po: Update from translation team.
68272         * login/Makefile (distribute): Remove variable.
68273         * catgets/Makefile: Likewise.
68274         * mach/Makefile: Likewise.
68275         * malloc/Makefile: Likewise.
68276         * misc/Makefile: Likewise.
68277         * iconv/Makefile: Likewise.
68278         * nscd/Makefile: Likewise.
68279         * hurd/Makefile: Likewise.
68280         * manual/Makefile: Likewise.
68281         * locale/Makefile: Likewise.
68282         * intl/Makefile: Likewise.
68283         * conform/Makefile: Likewise.
68284         * nss/Makefile: Likewise.
68285         * time/Makefile: Likewise.
68286         * soft-fp/Makefile: Likewise.
68287         * dirent/Makefile: Likewise.
68288         * gmon/Makefile: Likewise.
68289         * po/Makefile: Likewise.
68290         * rt/Makefile: Likewise.
68291         * socket/Makefile: Likewise.
68292         * math/Makefile: Likewise.
68293         * signal/Makefile: Likewise.
68294         * debug/Makefile: Likewise.
68295         * elf/Makefile: Likewise.
68296         * timezone/Makefile: Likewise.
68297         * stdlib/Makefile: Likewise.
68298         * iconvdata/Makefile: Likewise.
68299         * sunrpc/Makefile: Likewise.
68300         * io/Makefile: Likewise.
68301         * argp/Makefile: Likewise.
68302         * inet/Makefile: Likewise.
68303         * hesiod/Makefile: Likewise.
68304         * grp/Makefile: Likewise.
68305         * csu/Makefile: Likewise.
68306         * wctype/Makefile: Likewise.
68307         * crypt/Makefile: Likewise.
68308         * libio/Makefile: Likewise.
68309         * string/Makefile: Likewise.
68310         * nis/Makefile: Likewise.
68311         * resolv/Makefile: Likewise.
68312         * stdio-common/Makefile: Likewise.
68313         * wcsmbs/Makefile: Likewise.
68314         * dlfcn/Makefile: Likewise.
68315         * posix/Makefile: Likewise.
68317         [BZ #6959]
68318         * timezone/Makefile: Don't install timezone files, just the programs
68319         and scripts.
68321 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68323         * nss/databases.def: Add missing gshadow entry.
68325         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68327 2012-03-06  Marek Polacek  <polacek@redhat.com>
68329         [BZ #13726]
68330         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68331         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68332         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68333         * stdio-common/tst-long-dbl-fphex.c: New file.
68335 2012-03-06  David S. Miller  <davem@davemloft.net>
68337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68338         (set_obp_int): New function.
68339         (get_obp_int): New function.
68340         (__get_clockfreq_via_dev_openprom): Likewise.
68341         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68342         Avoid unused variable warnings on 'val' and use builtin_expect.
68343         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68344         __builtin_expect.
68345         (INLINE_CLONE_SYSCALL): Likewise.
68347 2012-03-05  David S. Miller  <davem@davemloft.net>
68349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68351 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68355         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68356         only for |x| >= 40.
68357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68359 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68362         Replace gettimeofday with __vdso_gettimeofday.
68364         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68365         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68366         __vdso_clock_gettime and __vdso_getcpu.
68368         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68369         time with __vdso_time.
68371 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68373         * manual/lang.texi (size_t): Note types to which size_t may be
68374         equivalent with the GNU C Library, but do not describe when
68375         differences between them are significant.
68377 2012-03-05  Andreas Jaeger  <aj@suse.de>
68379         * sysdeps/i386/fpu/libm-test-ulps: Update.
68381 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68383         [BZ #3976]
68384         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68385         (__ieee754_pow): Save and restore rounding mode and use
68386         round-to-nearest for main computations.
68387         * math/libm-test.inc (pow_test_tonearest): New function.
68388         (pow_test_towardzero): Likewise.
68389         (pow_test_downward): Likewise.
68390         (pow_test_upward): Likewise.
68391         (main): Call the new functions.
68392         * sysdeps/i386/fpu/libm-test-ulps: Update.
68393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68395         [BZ #3976]
68396         * math/libm-test.inc (cosh_test_tonearest): New function.
68397         (cosh_test_towardzero): Likewise.
68398         (cosh_test_downward): Likewise.
68399         (cosh_test_upward): Likewise.
68400         (sinh_test_tonearest): Likewise.
68401         (sinh_test_towardzero): Likewise.
68402         (sinh_test_downward): Likewise.
68403         (sinh_test_upward): Likewise.
68404         (main): Call the new functions.
68405         * sysdeps/i386/fpu/libm-test-ulps: Update.
68406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68408 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68410         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68411         default stack guard is set in last bytes.
68412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68414 2012-03-05  Kees Cook  <keescook@chromium.org>
68416         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68418         [BZ #13656]
68419         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68420         possibly allocate from heap instead of stack.
68421         * stdio-common/bug-vfprintf-nargs.c: New file.
68422         * stdio-common/Makefile (tests): Add nargs overflow test.
68424 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68428 2012-03-03  Marek Polacek  <polacek@redhat.com>
68430         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68431         * math/math_private.h: Likewise.
68432         * stdlib/tst-strtod.c: Likewise.
68433         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68434         * sysdeps/x86_64/bits/atomic.h: Likewise.
68436 2012-03-02  David S. Miller  <davem@davemloft.net>
68438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68442         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68443         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68444         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68445         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68447 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68449         [BZ #13792]
68450         * manual/examples/README: New file, says the example source files
68451         can be used under GPL>=2.
68452         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68453         line containing just "*/".
68454         * manual/examples/add.c: Add copyright header (GPL>=2).
68455         * manual/examples/argp-ex1.c: Likewise.
68456         * manual/examples/argp-ex2.c: Likewise.
68457         * manual/examples/argp-ex3.c: Likewise.
68458         * manual/examples/argp-ex4.c: Likewise.
68459         * manual/examples/atexit.c: Likewise.
68460         * manual/examples/db.c: Likewise.
68461         * manual/examples/dir.c: Likewise.
68462         * manual/examples/dir2.c: Likewise.
68463         * manual/examples/execinfo.c: Likewise.
68464         * manual/examples/filecli.c: Likewise.
68465         * manual/examples/filesrv.c: Likewise.
68466         * manual/examples/fmtmsgexpl.c: Likewise.
68467         * manual/examples/genpass.c: Likewise.
68468         * manual/examples/inetcli.c: Likewise.
68469         * manual/examples/inetsrv.c: Likewise.
68470         * manual/examples/isockad.c: Likewise.
68471         * manual/examples/longopt.c: Likewise.
68472         * manual/examples/memopen.c: Likewise.
68473         * manual/examples/memstrm.c: Likewise.
68474         * manual/examples/mkfsock.c: Likewise.
68475         * manual/examples/mkisock.c: Likewise.
68476         * manual/examples/mygetpass.c: Likewise.
68477         * manual/examples/pipe.c: Likewise.
68478         * manual/examples/popen.c: Likewise.
68479         * manual/examples/rprintf.c: Likewise.
68480         * manual/examples/search.c: Likewise.
68481         * manual/examples/select.c: Likewise.
68482         * manual/examples/setjmp.c: Likewise.
68483         * manual/examples/sigh1.c: Likewise.
68484         * manual/examples/sigusr.c: Likewise.
68485         * manual/examples/stpcpy.c: Likewise.
68486         * manual/examples/strdupa.c: Likewise.
68487         * manual/examples/strftim.c: Likewise.
68488         * manual/examples/strncat.c: Likewise.
68489         * manual/examples/subopt.c: Likewise.
68490         * manual/examples/swapcontext.c: Likewise.
68491         * manual/examples/termios.c: Likewise.
68492         * manual/examples/testopt.c: Likewise.
68493         * manual/examples/testpass.c: Likewise.
68494         * manual/examples/timeval_subtract.c: Likewise.
68496         [BZ #13792]
68497         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68498         function to ...
68499         * manual/timeval_subtract.c.texi: ... here, new file.
68501 2012-03-02  David S. Miller  <davem@davemloft.net>
68503         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68505 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68507         [BZ #3976]
68508         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68509         (__sin): Save and restore rounding mode and use round-to-nearest
68510         for all computations.
68511         (__cos): Save and restore rounding mode and use round-to-nearest
68512         for all computations.
68513         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68514         <fenv.h>.
68515         (tan): Save and restore rounding mode and use round-to-nearest for
68516         all computations.
68517         * math/libm-test.inc (cos_test_tonearest): New function.
68518         (cos_test_towardzero): Likewise.
68519         (cos_test_downward): Likewise.
68520         (cos_test_upward): Likewise.
68521         (sin_test_tonearest): Likewise.
68522         (sin_test_towardzero): Likewise.
68523         (sin_test_downward): Likewise.
68524         (sin_test_upward): Likewise.
68525         (tan_test_tonearest): Likewise.
68526         (tan_test_towardzero): Likewise.
68527         (tan_test_downward): Likewise.
68528         (tan_test_upward): Likewise.
68529         (main): Call the new functions.
68530         * sysdeps/i386/fpu/libm-test-ulps: Update.
68531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68533         [BZ #10135]
68534         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68535         small n, then large n, before computing and testing k+n.
68536         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68538         Likewise.
68539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68540         Likewise.
68541         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68542         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68543         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68544         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68547         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68549         * math/libm-test.inc (scalbn_test): Add more tests.
68550         (scalbln_test): Likewise.
68552         * manual/filesys.texi (mode_t): Describe constraints on size and
68553         signedness, not exact equivalence to a particular type.
68554         (ino_t): Likewise.
68555         (ino64_t): Likewise.
68556         (dev_t): Likewise.
68557         (nlink_t): Likewise.
68558         (blkcnt_t): Likewise.
68559         (blkcnt64_t): Likewise.
68560         * manual/llio.texi (off_t): Likewise.
68562         [BZ #3976]
68563         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68564         (__ieee754_exp): Save and restore rounding mode and use
68565         round-to-nearest for all computations.
68566         * math/libm-test.inc (exp_test_tonearest): New function.
68567         (exp_test_towardzero): Likewise.
68568         (exp_test_downward): Likewise.
68569         (exp_test_upward): Likewise.
68570         (main): Call the new functions.
68571         * sysdeps/i386/fpu/libm-test-ulps: Update.
68572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68574 2012-03-01  Chris Demetriou  <cgd@google.com>
68576         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68577         have predictable order.
68579 2012-03-01  David S. Miller  <davem@davemloft.net>
68581         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68583         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68584         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68585         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68586         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68588         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68589         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68590         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68592         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68593         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68594         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68595         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68596         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68600         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68601         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68602         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68604         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68606         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68611         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68612         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68613         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68614         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68615         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68617         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68618         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68620         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68621         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68622         * sysdeps/sparc/elf/configure: Regenerated.
68624 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68626         * configure.in (AS, LD): Require binutils 2.20 or later.
68627         * configure: Regenerated.
68628         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68629         as required minimum version.
68630         * INSTALL: Regenerated.
68632         [BZ #2541]
68633         [BZ #4108]
68634         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68635         before squaring exponent.
68636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68637         bottom long double and 27 bits of top long double before squaring
68638         exponent.
68639         * math/libm-test.inc (erfc_test): Add more tests.
68640         * sysdeps/i386/fpu/libm-test-ulps: Update.
68641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68644 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68646         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68647         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68648         containing bit-fields.
68649         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68650         * soft-fp/single.h (_FP_UNION_S): Likewise.
68651         * soft-fp/double.h (_FP_UNION_D): Likewise.
68653 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68655         [BZ #13786]
68656         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68657         not include ../strcmp.S.
68658         [USE_AS_STRNCASECMP_L]: Likewise.
68659         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68660         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68661         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68662         (__strncasecmp_l_ia32): Define as alias to
68663         __strncasecmp_l_nonascii.
68665         [BZ #5794]
68666         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68667         * sysdeps/i386/fpu/libm-test-ulps: Update.
68668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68670         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68673 2012-02-29  Jeff Law  <law@redhat.com>
68675         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68676         out of bounds read.
68678 2012-02-29  Marek Polacek  <polacek@redhat.com>
68680         [BZ #13706]
68681         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68682         * elf/Makefile: Add rules to run tst-unused-dep.out.
68684 2012-02-28  David S. Miller  <davem@davemloft.net>
68686         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68687         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68688         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68690         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68691         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68693 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68695         * math/libm-test.inc (llround_test): Move one test from
68696         lround_test.  Use TEST_f_L in moved test.
68697         (lround_test): Move misplaced test to llround_test.  Add testcase
68698         from bug 2561.
68700 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68702         * sysdeps/x86_64/fpu/e_expf.S: New file.
68703         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68705 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68707         [BZ #13637]
68708         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68709         of remain_len that may cause incomplete multi-byte character and
68710         false match.
68711         * posix/bug-regex33.c: New file.
68712         * posix/Makefile (tests): Add bug-regex33.
68714 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68716         * manual/macros.texi: New file.
68717         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68718         * manual/libc.texinfo: Include macros.texi.
68719         * manual/creatute.texi: Likewise.
68720         * manual/install.texi: Likewise.
68721         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68722         @glibcadj{} in references to the GNU C Library.
68723         * manual/charset.texi: Likewise.
68724         * manual/conf.texi: Likewise.
68725         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68726         when not using those macros.
68727         * manual/creature.texi: Likewise.
68728         * manual/crypt.texi: Likewise.
68729         * manual/errno.texi: Likewise.
68730         * manual/filesys.texi: Likewise.
68731         * manual/header.texi: Likewise.
68732         * manual/install.texi: Likewise.
68733         * manual/intro.texi: Likewise.
68734         * manual/io.texi: Likewise.
68735         * manual/job.texi: Likewise.
68736         * manual/lang.texi: Likewise.
68737         * manual/libc.texiinfo: Likewise.
68738         * manual/llio.texi: Likewise.
68739         * manual/locale.texi: Likewise.
68740         * manual/maint.texi: Likewise.
68741         * manual/math.texi: Likewise.
68742         * manual/memory.texi: Likewise.
68743         * manual/message.texi: Likewise.
68744         * manual/nss.texi: Likewise.
68745         * manual/pattern.texi: Likewise.
68746         * manual/process.texi: Likewise.
68747         * manual/resource.texi: Likewise.
68748         * manual/search.texi: Likewise.
68749         * manual/setjmp.texi: Likewise.
68750         * manual/signal.texi: Likewise.
68751         * manual/socket.texi: Likewise.
68752         * manual/startup.texi: Likewise.
68753         * manual/stdio.texi: Likewise.
68754         * manual/string.texi: Likewise.
68755         * manual/sysinfo.texi: Likewise.
68756         * manual/syslog.texi: Likewise.
68757         * manual/terminal.texi: Likewise.
68758         * manual/time.texi: Likewise.
68759         * manual/users.texi: Likewise.
68760         * INSTALL: Regenerated.
68761         * NOTES: Regenerated.
68762         * sysdeps/gnu/errlist.c: Regenerated.
68764 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68766         * include/dirent.h: Include <dirstream.h> before
68767         <dirent/dirent.h>.
68769 2012-02-28  David S. Miller  <davem@davemloft.net>
68771         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68772         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68773         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68774         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68776 2012-02-27  David S. Miller  <davem@davemloft.net>
68778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68780         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68781         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68784         frame pointer instead of stack pointer relative arg slot.
68785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68789 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68791         [BZ #3992]
68792         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68794 2012-02-27  David S. Miller  <davem@davemloft.net>
68796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68800         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68801         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68802         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68803         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68805 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68807         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68808         later.  Allow versions 5-9.
68809         * configure: Regenerated.
68810         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68811         required minimum version and 4.6 as recommended version.  Do not
68812         mention bugs in GCC 2.7 and 2.8.
68813         * INSTALL: Regenerated.
68815 2012-02-27  David S. Miller  <davem@davemloft.net>
68817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68821         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68822         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68823         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68824         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68827         manipulate bits before adding and subtracting TWO112[sx].
68828         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68830 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68832         [BZ #13775]
68833         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68834         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68835         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68836         being in POSIX, because they are in 1003.1-2008.
68838         * rt/tst-aio.c: Include <fcntl.h>.
68839         * rt/tst-aio7.c: Likewise.
68840         * rt/tst-aio64.c: Likewise.
68842         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68844 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68846         * manual/install.texi (--with-headers): Describe headers as
68847         interface headers, not private headers.
68848         (Specific advice for GNU/Linux systems): Describe use of headers
68849         from "make headers_install", not private headers from older
68850         kernels.
68851         * INSTALL: Regenerated.
68852         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68853         Change to 2.6.19.
68854         * sysdeps/unix/sysv/linux/configure: Regenerated.
68856         * manual/llio.texi (fclean): Remove documentation.
68858         * manual/Makefile (libc-texi-generated): New variable.  Include
68859         version.texi.
68860         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68861         $(libc-texi-generated), not duplicated list of files.
68862         (version.texi, stamp-version): New rules.
68863         (realclean): Remove $(libc-texi-generated), not individual files
68864         from that list.  Do not remove dir-add.texinfo.
68865         * manual/libc.texinfo: Comment out uses of edition numbers and
68866         references to printed manual.  Remove last-updated dates.
68867         (EDITION): Comment out.
68868         (ISBN): Likewise.
68869         (VERSION, UPDATED): Remove.
68870         (version.texi): Include.
68872 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68874         * sysdeps/posix/spawni.c: Include <signal.h>.
68875         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68876         * sysdeps/pthread/aio_fsync.c: Likewise.
68878 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68880         * conform/Makefile (tests): Run only when not cross-compiling and
68881         when fast-check is not defined.
68883         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68884         * conform/data/limits.h-data: Fixes for POSIX2008.
68885         * conform/run-conformtest.sh: Run all tests.
68886         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68887         headers.
68888         * include/bits/dlfcn.h: Likewise.
68889         * include/langinfo.h: Likewise.
68890         * include/monetary.h: Likewise.
68891         * include/sys/poll.h: Likewise.
68893         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68894         for __USE_GNU.
68895         * posix/spawn.h: Define __need_sigset_t.
68896         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68897         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68898         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68899         to get sigevent_t only.
68900         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68901         only for __USE_GNU.
68902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68903         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68904         process_vm_writev only for __USE_GNU.
68905         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68907         * conform/Makefile: For now ignore errors from run-conformtest.
68908         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68909         POSIX to avoid namespace pollution.  Don't prepend headers.
68910         * conform/data/aio.h-data: Fixes for POSIX testing.
68911         * conform/data/fcntl.h-data: Likewise.
68912         * conform/data/glob.h-data: Likewise.
68913         * conform/data/grp.h-data: Likewise.
68914         * conform/data/pthread.h-data: Likewise.
68915         * conform/data/pwd.h-data: Likewise.
68916         * conform/data/signal.h-data: Likewise.
68917         * conform/data/spawn.h-data: Likewise.
68918         * conform/data/stdio.h-data: Likewise.
68919         * conform/data/stdlib.h-data: Likewise.
68920         * conform/data/stropts.h-data: Likewise.
68921         * conform/data/sys/mman.h-data: Likewise.
68922         * conform/data/sys/stat.h-data: Likewise.
68923         * conform/data/sys/types.h-data: Likewise.
68924         * conform/data/sys/wait.h-data: Likewise.
68925         * conform/data/time.h-data: Likewise.
68926         * conform/data/unistd.h-data: Likewise.
68927         * conform/data/utime.h-data: Likewise.
68929         * io/sys/stat.h: fchmod was always in POSIX.
68930         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68931         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68932         * rt/aio.h: Define __need_timespec before including <time.h>.
68933         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68934         struct.  Add forward declaration of pthread_attr_t and use it in
68935         sigevent.
68936         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68938         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68939         always remove CLK_TCK definition.
68941 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68943         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68945 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68947         * conform/run-conformtest.sh: New file.
68948         * conform/Makefile: Run run-conformtest for tests.
68949         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68950         support.
68952         * conform/data/uchar.h-data: New file.
68953         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68954         * conform/data/arpa/inet.h-data: Likewise.
68955         * conform/data/assert.h-data: Likewise.
68956         * conform/data/complex.h-data: Likewise.
68957         * conform/data/cpio.h-data: Likewise.
68958         * conform/data/ctype.h-data: Likewise.
68959         * conform/data/dirent.h-data: Likewise.
68960         * conform/data/dlfcn.h-data: Likewise.
68961         * conform/data/errno.h-data: Likewise.
68962         * conform/data/fcntl.h-data: Likewise.
68963         * conform/data/float.h-data: Likewise.
68964         * conform/data/fmtmsg.h-data: Likewise.
68965         * conform/data/fnmatch.h-data: Likewise.
68966         * conform/data/ftw.h-data: Likewise.
68967         * conform/data/glob.h-data: Likewise.
68968         * conform/data/grp.h-data: Likewise.
68969         * conform/data/iconv.h-data: Likewise.
68970         * conform/data/inttypes.h-data: Likewise.
68971         * conform/data/langinfo.h-data: Likewise.
68972         * conform/data/libgen.h-data: Likewise.
68973         * conform/data/limits.h-data: Likewise.
68974         * conform/data/locale.h-data: Likewise.
68975         * conform/data/math.h-data: Likewise.
68976         * conform/data/monetary.h-data: Likewise.
68977         * conform/data/mqueue.h-data: Likewise.
68978         * conform/data/ndbm.h-data: Likewise.
68979         * conform/data/net/if.h-data: Likewise.
68980         * conform/data/netdb.h-data: Likewise.
68981         * conform/data/netinet/in.h-data: Likewise.
68982         * conform/data/nl_types.h-data: Likewise.
68983         * conform/data/poll.h-data: Likewise.
68984         * conform/data/pthread.h-data: Likewise.
68985         * conform/data/pwd.h-data: Likewise.
68986         * conform/data/regex.h-data: Likewise.
68987         * conform/data/sched.h-data: Likewise.
68988         * conform/data/search.h-data: Likewise.
68989         * conform/data/semaphore.h-data: Likewise.
68990         * conform/data/setjmp.h-data: Likewise.
68991         * conform/data/signal.h-data: Likewise.
68992         * conform/data/spawn.h-data: Likewise.
68993         * conform/data/stdarg.h-data: Likewise.
68994         * conform/data/stdio.h-data: Likewise.
68995         * conform/data/stdlib.h-data: Likewise.
68996         * conform/data/string.h-data: Likewise.
68997         * conform/data/strings.h-data: Likewise.
68998         * conform/data/stropts.h-data: Likewise.
68999         * conform/data/sys/ipc.h-data: Likewise.
69000         * conform/data/sys/mman.h-data: Likewise.
69001         * conform/data/sys/msg.h-data: Likewise.
69002         * conform/data/sys/resource.h-data: Likewise.
69003         * conform/data/sys/select.h-data: Likewise.
69004         * conform/data/sys/sem.h-data: Likewise.
69005         * conform/data/sys/shm.h-data: Likewise.
69006         * conform/data/sys/socket.h-data: Likewise.
69007         * conform/data/sys/stat.h-data: Likewise.
69008         * conform/data/sys/statvfs.h-data: Likewise.
69009         * conform/data/sys/time.h-data: Likewise.
69010         * conform/data/sys/timeb.h-data: Likewise.
69011         * conform/data/sys/times.h-data: Likewise.
69012         * conform/data/sys/types.h-data: Likewise.
69013         * conform/data/sys/uio.h-data: Likewise.
69014         * conform/data/sys/un.h-data: Likewise.
69015         * conform/data/sys/utsname.h-data: Likewise.
69016         * conform/data/sys/wait.h-data: Likewise.
69017         * conform/data/syslog.h-data: Likewise.
69018         * conform/data/tar.h-data: Likewise.
69019         * conform/data/termios.h-data: Likewise.
69020         * conform/data/utime.h-data: Likewise.
69021         * conform/data/utmpx.h-data: Likewise.
69022         * conform/data/varargs.h-data: Likewise.
69023         * conform/data/wchar.h-data: Likewise.
69024         * conform/data/wctype.h-data: Likewise.
69025         * conform/data/wordexp.h-data: Likewise.
69027         * include/stropts.h: New file.
69028         * include/uchar.h: New file.
69029         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69030         * include/assert.h: Likewise.
69031         * include/ctype.h: Likewise.
69032         * include/dirent.h: Likewise.
69033         * include/dlfcn.h: Likewise.
69034         * include/fcntl.h: Likewise.
69035         * include/fnmatch.h: Likewise.
69036         * include/glob.h: Likewise.
69037         * include/grp.h: Likewise.
69038         * include/libio.h: Likewise.
69039         * include/locale.h: Likewise.
69040         * include/math.h: Likewise.
69041         * include/net/if.h: Likewise.
69042         * include/netdb.h: Likewise.
69043         * include/netinet/in.h: Likewise.
69044         * include/pthread.h: Likewise.
69045         * include/pwd.h: Likewise.
69046         * include/regex.h: Likewise.
69047         * include/sched.h: Likewise.
69048         * include/search.h: Likewise.
69049         * include/setjmp.h: Likewise.
69050         * include/signal.h: Likewise.
69051         * include/stdio.h: Likewise.
69052         * include/stdlib.h: Likewise.
69053         * include/string.h: Likewise.
69054         * include/sys/cdefs.h: Likewise.
69055         * include/sys/mman.h: Likewise.
69056         * include/sys/msg.h: Likewise.
69057         * include/sys/resource.h: Likewise.
69058         * include/sys/select.h: Likewise.
69059         * include/sys/socket.h: Likewise.
69060         * include/sys/stat.h: Likewise.
69061         * include/sys/statvfs.h: Likewise.
69062         * include/sys/time.h: Likewise.
69063         * include/sys/times.h: Likewise.
69064         * include/sys/uio.h: Likewise.
69065         * include/sys/utsname.h: Likewise.
69066         * include/sys/wait.h: Likewise.
69067         * include/termios.h: Likewise.
69068         * include/time.h: Likewise.
69069         * include/ulimit.h: Likewise.
69070         * include/unistd.h: Likewise.
69071         * include/utime.h: Likewise.
69072         * include/wchar.h: Likewise.
69073         * include/wctype.h: Likewise.
69074         * include/wordexp.h: Likewise.
69076         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69078         * time/time.h: TIME_UTC must be a macro.
69079         Make timespec_get available for ISO C11 only as well.
69081 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69083         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69084         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69086 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69088         * configure.in: Use -o not -a in test for unsupported multi-arch.
69090 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69092         * manual/texinfo.tex: Update to version 2012-01-19.16.
69094 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69096         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69098 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69100         [BZ #13738]
69101         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69102         * manual/fdl-1.3.texi: New file.
69103         * manual/fdl-1.1.texi: File removed.
69105         [BZ #13738]
69106         * manual/libc.texinfo (FDL_VERSION): New @set.
69107         Use it for mention of FDL in cover text.
69108         (Documentation License): Use it in @include file name.
69110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69111             Roland McGrath  <roland@hack.frob.com>
69113         [BZ #5461]
69114         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69115         (not LONG_LONG_MAX and LONG_LONG_MIN.
69116         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69117         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69118         name.
69119         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69123         [BZ #2547]
69124         [BZ #11365]
69125         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69126         manipulate bits before adding and subtracting TWO23[sx].
69127         * math/libm-test.inc (nearbyint_test): Add more tests.
69129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69131         [BZ #2548]
69132         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69133         bits before adding and subtracting TWO23[sx].
69134         * math/libm-test.inc (rint_test): Add more tests.
69135         (rint_test_tonearest): Likewise.
69136         (rint_test_towardzero): Likewise.
69137         (rint_test_downward): Likewise.
69138         (rint_test_upward: Likewise.
69140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69142         [BZ #10110]
69143         * include/stdc-predef.h: New file.  Extracted from features.h.
69144         * include/features.h: Include stdc-predef.h.
69145         * Makefile (headers): Add stdc-predef.h.
69146         * CONFORMANCE (Compiler limitations): Update.
69148 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69150         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69152 2012-02-21  David S. Miller  <davem@davemloft.net>
69154         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69155         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69157 2012-02-20  David S. Miller  <davem@davemloft.net>
69159         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69160         using a normal save/restore sequence, rather than allocating a
69161         dummy stack frame just to store a frame pointer and restore.
69162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69164 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69166         * manual/install.texi: Fix stray word in line-wrapped comment.
69168 2012-02-20  David S. Miller  <davem@davemloft.net>
69170         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69171         both binutils and gcc support GOTDATA.
69173         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69174         "rd %pc" in the PIC register setup sequences.
69176         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69177         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69178         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69179         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69180         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69182         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69185         (SYSCALL_ERROR_HANDLER): Likewise.
69186         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69189         (SYSCALL_ERROR_HANDLER): Likewise.
69191         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69192         (HAVE_GCC_GOTDATA): New.
69193         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69194         relocation support in both binutils and gcc.
69195         * sysdeps/sparc/elf/configure: Regenerate.
69197         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69198         * sysdeps/sparc/sparc32/elf/configure: Delete.
69199         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69200         * sysdeps/sparc/sparc64/elf/configure: Delete.
69201         * sysdeps/sparc/elf/configure.in: New file.
69202         * sysdeps/sparc/elf/configure: Generate.
69204         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69205         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69206         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69207         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69208         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69210 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69212         * manual/install.texi: Do not mention specific glibc version
69213         numbers.
69214         * manual/libc.texinfo (VERSION, UPDATED): Update.
69215         (@copying): Use @copyright{} and range of years.
69217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69219         [BZ #13695]
69220         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69221         [crti.S not in sysdirs] (generated): Do not append.
69222         [crti.S not in sysdirs] (omit-deps): Likewise.
69223         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69224         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69225         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69226         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69227         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69228         Likewise.
69229         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69230         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69231         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69232         * csu/defs.awk: Remove file.
69233         * sysdeps/generic/initfini.c: Likewise.
69234         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69235         variable.
69236         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69237         Likewise.
69239 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69241         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69242         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69243         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69244         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69245         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69246         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69247         <bits/epoll.h>.
69248         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69249         (__EPOLL_PACKED): Define to empty if not defined by
69250         <bits/epoll.h>.
69251         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69253         bits/epoll.h.
69255 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69257         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69258         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69259         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69260         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69261         <bits/timerfd.h>.
69262         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69264         bits/timerfd.h.
69266 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69268         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69269         in C locale.
69270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69271         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69272         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69275 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69278         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69280 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69282         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69283         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69284         defined.
69285         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69286         Likewise.
69287         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69288         entry for 2.16.
69290 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69292         * math/w_acos.c: Use non-signaling floating-point comparisons.
69293         * math/w_acosf.c: Likewise.
69294         * math/w_acosh.c: Likewise.
69295         * math/w_acoshf.c: Likewise.
69296         * math/w_acoshl.c: Likewise.
69297         * math/w_acosl.c: Likewise.
69298         * math/w_asin.c: Likewise.
69299         * math/w_asinf.c: Likewise.
69300         * math/w_asinl.c: Likewise.
69301         * math/w_atanh.c: Likewise.
69302         * math/w_atanhf.c: Likewise.
69303         * math/w_atanhl.c: Likewise.
69304         * math/w_exp2.c: Likewise.
69305         * math/w_exp2f.c: Likewise.
69306         * math/w_exp2l.c: Likewise.
69307         * math/w_j0.c: Likewise.
69308         * math/w_j0f.c: Likewise.
69309         * math/w_j0l.c: Likewise.
69310         * math/w_j1.c: Likewise.
69311         * math/w_j1f.c: Likewise.
69312         * math/w_j1l.c: Likewise.
69313         * math/w_jn.c: Likewise.
69314         * math/w_jnf.c: Likewise.
69315         * math/w_log.c: Likewise.
69316         * math/w_log10.c: Likewise.
69317         * math/w_log10f.c: Likewise.
69318         * math/w_log10l.c: Likewise.
69319         * math/w_log2.c: Likewise.
69320         * math/w_log2f.c: Likewise.
69321         * math/w_log2l.c: Likewise.
69322         * math/w_logf.c: Likewise.
69323         * math/w_logl.c: Likewise.
69324         * math/w_sqrt.c: Likewise.
69325         * math/w_sqrtf.c: Likewise.
69326         * math/w_sqrtl.c: Likewise.
69327         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69328         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69330         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69331         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69335         [BZ #9739]
69336         * manual/string.texi (strnlen): Use correct parameter name in
69337         equivalent expression.
69339 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69341         [BZ #11174]
69342         * manual/users.texi (seteuid): Consistently use neweuid for
69343         argument name.
69345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69347         [BZ #13704]
69348         * manual/nss.texi (Services in the NSS configuration): Correct
69349         list of services in example configuration file.
69351 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69353         [BZ #11322]
69354         * manual/arith.texi: Remove statements about negative zero
69355         behaving identically to zero.
69357 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69359         [BZ #5993]
69360         * manual/install.texi: Do not document upgrading from libc5.
69362 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69364         [BZ #4596]
69365         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69367 2012-02-18  David S. Miller  <davem@davemloft.net>
69369         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69370         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69371         %o7 across the call.
69372         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69373         instead.
69374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69375         SETUP_PIC_REG_LEAF.
69376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69377         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69378         * sysdeps/sparc/crtn.S: Likewise.
69380 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69382         * aout/Makefile: Remove.
69384 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69386         [BZ #13058]
69387         * manual/examples/argp-ex1.c (main): Format definition in GNU
69388         style.
69389         * manual/examples/argp-ex2.c (main): Likewise.
69390         * manual/examples/argp-ex3.c (main): Likewise.
69391         * manual/examples/argp-ex4.c (main): Likewise.
69392         * manual/examples/longopt.c (main): Use new-style prototype
69393         definition.
69394         * manual/examples/strncat.c (main): Specify return type and use
69395         (void) for arguments.
69396         * manual/examples/subopt.c (main): Use char **argv argument.
69398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69400         [BZ #5077]
69401         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69402         rounding modes.
69404 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69406         [BZ #6907]
69407         * manual/string.texi (strchr): Change when strchrnul is
69408         recommended.
69410 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69412         [BZ #174]
69413         * manual/locale.texi (setlocale): Document LOCPATH.
69415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69417         [BZ #10210]
69418         * manual/process.texi (execle): Move @dots{} before last argument.
69420 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69422         [BZ #12047]
69423         * manual/charset.texi (Generic Charset Conversion): Fix typo
69424         (LC_TYPE -> LC_CTYPE).
69426 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69428         [BZ #5805]
69429         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69430         (scalbnf): Likewise.
69431         (scalbnl): Likewise.
69432         (scalbln): Likewise.
69433         (scalblnf): Likewise.
69434         (scalblnl): Likewise.
69435         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69436         (vwarnx): Likewise.
69437         (verr): Likewise.
69438         (verrx): Likewise.
69439         * manual/filesys.texi (telldir): Use braces around return type.
69440         * manual/llio.texi (mmap): Add space after comma.
69441         (mmap64): Likewise.
69442         * manual/math.texi (jn): Use @var{} on parameter names.
69443         (jnf): Likewise.
69444         (jnl): Likewise.
69445         (yn): Likewise.
69446         (ynf): Likewise.
69447         (ynl): Likewise.
69448         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69449         line.
69450         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69451         "...".
69452         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69453         (sched_get_priority_max): Likewise.
69454         * manual/signal.texi (sigvec): Add space after comma.
69455         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69456         names.
69457         (if_indextoname): Likewise.
69458         (if_freenameindex): Likewise.
69459         (sendto): Use ',' instead of '.' in prototype.
69460         * manual/startup.texi (syscall): Use @dots{} instead of literal
69461         "...".
69462         * manual/stdio.texi (__fpending): Separate initial words of
69463         paragraph from @deftypefun line.
69464         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69465         "...".
69466         (vsyslog): Use @var{} on parameter names.
69467         * manual/terminal.texi (stty): Use @var{} on parameter names.
69468         * manual/users.texi (getutmp): Use @var{} on parameter names.
69469         (getutmpx): Likewise.
69471 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69473         [BZ #6884]
69474         * manual/stdio.texi (fopen): Fix typos in description of
69475         ",ccs=STRING".
69477 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69479         [BZ #4026]
69480         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69481         get clock_id definition.
69483 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69485         [BZ #4822]
69486         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69487         (madvise): Cast every argument to void on its own.
69489 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69491         [BZ #9902]
69492         * manual/startup.texi (Exit Status): Fix typo.
69494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69496         [BZ #10140]
69497         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69498         * manual/examples/argp-ex2.c: Likewise.
69499         * manual/examples/argp-ex3.c: Likewise.
69501 2012-02-16  Richard Henderson  <rth@redhat.com>
69503         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69504         * sysdeps/s390/s390-32/initfini.c: Remove.
69505         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69506         * sysdeps/s390/s390-64/initfini.c: Remove.
69508 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69510         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69511         compiler output for sysdeps/generic/initfini.c.
69512         * sysdeps/sh/elf/initfini.c: Remove file.
69514 2012-02-16  David S. Miller  <davem@davemloft.net>
69516         [BZ #11494]
69517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69519         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69520         * sysdeps/sparc/crti.S: New file.
69521         * sysdeps/sparc/crtn.S: New file.
69522         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69523         * sysdeps/sparc/sparc64/Makefile: Likewise.
69525 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69527         [BZ #3335]
69528         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69530 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69532         [BZ #4822]
69533         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69535         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69536         (write, read, close): Likewise.
69537         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69539 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69541         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69542         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69543         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69544         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69545         <bits/signalfd.h>.
69546         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69548         bits/signalfd.h.
69550 2012-02-14  Marek Polacek  <polacek@redhat.com>
69552         * sysdeps/x86_64/crti.S: New file.
69553         * sysdeps/x86_64/crtn.S: New file.
69554         * sysdeps/x86_64/elf/initfini.c: Remove file.
69556 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69558         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69559         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69560         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69561         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69562         <bits/inotify.h>.
69563         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69565         bits/inotify.h.
69567 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69569         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69570         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69571         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69572         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69573         <bits/eventfd.h>.
69574         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69576         bits/eventfd.h.
69578 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69580         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69581         __feraiseexcept instead of feraiseexcept.
69583         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69584         nanosleep invocations.
69585         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69586         strings, and add error checking for a nanosleep invocations.
69588 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69590         Replace FSF snail mail address with URLs, as per GNU coding standards.
69591         Most of the snail mail addresses were wrong anyway, and omitting
69592         them makes the source code easier to maintain.  Almost all of the
69593         changes are to license notices and to locale LC_IDENTIFICATION
69594         addresses, except for this one:
69595         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69596         not its snail mail address.
69598 2012-02-09  Richard Henderson  <rth@twiddle.net>
69600         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69601         of kernel-features.h.
69603         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69605 2012-02-08  Marek Polacek  <polacek@redhat.com>
69607         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69608         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69609         * sysdeps/gnu/_G_config.h: Likewise.
69610         * sysdeps/generic/_G_config.h: Likewise.
69612 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69614         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69615         tests.
69616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69618         * sysdeps/powerpc/powerpc32/crti.S: New file.
69619         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69620         * sysdeps/powerpc/powerpc64/crti.S: New file.
69621         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69623         * Makeconfig (have-initfini): Don't set.
69624         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69625         * configure.in (nopic_initfini): Don't substitute.
69626         * config.h.in (HAVE_INITFINI): Don't #undef.
69627         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69628         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69630 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69632         Support crti.S and crtn.S provided directly by architectures.
69633         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69634         [crti.S in sysdirs] (omit-deps): Likewise.
69635         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69636         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69637         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69638         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69639         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69640         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69641         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69642         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69643         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69644         compiler output for sysdeps/generic/initfini.c.
69645         * sysdeps/i386/elf/Makefile: Remove file.
69646         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69648 2012-02-07  Marek Polacek  <polacek@redhat.com>
69650         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69651         * sysdeps/gnu/_G_config.h: Likewise.
69652         * sysdeps/mach/hurd/_G_config.h: Likewise.
69654 2012-02-07  Marek Polacek  <polacek@redhat.com>
69656         * math/Makefile (tests): Add tst-CMPLX2.
69657         * math/tst-CMPLX2.c: New file.
69659 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69661         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69663         * math/libm-test.inc (jn_test): Add missing L suffix.
69665 2012-02-06  Marek Polacek  <polacek@redhat.com>
69667         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69668         * sysdeps/i386/fpu/e_powf.S: Likewise.
69669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69670         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69672         * sysdeps/i386/fpu/e_pow.S: Likewise.
69673         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69674         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69675         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69676         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69677         * sysdeps/i386/fpu/e_log2.S: Likewise.
69678         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69679         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69680         * sysdeps/i386/fpu/e_powl.S: Likewise.
69681         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69682         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69683         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69684         * sysdeps/i386/fpu/e_logl.S: Likewise.
69685         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69686         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69687         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69688         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69689         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69690         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69691         * sysdeps/i386/fpu/e_log.S: Likewise.
69692         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69693         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69694         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69695         * sysdeps/i386/fpu/e_logf.S: Likewise.
69696         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69697         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69698         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69699         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69700         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69701         * sysdeps/i386/fpu/e_log10.S: Likewise.
69702         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69703         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69704         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69705         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69706         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69707         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69708         * sysdeps/i386/asm-syntax.h: Likewise.
69709         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69710         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69711         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69712         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69713         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69714         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69715         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69716         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69717         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69718         * sysdeps/powerpc/sysdep.h: Likewise.
69719         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69720         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69722 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69724         [BZ #411]
69725         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69727 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69729         * sysdeps/i386/sysdep.h: Include <features.h>.
69730         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69731         version.
69733 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69735         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69736         Define.
69737         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69738         LOAD_PIC_REG_STR.
69740 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69742         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69743         (SETUP_PIC_REG): Use GET_PC_THUNK.
69744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69745         macro.
69747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69749         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69750         for non-PIC compilation.
69751         (SETUP_PIC_REG): Add .p2align directive.
69752         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69753         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69754         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69755         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69757         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69758         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69759         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69760         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69761         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69762         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69763         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69764         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69765         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69766         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69767         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69768         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69769         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69770         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69771         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69772         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69773         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69774         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69775         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69778         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69780         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69781         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69782         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69783         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69784         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69785         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69786         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69787         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69788         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69789         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69790         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69791         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69792         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69794 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69796         * math/tst-CMPLX.c: Include <stdio.h>.
69798 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69800         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69801         float.
69802         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69803         * sysdeps/sparc/bits/mathdef.h: Likewise.
69805 2012-01-31  Marek Polacek  <polacek@redhat.com>
69807         * libio/libio.h: Don't define _PARAMS.
69808         * locale/programs/config.h: Don't define PARAMS.
69809         * stdlib/strtol_l.c: Likewise.
69810         (__strtol_l): Remove PARAMS from the prototype.
69812 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69814         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69815         names.  Just use the correct names.  Remove unnecessary wrapper
69816         functions.
69817         * malloc/arena.c: Likewise.
69818         * malloc/hooks.c: Likewise.
69820         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69821         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69822         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69824 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69826         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69827         into tail calls.
69828         (update_get_addr): New function.
69829         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69830         GET_ADDR_MODULE parameter.
69832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69834         * crypt/cert.c: Remove __STDC__ conditionals.
69835         * crypt/crypt-entry.c: Likewise.
69836         * crypt/crypt_util.c: Likewise.
69837         * libio/filedoalloc.c: Likewise.
69838         * libio/fileops.c: Likewise.
69839         * libio/genops.c: Likewise.
69840         * libio/iofclose.c: Likewise.
69841         * libio/iofdopen.c: Likewise.
69842         * libio/iofopen.c: Likewise.
69843         * libio/iofopen64.c: Likewise.
69844         * libio/iogetdelim.c: Likewise.
69845         * libio/iopopen.c: Likewise.
69846         * libio/obprintf.c: Likewise.
69847         * libio/oldfileops.c: Likewise.
69848         * libio/oldiofclose.c: Likewise.
69849         * libio/oldiofdopen.c: Likewise.
69850         * libio/oldiofopen.c: Likewise.
69851         * libio/oldiopopen.c: Likewise.
69852         * libio/wfiledoalloc.c: Likewise.
69853         * libio/wgenops.c: Likewise.
69854         * locale/programs/xmalloc.c: Likewise.
69855         * misc/syslog.c: Likewise.
69856         * stdio-common/xbug.c: Likewise.
69857         * string/memchr.c: Likewise.
69858         * string/memcmp.c: Likewise.
69859         * string/memrchr.c: Likewise.
69860         * string/rawmemchr.c: Likewise.
69861         * sysdeps/posix/getcwd.c: Likewise.
69862         * time/strftime_l.c: Likewise.
69864 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69866         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69867         * config.make.in (config-cflags-sse2avx): Define.
69868         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69869         Fix typo.
69871 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69873         * scripts/config.guess: Update from upstream config git repository.
69874         * scripts/config.sub: Likewise.
69876 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69878         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69879         (EM_NUM): Update.
69880         (R_TILEPRO_*, R_TILEGX_*): New macros.
69882         * scripts/firstversions.awk: Fix bug in version range handling.
69884         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69886         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69888         * include/sys/epoll.h: New file.
69889         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69890         libc_hidden_def.
69892 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69894         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69895         Avoid unnecessary __WORDSIZE == 64 test.
69896         (fmaxf): Use VEX format if possible.
69897         (fmax): Likewise.
69898         (fminf): Likewise.
69899         (fmin): Likewise.
69901         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69902         * math/math_private.h: Remove libc_fegetround* and
69903         libc_fesetround*.
69904         * sysdeps/i386/configure.in: Check for -msse2avx.
69905         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69906         also if SSE2AVX is defined.
69907         Remove libc_fegetround* and libc_fesetround*.
69908         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69909         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69911         of HAS_YMM_USABLE.
69912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69913         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69918         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69920 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69922         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69923         size is not set.
69924         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69926 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69928         [BZ #13618]
69929         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69930         relocation.
69931         * Makeconfig (libm): Define.
69932         * elf/Makefile: Add rules to build and run tst-relsort1.
69933         * elf/tst-relsort1.c: New file.
69934         * elf/tst-relsort1mod1.c: New file.
69935         * elf/tst-relsort1mod2.c: New file.
69937 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69939         * math/s_ldexp.c: Remove __STDC__ conditionals.
69940         * math/s_ldexpf.c: Likewise.
69941         * math/s_ldexpl.c: Likewise.
69942         * math/s_nextafter.c: Likewise.
69943         * math/s_nexttowardf.c: Likewise.
69944         * math/s_significand.c: Likewise.
69945         * math/s_significandf.c: Likewise.
69946         * math/s_significandl.c: Likewise.
69947         * math/w_jnl.c: Likewise.
69948         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69949         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69950         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69951         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69952         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69954         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69958         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69959         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69960         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69961         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69962         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69963         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69964         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69965         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69967         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69968         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69969         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69970         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69972         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69973         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69974         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69975         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69976         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69977         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69979         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69980         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69982         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69983         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69985         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69986         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69987         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69988         * sysdeps/ieee754/k_standard.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69990         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69991         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69996         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69997         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69998         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69999         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70001         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70002         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70008         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70011         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70012         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70013         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70014         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70017         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70018         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70019         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70020         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70021         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70022         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70023         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70024         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70025         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70028         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70029         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70031         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70034         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70037         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70038         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70043         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70044         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70045         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70047         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70050         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70053         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70054         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70055         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70057         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70059         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70060         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70064         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70066         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70067         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70068         * sysdeps/ieee754/s_matherr.c: Likewise.
70069         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70070         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70076         * crypt/md5.h: Remove __STDC__ conditionals.
70077         * libio/libioP.h: Likewise.
70078         * locale/programs/config.h: Likewise.
70079         * sysdeps/generic/sysdep.h: Likewise.
70080         * sysdeps/i386/asm-syntax.h: Likewise.
70081         * sysdeps/s390/asm-syntax.h: Likewise.
70082         * sysdeps/unix/sysdep.h: Likewise.
70083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70086 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70088         * libio/libio.h: Remove __STDC__ conditionals.
70089         * malloc/obstack.h: Likewise.
70090         * math/complex.h: Likewise.
70091         * math/math.h: Likewise.
70092         * sysdeps/generic/_G_config.h: Likewise.
70093         * sysdeps/gnu/_G_config.h: Likewise.
70094         * sysdeps/mach/hurd/_G_config.h: Likewise.
70095         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70096         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70097         * sysdeps/sparc/bits/mathdef.h: Likewise.
70099 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70101         [BZ #13583]
70102         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70103         Clean up HAS_* macros.
70104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70105         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70106         possible.
70107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70108         HAS_AVX.
70109         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70110         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70111         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70115 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70117         * elf/tst-unique3.cc (gets): Remove declaration.
70118         * elf/tst-unique3lib.cc (gets): Likewise.
70119         * elf/tst-unique3lib2.cc (gets): Likewise.
70120         * elf/tst-unique4.cc (gets): Likewise.
70122 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70124         * include/stdio.h: Add C++ protection.  Add gets declarations and
70125         definitions.
70126         * debug/tst-chk1.c: Don't declare gets here.
70127         * stdio-common/tst-gets.c: Likewise.
70129 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70131         * posix/glob: Remove directory.
70133 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70135         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70137 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70139         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70140         of the non-standard EPFNOSUPPORT.
70142 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70144         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70145         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70146         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70148 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70150         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70152 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70154         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70155         transient errors.
70156         * nscd/grpcache.c (cache_addgr): Likewise.
70157         * nscd/hstcache.c (cache_addhst): Likewise.
70158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70159         * nscd/pwdcache.c (cache_addpw): Likewise.
70160         * nscd/servicescache.c (cache_addserv): Likewise.
70162 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70164         * malloc/malloc.c: Various cleanups.
70165         * malloc/hooks.c: Likewise.
70167         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70168         * stdlib/bug-fmtmsg1.c: New file.
70170         * stdlib/fmtmsg.c (init): Add missing unlock.
70171         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70173 2012-01-12  Marek Polacek  <polacek@redhat.com>
70175         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70176         and _GNU_SOURCE.
70178 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70180         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70181         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70182         macro to ensure uniqueness of label name.
70183         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70184         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70186 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70188         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70190         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70191         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70195 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70197         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70199         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70200         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70201         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70203         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70205         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70207         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70210         * math/bits/math-finite.h: Add ldexp support.
70212 2012-01-10  Marek Polacek  <polacek@redhat.com>
70214         * locale/programs/localedef.h (show_archive_content): Add noreturn
70215         attribute.
70217 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70219         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70221 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70223         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70225         * io/Makefile (headers): Add bits/poll2.h.
70227 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70230         typo #include statement.
70232 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70234         * include/sys/cdefs.h: Define __attribute_alloc_size.
70235         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70236         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70237         * elf/pldd.c: Likewise.
70238         * iconv/iconv_charmap.c: Likewise.
70239         * iconv/iconvconfig.c: Likewise.
70240         * iconv/strtab.c: Likewise.
70241         * locale/programs/locale.c: Likewise.
70242         * locale/programs/localedef.h: Likewise.
70243         * locale/programs/simple-hash.c: Likewise.
70244         * nscd/nscd.h: Likewise.
70245         * nss/makedb.c: Likewise.
70246         * sysdeps/generic/ldconfig.h: Likewise.
70247         * locale/programs/localedef.c: Remove xmalloc prototype.
70248         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70250 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70253         appropriate.
70255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70257         * math/Makefile (tests): Add tst-CMPLX.
70258         * math/tst-CMPLX.c: New file.
70260         * math/complex.h (CMPLXL): Fix typo.
70262         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70263         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70264         GLIBC_2.16.
70265         * debug/tst-chk1.c: Add poll and ppoll tests.
70266         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70267         * include/sys/poll.h: Add hidden proto for ppoll.
70268         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70269         * sysdeps/mach/hurd/ppoll.c: Likewise.
70270         * io/ppoll.c: Likewise.
70271         * debug/poll_chk.c: New file.
70272         * debug/ppoll_chk.c: New file.
70273         * include/bits/poll2.h: New file.
70274         * io/bits/poll2.h: New file.
70276         [BZ #1350]
70277         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70279         * configure.in: static is always set to yes.  Remove.
70280         * config.make.in: Don't set build-static.
70281         * Makeconfig: Remove use of build-static.
70282         * dlfcn/Makefile: Likewise.
70283         * elf/Makefile: Likewise.
70284         * math/Makefile: Likewise.
70285         * misc/Makefile: Likewise.
70286         * nptl/Makefile: Likewise.
70287         * sysdeps/mach/hurd/Makefile: Likewise.
70289         * configure.in: PWD_P is not used anymore.
70290         * config.make.in: Remove PWD_P entry.
70292         * configure.in: Remove last remnants of RANLIB.
70293         No need to check for signed size_t anymore.
70294         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70295         and IA-64.
70296         Remove __builtin_expect test because we require at least gcc 3.4.
70297         * aclocal.m4: Likewise.
70299         * wcsmbs/mbrtoc16.c: Implement using towc function.
70300         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70301         * wcsmbs/wcsmbsload.c: Likewise.
70302         * iconv/gconv_simple.c: Likewise.
70303         * iconv/gconv_int.h: Likewise.
70304         * iconv/gconv_builtin.h: Likewise.
70305         * iconv/iconv_prog.c: Remove CHAR16 handling.
70307         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70309         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70311         * configure.in: Remove --with-elf and --enable-bounded options.
70312         Dont set base_machine for ia64.  More non-ELF conditions removed.
70313         Remove testing and setting of leading underscore information.
70314         * config.make.in (build-bounded): Set to no.
70315         * config.h.in: Remove NO_UNDERSCORES entry.
70316         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70317         them.
70318         * csu/start.c: Remove !NO_UNDERSCORE code.
70319         * locale/localeinfo.h: Likewise.
70320         * sysdeps/generic/machine-gmon.h: Likewise.
70321         * sysdeps/generic/sysdep.h: Likewise.
70322         * sysdeps/i386/sysdep.h: Likewise.
70323         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70324         * sysdeps/mach/sysdep.h: Likewise.
70325         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70327         * sysdeps/sh/sysdep.h: Likewise.
70328         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70329         * sysdeps/unix/i386/sysdep.S: Likewise.
70330         * sysdeps/unix/sparc/start.c: Likewise.
70331         * sysdeps/unix/sparc/sysdep.S: Likewise.
70332         * sysdeps/unix/sparc/sysdep.h: Likewise.
70333         * sysdeps/unix/start.c: Likewise.
70334         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70335         * sysdeps/x86_64/sysdep.h: Likewise.
70337 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70339         [BZ #13553]
70340         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70341         for non-gcc.
70342         * argp/argp-fmtstream.h: Use const instead __const.
70343         * argp/argp.h: Likewise.
70344         * assert/assert.h: Likewise.
70345         * bits/fenv.h: Likewise.
70346         * bits/sched.h: Likewise.
70347         * bits/sigset.h: Likewise.
70348         * bits/sigthread.h: Likewise.
70349         * catgets/nl_types.h: Likewise.
70350         * conform/data/pthread.h-data: Likewise.
70351         * crypt/crypt-private.h: Likewise.
70352         * crypt/crypt.h: Likewise.
70353         * crypt/crypt_util.c: Likewise.
70354         * ctype/ctype.h: Likewise.
70355         * debug/execinfo.h: Likewise.
70356         * debug/mbsnrtowcs_chk.c: Likewise.
70357         * debug/mbsrtowcs_chk.c: Likewise.
70358         * debug/wcsnrtombs_chk.c: Likewise.
70359         * debug/wcsrtombs_chk.c: Likewise.
70360         * debug/wcstombs_chk.c: Likewise.
70361         * dirent/dirent.h: Likewise.
70362         * dlfcn/dlfcn.h: Likewise.
70363         * elf/neededtest4.c: Likewise.
70364         * grp/grp.h: Likewise.
70365         * gshadow/gshadow.h: Likewise.
70366         * iconv/gconv.h: Likewise.
70367         * iconv/gconv_int.h: Likewise.
70368         * iconv/gconv_simple.c: Likewise.
70369         * iconv/iconv.h: Likewise.
70370         * iconv/loop.c: Likewise.
70371         * iconv/skeleton.c: Likewise.
70372         * include/aio.h: Likewise.
70373         * include/aliases.h: Likewise.
70374         * include/argz.h: Likewise.
70375         * include/arpa/inet.h: Likewise.
70376         * include/assert.h: Likewise.
70377         * include/dirent.h: Likewise.
70378         * include/dlfcn.h: Likewise.
70379         * include/execinfo.h: Likewise.
70380         * include/fcntl.h: Likewise.
70381         * include/fenv.h: Likewise.
70382         * include/glob.h: Likewise.
70383         * include/grp.h: Likewise.
70384         * include/libintl.h: Likewise.
70385         * include/mntent.h: Likewise.
70386         * include/netdb.h: Likewise.
70387         * include/pwd.h: Likewise.
70388         * include/rpc/netdb.h: Likewise.
70389         * include/sched.h: Likewise.
70390         * include/search.h: Likewise.
70391         * include/shadow.h: Likewise.
70392         * include/signal.h: Likewise.
70393         * include/stdio.h: Likewise.
70394         * include/stdlib.h: Likewise.
70395         * include/string.h: Likewise.
70396         * include/sys/socket.h: Likewise.
70397         * include/sys/stat.h: Likewise.
70398         * include/sys/statfs.h: Likewise.
70399         * include/sys/statvfs.h: Likewise.
70400         * include/sys/syslog.h: Likewise.
70401         * include/sys/time.h: Likewise.
70402         * include/sys/uio.h: Likewise.
70403         * include/time.h: Likewise.
70404         * include/unistd.h: Likewise.
70405         * include/utmp.h: Likewise.
70406         * include/wchar.h: Likewise.
70407         * include/wctype.h: Likewise.
70408         * inet/aliases.h: Likewise.
70409         * inet/arpa/inet.h: Likewise.
70410         * inet/netinet/ether.h: Likewise.
70411         * inet/netinet/in.h: Likewise.
70412         * intl/libintl.h: Likewise.
70413         * io/bits/fcntl2.h: Likewise.
70414         * io/fcntl.h: Likewise.
70415         * io/ftw.h: Likewise.
70416         * io/sys/poll.h: Likewise.
70417         * io/sys/stat.h: Likewise.
70418         * io/sys/statfs.h: Likewise.
70419         * io/sys/statvfs.h: Likewise.
70420         * io/utime.h: Likewise.
70421         * libio/bits/stdio.h: Likewise.
70422         * libio/bits/stdio2.h: Likewise.
70423         * libio/libio.h: Likewise.
70424         * libio/libioP.h: Likewise.
70425         * libio/stdio.h: Likewise.
70426         * locale/lc-ctype.c: Likewise.
70427         * locale/locale.h: Likewise.
70428         * login/utmp.h: Likewise.
70429         * malloc/arena.c: Likewise.
70430         * malloc/malloc.c: Likewise.
70431         * malloc/malloc.h: Likewise.
70432         * malloc/mcheck.c: Likewise.
70433         * malloc/mtrace.c: Likewise.
70434         * math/bits/mathcalls.h: Likewise.
70435         * math/fenv.h: Likewise.
70436         * math/math_private.h: Likewise.
70437         * misc/bits/error.h: Likewise.
70438         * misc/bits/syslog.h: Likewise.
70439         * misc/err.h: Likewise.
70440         * misc/error.h: Likewise.
70441         * misc/fstab.h: Likewise.
70442         * misc/mntent.h: Likewise.
70443         * misc/regexp.h: Likewise.
70444         * misc/search.h: Likewise.
70445         * misc/sgtty.h: Likewise.
70446         * misc/sys/mman.h: Likewise.
70447         * misc/sys/syslog.h: Likewise.
70448         * misc/sys/uio.h: Likewise.
70449         * misc/sys/xattr.h: Likewise.
70450         * misc/ttyent.h: Likewise.
70451         * nis/rpcsvc/ypclnt.h: Likewise.
70452         * nss/nss.h: Likewise.
70453         * posix/bits/unistd.h: Likewise.
70454         * posix/fnmatch.h: Likewise.
70455         * posix/glob.h: Likewise.
70456         * posix/sched.h: Likewise.
70457         * posix/spawn.h: Likewise.
70458         * posix/sys/wait.h: Likewise.
70459         * posix/unistd.h: Likewise.
70460         * posix/wordexp.h: Likewise.
70461         * pwd/pwd.h: Likewise.
70462         * resolv/netdb.h: Likewise.
70463         * resource/sys/resource.h: Likewise.
70464         * rt/aio.h: Likewise.
70465         * rt/bits/mqueue2.h: Likewise.
70466         * rt/mqueue.h: Likewise.
70467         * shadow/shadow.h: Likewise.
70468         * signal/signal.h: Likewise.
70469         * socket/send.c: Likewise.
70470         * socket/sendto.c: Likewise.
70471         * socket/sys/socket.h: Likewise.
70472         * stdio-common/printf.h: Likewise.
70473         * stdlib/bits/stdlib.h: Likewise.
70474         * stdlib/fmtmsg.h: Likewise.
70475         * stdlib/monetary.h: Likewise.
70476         * stdlib/stdlib.h: Likewise.
70477         * stdlib/ucontext.h: Likewise.
70478         * streams/stropts.h: Likewise.
70479         * string/argz.h: Likewise.
70480         * string/bits/string2.h: Likewise.
70481         * string/string.h: Likewise.
70482         * string/strings.h: Likewise.
70483         * sunrpc/rpc/auth.h: Likewise.
70484         * sunrpc/rpc/auth_des.h: Likewise.
70485         * sunrpc/rpc/clnt.h: Likewise.
70486         * sunrpc/rpc/netdb.h: Likewise.
70487         * sunrpc/rpc/pmap_clnt.h: Likewise.
70488         * sunrpc/rpc/xdr.h: Likewise.
70489         * sysdeps/generic/inttypes.h: Likewise.
70490         * sysdeps/generic/net/if.h: Likewise.
70491         * sysdeps/generic/sys/swap.h: Likewise.
70492         * sysdeps/gnu/net/if.h: Likewise.
70493         * sysdeps/gnu/utmpx.h: Likewise.
70494         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70495         * sysdeps/i386/i486/bits/string.h: Likewise.
70496         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70497         * sysdeps/s390/bits/string.h: Likewise.
70498         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70499         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70500         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70501         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70502         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70503         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70504         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70505         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70506         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70507         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70508         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70509         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70510         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70511         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70512         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70513         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70514         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70516         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70517         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70518         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70519         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70520         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70521         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70522         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70523         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70524         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70525         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70526         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70528         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70529         * sysvipc/sys/ipc.h: Likewise.
70530         * sysvipc/sys/msg.h: Likewise.
70531         * sysvipc/sys/sem.h: Likewise.
70532         * sysvipc/sys/shm.h: Likewise.
70533         * termios/termios.h: Likewise.
70534         * time/sys/time.h: Likewise.
70535         * time/time.h: Likewise.
70536         * wcsmbs/bits/wchar2.h: Likewise.
70537         * wcsmbs/uchar.h: Likewise.
70538         * wcsmbs/wchar.h: Likewise.
70539         * wctype/wctype.h: Likewise.
70541         [BZ #13551]
70542         * Makeconfig: Remove all but ELF support including AIX support.
70543         * Makerules: Likewise.
70544         * config.h.in: Likewise.
70545         * config.make.in: Likewise.
70546         * configure: Likewise.
70547         * configure.in: Likewise.
70548         * csu/Makefile: Likewise.
70549         * csu/version.c: Likewise.
70550         * debug/Makefile: Likewise.
70551         * dlfcn/Makefile: Likewise.
70552         * elf/Makefile: Likewise.
70553         * extra-lib.mk: Likewise.
70554         * iconv/Makefile: Likewise.
70555         * include/libc-symbols.h: Likewise.
70556         * include/shlib-compat.h: Likewise.
70557         * resolv/Makefile: Likewise.
70558         * resolv/res_libc.c: Likewise.
70559         * rt/Makefile: Likewise.
70560         * sysdeps/i386/asm-syntax.h: Likewise.
70561         * sysdeps/i386/sysdep.h: Likewise.
70562         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70563         * sysdeps/mach/sysdep.h: Likewise.
70564         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70565         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70566         * sysdeps/s390/asm-syntax.h: Likewise.
70567         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70569         * sysdeps/sh/sysdep.h: Likewise.
70570         * sysdeps/unix/sparc/sysdep.h: Likewise.
70571         * sysdeps/wordsize-32/divdi3.c: Likewise.
70572         * sysdeps/x86_64/sysdep.h: Likewise.
70574         * argp/Versions: Remove _argp_unlock_xxx.
70576         [BZ #13559]
70577         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70578         * abilist/libBrokenLocale.abilist: Likewise.
70579         * abilist/libanl.abilist: Likewise.
70580         * abilist/libc.abilist: Likewise.
70581         * abilist/libcrypt.abilist: Likewise.
70582         * abilist/libdl.abilist: Likewise.
70583         * abilist/libm.abilist: Likewise.
70584         * abilist/libnsl.abilist: Likewise.
70585         * abilist/libpthread.abilist: Likewise.
70586         * abilist/libresolv.abilist: Likewise.
70587         * abilist/librt.abilist: Likewise.
70588         * abilist/libthread_db.abilist: Likewise.
70589         * abilist/libutil.abilist: Likewise.
70590         * abilist/libnss_db.abilist: New file.
70592         * scripts/abilist.awk: Add support for indirect functions.
70594         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70596         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70598         * shlib-versions: Remove entries for ports architectures.
70600         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70601         files in ports.
70602         * elf/stackguard-macros.h: Remove support for IA-64.
70603         * elf/tst-auditmod1.c: Likewise.
70604         * sysdeps/generic/ldsodefs.h: Likewise.
70606         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70607         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70608         configure files.
70610         [BZ #13552]
70611         * configure.in: Remove --enable-omitfp support.
70612         * FAQ.in: Adjust.
70613         * config.make.in: Likewise.
70614         * Makeconfig: Likewise.
70615         * manual/install.texi: Likewise.
70617         In case anyone cares, the IA-64 architecture could move to ports.
70618         * sysdeps/ia64/*: Removed.
70619         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70620         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70622         [BZ #13555]
70623         * configure.in: Remove entries for unsupported architectures.
70625         [BZ #13533]
70626         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70627         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70628         routines.
70629         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70630         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70631         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70632         fall back to using wcrtomb.
70633         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70634         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70635         renaming.
70636         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70637         * wcsmbs/tst-c16c32-1.c: New file.
70639         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70640         local variable.
70642         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70644         * elf/tst-unique3.cc: Add explicit declaration of gets.
70645         * elf/tst-unique3lib.cc: Likewise.
70646         * elf/tst-unique3lib2.cc: Likewise.
70647         * elf/tst-unique4.cc: Likewise.
70649         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70651 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70653         [BZ #13566]
70654         * assert/assert.h (static_assert): Don't define for C++.
70655         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70656         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70658 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70660         * iconv/loop.c (single loop): Fix assertion in storing of
70661         remaining bytes.
70663         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70665 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70667         * posix/getconf.c: Update copyright year.
70668         * nss/getent.c: Likewise.
70669         * nss/makedb.c: Likewise.
70670         * iconv/iconvconfig.c: Likewise.
70671         * iconv/iconv_prog.c: Likewise.
70672         * elf/ldconfig.c: Likewise.
70673         * elf/pldd.c: Likewise.
70674         * elf/sotruss.ksh: Likewise.
70675         * catgets/gencat.c: Likewise.
70676         * csu/version.c: Likewise.
70677         * elf/ldd.bash.in: Likewise.
70678         * elf/sprof.c (print_version): Likewise.
70679         * locale/programs/locale.c: Likewise.
70680         * locale/programs/localedef.c: Likewise.
70681         * login/programs/pt_chown.c: Likewise.
70682         * nscd/nscd.c (print_version): Likewise.
70683         * debug/xtrace.sh: Likewise.
70684         * malloc/memusage.sh: Likewise.
70685         * malloc/mtrace.pl: Likewise.
70686         * debug/catchsegv.sh: Likewise.
70688 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70690         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70691         pure attribute.
70693 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70695         [BZ #13533]
70696         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70697         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70698         transformations.
70699         * iconv/gconv_int.h: Likewise.
70700         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70701         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70702         from libc for GLIBC_2.16.
70703         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70704         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70705         * wcsmbs/uchar.h: Really define mbstate_t.
70706         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70707         * wcsmbs/c16rtomb.c: New file.
70708         * wcsmbs/mbrtoc16.c: New file.
70709         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70710         for C/POSIX locale.
70711         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70712         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70714         * wcsmbs/wchar.h: Add missing __restrict.
70716 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70718         [BZ #13532]
70719         * time/Makefile (routines): Add timespec_get.
70720         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70721         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70722         timespec for ISO C11.
70723         * time/timespec_get.c: New file.
70724         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70725         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70727         [BZ #13531]
70728         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70729         * stdlib/stdlib.h: Declare aligned_alloc.
70730         * Versions.def: Add GLIBC_2.16 for libc.
70731         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70733         [BZ 13527]
70734         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70735         ISO C11.
70737         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70738         code.
70740         [BZ #13528]
70741         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70743         [BZ #13529]
70744         * assert/assert.h (static_assert): Define.
70746         * version.h: Update for 2.16 development version.
70748         [BZ #13526]
70749         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70750         _ISOC11_SOURCE.
70752         * version.h (RELEASE): Bump for 2.15 release.
70753         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70755         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70756         Patch by Marek Polacek <mpolacek@redhat.com>.
70758         * bits/byteswap.h: Protect long long constants with __extension__.
70759         * sysdeps/i386/bits/byteswap.h: Likewise.
70760         * sysdeps/ia64/bits/byteswap.h: Likewise.
70761         * sysdeps/s390/bits/byteswap.h: Likewise.
70762         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70764 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70766         [BZ #13540]
70767         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70768         destination buffer.
70769         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70771 2011-12-23  Marek Polacek  <polacek@redhat.com>
70773         * elf/dl-addr.c (determine_info): Add inline keyword.
70774         * elf/tst-auditmod4b.c (check_avx): Likewise.
70775         * elf/tst-auditmod6b.c (check_avx): Likewise.
70776         * elf/tst-auditmod6c.c (check_avx): Likewise.
70777         * elf/tst-auditmod7b.c (check_avx): Likewise.
70779 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70781         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70782         !__SSE_MATH__.
70784 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70786         [BZ #13540]
70787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70788         processing for last bytes.
70790 2011-08-06  Bruno Haible  <bruno@clisp.org>
70792         [BZ #13061]
70793         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70794         U+0385, not to U+1FEE.
70796         [BZ #13062]
70797         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70798         entry for U+00A5 U+0301.
70800 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70802         [BZ #13166]
70803         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70804         buffer for the output is too small.
70806         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70807         optimization.
70809         [BZ #13185]
70810         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70811         SSE flags if possible.
70813 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70815         [BZ #13540]
70816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70817         processing for last bytes.
70819 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70821         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70822         (syscall-list-default-options, syscall-list-default-condition)
70823         (syscall-list-includes): Define.
70824         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70825         list of ABIs and options and #if conditions for each ABI.  Do not
70826         handle common syscalls between ABIs specially.
70827         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70828         Remove.
70829         (syscall-list-variants, syscall-list-32bit-options)
70830         (syscall-list-32bit-condition, syscall-list-64bit-options)
70831         (syscall-list-64bit-condition): Define.
70832         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70833         (syscall-list-variants, syscall-list-32bit-options)
70834         (syscall-list-32bit-condition, syscall-list-64bit-options)
70835         (syscall-list-64bit-condition): Define.
70836         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70837         Remove.
70838         (syscall-list-variants, syscall-list-32bit-options)
70839         (syscall-list-32bit-condition, syscall-list-64bit-options)
70840         (syscall-list-64bit-condition): Define.
70841         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70842         Remove.
70843         (syscall-list-variants, syscall-list-32bit-options)
70844         (syscall-list-32bit-condition, syscall-list-64bit-options)
70845         (syscall-list-64bit-condition): Define.
70847 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70849         * locale/iso-639.def: Add brx entry.
70851         [BZ #13328]
70852         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70853         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70855         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70856         __feraiseexcept_renamed.
70858 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70860         [BZ #13538]
70861         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70862         EPOLLET with unsigned values.
70863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70864         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70866         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70867         to large cancellation.
70868         * math/s_cacoshf.c: Likewise.
70869         * math/s_cacoshl.c: Likewise.
70871 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70873         [BZ #13305]
70874         [BZ #12786]
70875         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70876         * math/s_cacoshf.c: Likewise.
70877         * math/s_cacoshl.c: Likewise.
70879 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70881         [BZ #13439]
70882         * iconv/gconv.h: Define __GCONV_SWAP.
70883         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70884         * iconvdata/utf-16.c: Likewise.
70885         * iconvdata/utf-32.c: Likewise.
70887 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70889         [BZ #13524]
70890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70891         numerator after shifting it by one limb.
70893 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70895         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70896         under [__USE_EXTERN_INLINES].
70898 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70900         [BZ #13446]
70901         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70903 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70905         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70906         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70907         optimized code.
70908         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70909         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70910         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70911         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70912         for strncasecmp/strncasecmp_l compilation.
70913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70914         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70916 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70918         [BZ #13484]
70919         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70920         of __asm__.
70922 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70924         [BZ #13506]
70925         * time/tzfile.c (__tzfile_read): Check values from file header.
70927 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70929         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70930         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70931         * powerpc/powerpc32/dl-start.S: Likewise.
70932         * powerpc/powerpc32/elf/start.S: Likewise.
70933         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70934         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70935         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70936         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70937         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70938         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70939         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70940         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70941         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70942         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70943         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70944         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70945         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70946         * powerpc/powerpc32/memset.S: Likewise.
70947         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70948         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70949         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70950         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70951         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70952         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70953         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70954         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70955         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70956         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70957         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70958         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70959         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70961 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70963         * math/libm-test.inc: Added more nearbyint tests.
70964         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70966         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70969 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70971         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70972         FD_CLOEXEC.
70974 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70976         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70977         Add wcscpy-ssse3 wcscpy-c.
70978         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70979         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70980         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70981         * sysdeps/x86_64/wcschr.S: New file.
70982         * sysdeps/x86_64/wcsrchr.S: New file.
70983         * string/test-strcmp.c: Remove checking of wcscmp function for
70984         wrong alignments.
70985         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70986         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70987         wcsrchr-sse2 wcsrchr-c.
70988         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70989         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70990         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70991         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70992         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70993         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70994         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70995         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70996         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70997         * wcsmbc/wcschr.c (WCSCHR): New macro.
70999 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71001         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71002         * wcsmbs/test-wcsrchr.c: New file.
71003         * string/test-strrchr.c: Add wcsrchr support.
71004         (WIDE): New macro.
71005         * wcsmbs/test-wcscpy.c: New file.
71006         * string/test-strcpy.c: Add wcscpy support.
71007         (WIDE): New macro.
71009 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71011         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71012         the inner loop.
71014 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71016         [BZ #13472]
71017         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71019 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71021         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71022         Minor optimizations.
71024         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71025         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71026         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71028 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71030         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71031         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71032         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71033         for gcc to avoid warnings.
71034         * inet/Makefile (tests): Add tst-checks.
71035         * inet/tst-checks.c: New file.
71037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71038         warning.
71040         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71041         __wmemcmp_sse2.
71043         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71044         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71046         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71048 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71050         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71051         problem.
71053         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71055 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71057         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71058         conditional on GCC version.
71059         (__arch_compare_and_exchange_val_8_acq)
71060         (__arch_compare_and_exchange_val_16_acq)
71061         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71062         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71063         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71065 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71067         * sysdeps/sh/backtrace.c: New file.
71069 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71071         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71072         parenthesis.
71074 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71076         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71077         falling back to utime.
71079 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71081         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71082         expectations for float.
71084 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71086         * locale/weight.h (findidx): Add parameter len.
71087         * locale/weightwc.h (findidx): Likewise.
71088         * posix/fnmatch_loop.c (FCT): Adjust caller.
71089         * posix/regcomp.c (build_equiv_class): Likewise.
71090         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71091         * posix/regexec.c (check_node_accept_bytes): Likewise.
71092         * string/strcoll_l.c (STRCOLL): Likewise.
71093         * string/strxfrm_l.c (STRXFRM): Likewise.
71095 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71097         * Makefile.in: Remove CVSOPT handling.
71098         * configure.in: Remove use of AC_REVISION.
71099         * iconvdata/Makefile (distribute): No need to filter out CVS.
71100         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71101         handling.
71103 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71106         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71107         [USE_AS_STRNCASECMP_L]: Likewise.
71108         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71109         NO_TLS_DIRECT_SEG_REFS.
71110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71111         Fix argument offsets for non-PIC.
71112         [USE_AS_STRNCASECMP_L]: Likewise.
71113         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71114         NO_TLS_DIRECT_SEG_REFS.
71116 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71118         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71119         O_CLOEXEC.
71120         * locale/loadlocale.c (_nl_load_locale): Likewise.
71122 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71124         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71125         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71127         (SYSCALL_GETTIME): Set errno on error.
71129         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71130         count references to noai6ai_cached.
71132 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71134         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71136         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71137         FD_CLOEXEC for /proc/self/maps.
71139         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71140         FD_CLOEXEC for /proc/meminfo.
71142         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71143         gai.conf.
71145         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71146         FD_CLOEXEC for given file.
71148         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71150         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71151         FD_CLOEXEC for /etc/hosts.
71152         (_gethtent): Likewise.
71154         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71156         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71157         cancellation and set FD_CLOEXEC for /etc/netgroup.
71159         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71160         reading /etc/publickey.
71162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71163         allow cancellation when reading /etc/group.
71165         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71166         cancellation.
71167         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71169         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71170         when using data file.
71172         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71174         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71175         (write_nis_obj): Use "c" and "e" in fopen.
71177         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71179         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71181         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71183         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71185         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71186         locale.alias.
71188         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71190         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71192         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71194         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71195         file parsing and set FD_CLOEXEC.
71197 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71199         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71201 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71203         * malloc/arena.c (arena_get2): Don't call reused_arena when
71204         _int_new_arena failed.
71206 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71208         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71209         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71210         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71211         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71213         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71214         to compile strcasecmp and strncasecmp.
71215         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71216         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71220 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71222         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71223         locale-defines.sym to gen-as-const-headers.
71224         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71225         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71227         to compile strcasecmp and strncasecmp.
71228         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71229         strcasecmp_l and strncasecmp_l.
71230         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71231         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71232         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71233         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71234         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71235         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71236         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71237         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71238         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71239         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71240         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71242 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71244         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71245         result of SYSDEP_GETTIME_CPU to retval.
71246         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71247         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71249         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71250         variable.
71252         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71253         mantissa words.
71254         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71256         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71257         from unused variable.
71259         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71260         DWARF definitions.
71261         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71262         for assembling.
71264         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71265         over namespaces.
71267         * sunrpc/rpc_prot.c (rejected): Fix case value.
71269         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71270         unsigned long long int to avoid warnings in shift.
71272         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71273         of use of trans.
71274         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71275         variable tmp.
71277         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71278         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71279         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71281         * nis/nis_table.c (nis_list): Use variable of correct type for
71282         result of __follow_path call.
71284 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71286         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71287         of math functions ceil, trunc, floor, round, and sqrt, when
71288         avaliable on the platform.
71289         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71290         name clash.
71291         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71292         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71293         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71295 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71297         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71298         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71300 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71302         * include/unistd.h: Fix __readlink return type.
71303         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71305 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71307         * stdlib/ucontext.h: Undo last change for makecontext.
71309 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71311         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71313         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71314         * setjmp/setjmp.h: Mark functions as non-leaf.
71315         * setjmp/bits/setjmp2.h: Likewise.
71316         * stdlib/ucontext.h: Likewise.
71318 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71320         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71321         (reused_arena): Don't check arena limit.
71322         (arena_get2): Atomically check arena limit.
71324 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71326         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71327         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71330         instructions.
71332 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71334         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71335         handler when locking.
71337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71338         Fix size of allocated buffer.
71340 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71342         [BZ #10103]
71343         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71344         declarations for long double functions.
71345         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71347         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71349 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71351         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71352         installed.
71354         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71355         is disabled.
71357 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71359         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71361 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71363         * include/alloca.h (stackinfo_alloca_round): Define.
71364         (extend_alloca): Use it.
71365         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71366         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71367         here.
71369         * scripts/check-local-headers.sh: Ignore libaudit.h.
71371         * nscd/Makefile (extra-objs): Make recursively expanded.
71373 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71375         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71376         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71378         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71379         * posix/tst-rfc3484-2.c: Likewise.
71380         * posix/tst-rfc3484-3.c: Likewise.
71382         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71383         process_vm_writev.
71384         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71385         process_vm_writev.
71386         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71387         process_vm_writev from libc using GLIBC_2.15 version.
71389         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71391 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71393         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71394         stack usage.
71396 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71398         [BZ #13367]
71399         * nss/getent.c (initgroups_keys): Show error message in case no group
71400         names are given.
71402         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71403         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71404         __bump_nl_timestamp.
71405         * nscd/connections (nscd_init): When host database is served open
71406         netlink socket and request notification about configuration changes.
71407         (main_loop_poll): Track netlink file descriptor and bump timestamp
71408         in case data becomes available.
71409         (main_loop_epoll): Likewise.
71410         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71411         (database_pers_head): Add extra_data fileds.
71412         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71413         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71414         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71415         Adjust caller.
71416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71417         in6ai data, call __free_in6ai.
71418         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71419         Add -DHAVE_NETLINK.
71420         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71421         interface information.  Reuse previous data if netlink timestamp
71422         is not changed.
71423         (__bump_nl_timestamp): New function.
71424         (__free_in6ai): New function.
71426 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71428         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71429         close_not_cancel_no_status here.
71430         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71432 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71434         [BZ #13276]
71435         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71436         return value.
71438         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71439         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71440         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71442 2011-07-03  Andreas Jaeger  <aj@suse.de>
71444         [BZ #10709]
71445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71446         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71447         * math/libm-test.inc (sin_test): Add test case.
71449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71451         [BZ #13337]
71452         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71453         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71455         * elf/chroot_canon.c (chroot_canon): Cleanups.
71457         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71459         [BZ #13335]
71460         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71461         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71463         * string/test-strchr.c: Make usable for strchrnul testing.
71464         * string/test-strchrnul.c: New file.
71465         * string/Makefile (strop-tests): Add strchrnul.
71467         * po/it.po: Update from translation team.
71468         * po/es.po: Likewise.
71470 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71473         the three constants needed as parameters.  Drop the others.
71474         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71475         __m128i_strloadu_tolower.
71476         Create and initialize variable zero and use it in all the places
71477         where _mm_setzero_si128 was used.
71479         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71480         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71481         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71483         anymore.
71484         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71485         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71486         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71487         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71488         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71489         __mpranred, __mptan.
71490         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71491         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71492         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71493         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71494         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71495         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71496         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71497         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71498         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71500 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71502         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71503         redefine if SHARED.
71504         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71507         wide char related routines to wcsmbs subdir.
71509 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71511         [BZ #13344]
71512         * misc/sys/cdefs.h (__THROWNL): Define.
71513         * posix/unistd.h: Use __THREADNL instead of __THREAD
71514         for memory synchronization functions.
71516 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71518         [BZ #13349]
71519         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71520         doesn't exist.
71521         * manual/stdio.texi (Obstack Streams): Node removed.
71523 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71525         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71526         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71527         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71529         * math/math_private.h (math_force_eval): Allow non-addressable
71530         arguments.
71531         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71535         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71536         file is not needed.
71538         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71539         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71540         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71541         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71542         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71543         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71544         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71545         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71546         Add AVX variants.
71547         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71548         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71549         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71550         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71551         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71552         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71553         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71554         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71555         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71556         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71557         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71558         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71559         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71560         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71561         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71562         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71563         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71564         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71565         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71567         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71568         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71571         place.  Use VEX encoding when compiling for AVX.
71573 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71575         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71576         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71578         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71582         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71583         useless if() expression.
71584         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71585         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71586         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71593         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71595         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71596         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71597         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71598         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71600         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71602         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71604         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71606 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71608         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71609         condition.
71610         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71614         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71615         .text section.  Avoid duplicate constants.
71616         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71617         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71618         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71624         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71625         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71626         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71628         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71629         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71630         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71631         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71632         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71633         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71636         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71637         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71638         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71639         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71640         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71641         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71642         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71643         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71644         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71645         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71646         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71647         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71649         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71650         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71651         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71652         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71654         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71655         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71656         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71657         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71658         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71659         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71660         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71662 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71664         * sysdeps/x86_64/dla.h: Move to ...
71665         * sysdeps/x86_64/fpu/dla.h: ...here.
71666         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71667         situations.  Use __builtin_fma only for gcc 4.6 and up.
71669         * config.make.in: Add have-mfma4 entry.
71670         * configure.in: Substitute libc_cv_cc_fma4.
71671         * math/Makefile (dbl-only-routines): Add sincostab.
71672         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71673         Use __sincostab not sincos.
71674         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71675         name is a macro.
71676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71680         using __copysign.
71681         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71682         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71683         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71684         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71685         and __inv.
71686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71687         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71688         __copysign.
71689         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71690         define aliases when function name is a macro.
71691         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71692         sysdeps/ieee754/dbl-64/sincos.tbl.
71693         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71694         fma4-enabled routines.
71695         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71696         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71697         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71698         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71699         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71700         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71702         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71704         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71705         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71706         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71707         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71708         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71709         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71710         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71711         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71712         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71713         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71714         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71715         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71716         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71719         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71722         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71723         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71724         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71726         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71727         rename.
71728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71737 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71739         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71741 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71746         prediction.
71747         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71749         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71750         Remove unused variable magic_bits.
71751         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71753         * string/strnlen.c: Define and use STRNLEN macro.
71754         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71755         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71757         * wcsmbs/wcslen.c: Define and use WCSLEN.
71758         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71759         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71760         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71761         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71762         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71763         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71764         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71766 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71769         strnlen-sse2-no-bsf.
71770         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71772         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71773         Add strnlen support.
71774         (USE_AS_STRNLEN): New macro.
71775         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71776         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71777         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71778         * sysdeps/x86_64/wcslen.S: New file.
71780 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71783         XMM-moves are used for copying on small sizes.
71785 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71787         * wcsmbs/Makefile (strop-tests): Add wcschr.
71788         * wcsmbs/test-wcschr.c: New file.
71789         * string/test-strchr.c: Update.
71790         Add wcschr support.
71791         (WIDE): New macro.
71793 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71795         * wcsmbs/Makefile (strop-tests): Add wcslen.
71796         * wcsmbs/test-wcslen.c: New file.
71797         * string/test-strlen.c: Update.
71798         Add wcslen support.
71799         (WIDE): New macro.
71801 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71803         * po/it.po: Update from translation team.
71805 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71807         * sysdeps/x86_64/wcscmp.S: Update.
71808         Fix wrong comparison semantics.
71809         wcscmp shall use signed comparison not unsigned.
71810         Don't use substraction to avoid overflow bug.
71811         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71812         * wcsmbc/wcscmp.c: Likewise.
71813         * string/test-strcmp.c: Likewise.
71814         Add new tests to check cases with negative values.
71816 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71818         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71819         * sysdeps/x86_64/dla.h: ...here.  New file.
71820         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71825         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71826         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71827         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71828         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71830 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71833         __ynl_finite aliases.
71835 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71839         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71840         define DLA_FMA.
71841         [DLA_FMA] (EMULV): Use DLA_FMA.
71842         [DLA_FMA] (MUL12): Use EMULV.
71843         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71844         that are not needed.
71845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71847         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71848         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71853 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71855         * math/s_nan.c: Undef __nan.
71856         * math/s_nanf.c: Undef __nanf.
71857         * math/s_nanl.c: Undef __nanl.
71858         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71859         "math_private.h".
71861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71863         * math/s_catan.c: Add branch predictions.
71864         * math/s_catanf.c: Likewise.
71865         * math/s_catanh.c: Likewise.
71866         * math/s_catanhf.c: Likewise.
71867         * math/s_catanhl.c: Likewise.
71868         * math/s_catanl.c: Likewise.
71869         * math/s_cexp.c: Likewise.
71870         * math/s_cexpf.c: Likewise.
71871         * math/s_cexpl.c: Likewise.
71872         * math/s_clog.c: Likewise.
71873         * math/s_clog10.c: Likewise.
71874         * math/s_clog10f.c: Likewise.
71875         * math/s_clog10l.c: Likewise.
71876         * math/s_clogf.c: Likewise.
71877         * math/s_clogl.c: Likewise.
71878         * math/s_csqrt.c: Likewise.
71879         * math/s_csqrtf.c: Likewise.
71880         * math/s_csqrtl.c: Likewise.
71881         * math/s_ctanf.c: Likewise.
71882         * math/s_ctanh.c: Likewise.
71883         * math/s_ctanhf.c: Likewise.
71884         * math/s_ctanhl.c: Likewise.
71885         * math/s_ctanl.c: Likewise.
71887         * math/math_private.h: Define __nan, __nanf, __nanl.
71888         * math/s_cacosh.c: Include <math_private.h>.
71889         * math/s_cacoshl.c: Likewise.
71890         * math/s_casinh.c: Likewise.
71891         * math/s_casinhf.c: Likewise.
71892         * math/s_casinhl.c: Likewise.
71893         * math/s_ccos.c: Rely entire on ccosh.
71894         * math/s_ccosf.c: Rely entire on ccoshf.
71895         * math/s_ccosl.c: Rely entirely on ccoshl.
71896         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71897         Remove tests for FE_INVALID.
71898         * math/s_ccoshf.c: Likewise.
71899         * math/s_ccoshl.c: Likewise.
71900         * math/s_csin.c: Likewise.
71901         * math/s_csinf.c: Likewise.
71902         * math/s_csinh.c Likewise.
71903         * math/s_csinhf.c: Likewise.
71904         * math/s_csinhl.c: Likewise.
71905         * math/s_csinl.c: Likewise.
71906         * math/s_ctan.c: Likewise.
71907         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71908         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71909         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71911 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71914         compilation problems.
71916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71917         __builtin_expect.
71919 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71921         * sysdeps/i386/configure.in: Test for -mfma4 option.
71922         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71923         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71924         COMMON_CPUID_INDEX_80000001.
71925         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71926         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71927         use it if FMA3 is not supported.
71928         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71930         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71931         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71933 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71935         [BZ #12892]
71936         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71937         it would create a cycle with a link time dependency.
71939 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71941         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71942         instruction.
71943         * string/Makefile (strop-tests): Add rawmemchr.
71944         * string/test-rawmemchr.c: New file.
71946         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71948         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71949         when compiling str{,n}casecmp and when AVX is available.  Hook up
71950         new optimized code in initializers.
71952 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71954         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71955         __feraiseexcept instead of feraiseexcept.
71957 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71959         * math/math_private.h: Define defaults for libc_fetestexcept and
71960         libc_feupdateenv.
71961         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71962         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71964         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71965         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71966         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71967         libc_fetestexcept and libc_feupdateenv.
71969         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71970         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71971         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71972         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71973         libc_feholdexcept_setround.
71975         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71976         Add s_nearbyint-c and s_nearbyintf-c.
71977         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71978         nearbyintf inlines.
71979         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71980         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71981         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71982         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71984         * math/math_private.h: Define defaults for libc_fegetround,
71985         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71986         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71987         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71989         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71990         standard functions.
71991         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71992         Remove comments and hacks for old compiler versions.
71993         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71994         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71995         libc_feholdexceptl.
71997 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71999         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72000         (__feraiseexcept_renamed): Add __NTH.
72001         (feraiseexcept): Add __NTH.  Rename local variables to fix
72002         namespace violations.
72004 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72008         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72010         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72011         recently added interfaces.
72012         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72014         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72015         about macro parameter expansion.
72017         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72018         __NO_MATH_INLINES is defined.  Cleanups.
72020         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72021         and __floorf is target has SSE4.1.
72022         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72023         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72024         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72025         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72027         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72028         name.
72029         (floorf): Likewise.
72031         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72033 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72035         * misc/sys/cdefs.h: Fix last change.
72037         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72038         database lookup.
72040 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72042         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72044         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72047         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72049         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72050         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72052         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72053         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72054         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72055         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72056         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72057         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72058         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72059         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72060         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72061         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72062         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72063         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72064         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72065         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72067         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72068         ceil, ceilf, floor, floorf.
72070         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72071         Perform IRELATIVE relocations last.
72073         * elf/do-rel.h: Add another parameter nrelative, replacing the
72074         local variable with the same name.  Change name of the function
72075         to end in Rel or Rela (uppercase).
72076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72077         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72078         elf_dynamic_do_##reloc function.
72080 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72082         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72083         is sufficient, at least on modern CPUs.
72085         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72087         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72088         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72090         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72091         __expl_finite.
72092         * math/bits/math-finite.h: Add entries for exp.
72093         * math/e_expl.c: Add __*_finite alias.
72094         * sysdeps/i386/fpu/e_exp.S: Likewise.
72095         * sysdeps/i386/fpu/e_expf.S: Likewise.
72096         * sysdeps/i386/fpu/e_expl.c: Likewise.
72097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72098         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72099         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72101         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72102         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72103         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72105         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72106         is sufficient, at least on modern CPUs.
72108         * ctype/ctype-info.c (__ctype_init): Define.
72109         * include/ctype.h (__ctype_init): Declare.
72110         (__ctype_b_loc): The variable is always initialized.
72111         (__ctype_toupper_loc): Likewise.
72112         (__ctype_tolower_loc): Likewise.
72113         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72114         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72116 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72118         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72120         * configure.in: Also look in $cxxmachine/include for C++ system
72121         headers.
72123 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72125         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72126         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72127         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72128         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72130         (USE_AS_WMEMCMP): New macro.
72131         Fixing indents.
72132         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72133         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72134         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72135         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72137         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72138         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72139         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72140         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72141         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72142         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72143         (USE_AS_WMEMCMP): New macro.
72144         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72145         * sysdeps/string/test-memcmp.c: Update.
72146         Fix simple_wmemcmp.
72147         Add new tests.
72148         * wcsmbs/wmemcmp.c: Update.
72149         (WMEMCMP): New macro.
72150         Fix overflow bug.
72152 2011-10-12  Andreas Jaeger  <aj@suse.de>
72154         [BZ #13268]
72155         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72157 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72159         * libio/iofwide.c (do_length): Avoid warning.
72161         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72163 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72165         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72167         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72168         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72169         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72170         * sysdeps/i386/i686/fpu/e_log.S: New file.
72171         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72172         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72174         * ctype/ctype.h: Add support for inlined isXXX functions when
72175         compiling C++ code.
72177 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72179         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72181         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72183 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72185         [BZ #13291]
72186         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72188 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72190         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72191         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72192         feraiseexcept.
72194         * sysdeps/x86_64/memrchr.S: Check for zero size.
72196         * string/stratcliff.c: Add memrchr tests.
72198 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72201         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72202         rawmemchr-sse2 rawmemchr-sse2-bsf.
72203         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72204         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72205         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72206         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72207         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72208         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72209         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72210         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72211         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72212         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72213         * string/memrchr.c (MEMRCHR): New macro.
72215 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72217         Add integration with gcc's -ffinite-math-only and optimize wrapper
72218         functions in libm.
72219         * Versions.def: Define GLIBC_2.15 version for libm.
72220         * math/Makefile (headers): Add bits/math-finite.h.
72221         * math/bits/math-finite.h: New file.
72222         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72223         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72224         * math/e_acoshl.c: Add __*_finite alias.
72225         * math/e_acosl.c: Likewise.
72226         * math/e_asinl.c: Likewise.
72227         * math/e_atan2l.c: Likewise.
72228         * math/e_atanhl.c: Likewise.
72229         * math/e_coshl.c: Likewise.
72230         * math/e_exp10.c: Likewise.
72231         * math/e_exp10f.c: Likewise.
72232         * math/e_exp10l.c: Likewise.
72233         * math/e_exp2l.c: Likewise.
72234         * math/e_fmodl.c: Likewise.
72235         * math/e_gammal_r.c: Likewise.
72236         * math/e_hypotl.c: Likewise.
72237         * math/e_j0l.c: Likewise.
72238         * math/e_j1l.c: Likewise.
72239         * math/e_jnl.c: Likewise.
72240         * math/e_lgammal_r.c: Likewise.
72241         * math/e_log10l.c: Likewise.
72242         * math/e_log2l.c: Likewise.
72243         * math/e_logl.c: Likewise.
72244         * math/e_powl.c: Likewise.
72245         * math/e_sinhl.c: Likewise.
72246         * math/e_sqrtl.c: Likewise.
72247         * math/e_scalb.c: Completely rewritten and optimized.
72248         * math/e_scalbf.c: Likewise.
72249         * math/e_scalbl.c: Likewise.
72250         * math/w_acos.c: Likewise.
72251         * math/w_acosf.c: Likewise.
72252         * math/w_acosl.c: Likewise.
72253         * math/w_acosh.c: Likewise.
72254         * math/w_acoshf.c: Likewise.
72255         * math/w_acoshl.c: Likewise.
72256         * math/w_asin.c: Likewise.
72257         * math/w_asinf.c: Likewise.
72258         * math/w_asinl.c: Likewise.
72259         * math/w_atan2.c: Likewise.
72260         * math/w_atan2f.c: Likewise.
72261         * math/w_atan2l.c: Likewise.
72262         * math/w_atanh.c: Likewise.
72263         * math/w_atanhf.c: Likewise.
72264         * math/w_atanhl.c: Likewise.
72265         * math/w_exp10.c: Likewise.
72266         * math/w_exp10f.c: Likewise.
72267         * math/w_exp10l.c: Likewise.
72268         * math/w_fmod.c: Likewise.
72269         * math/w_fmodf.c: Likewise.
72270         * math/w_fmodl.c: Likewise.
72271         * math/w_j0.c: Likewise.
72272         * math/w_j0f.c: Likewise.
72273         * math/w_j0l.c: Likewise.
72274         * math/w_j1.c: Likewise.
72275         * math/w_j1f.c: Likewise.
72276         * math/w_j1l.c: Likewise.
72277         * math/w_jn.c: Likewise.
72278         * math/w_jnf.c: Likewise.
72279         * math/w_log.c: Likewise.
72280         * math/w_logf.c: Likewise.
72281         * math/w_logl.c: Likewise.
72282         * math/w_log10.c: Likewise.
72283         * math/w_log10f.c: Likewise.
72284         * math/w_log10l.c: Likewise.
72285         * math/w_log2.c: Likewise.
72286         * math/w_log2f.c: Likewise.
72287         * math/w_log2l.c: Likewise.
72288         * math/w_pow.c: Likewise.
72289         * math/w_powf.c: Likewise.
72290         * math/w_powl.c: Likewise.
72291         * math/w_remainder.c: Likewise.
72292         * math/w_remainderf.c: Likewise.
72293         * math/w_remainderl.c: Likewise.
72294         * math/w_scalb.c: Likewise.
72295         * math/w_scalbf.c: Likewise.
72296         * math/w_scalbl.c: Likewise.
72297         * math/w_sqrt.c: Likewise.
72298         * math/w_sqrtf.c: Likewise.
72299         * math/w_sqrtl.c: Likewise.
72300         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72301         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72302         used.
72303         * math/math_private.h: Declare __kernel_standard_f.
72304         * math/w_cosh.c: Remove cruft and optimize a bit.
72305         * math/w_coshf.c: Likewise.
72306         * math/w_coshl.c: Likewise.
72307         * math/w_exp2.c: Likewise.
72308         * math/w_exp2f.c: Likewise.
72309         * math/w_exp2l.c: Likewise.
72310         * math/w_hypot.c: Likewise.
72311         * math/w_hypotf.c: Likewise.
72312         * math/w_hypotl.c: Likewise.
72313         * math/w_lgamma.c: Likewise.
72314         * math/w_lgamma_r.c: Likewise.
72315         * math/w_lgammaf.c: Likewise.
72316         * math/w_lgammaf_r.c: Likewise.
72317         * math/w_lgammal.c: Likewise.
72318         * math/w_lgammal_r.c: Likewise.
72319         * math/w_sinh.c: Likewise.
72320         * math/w_sinhf.c: Likewise.
72321         * math/w_sinhl.c: Likewise.
72322         * math/w_tgamma.c: Likewise.
72323         * math/w_tgammaf.c: Likewise.
72324         * math/w_tgammal.c: Likewise.
72325         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72327         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72328         Minor optimizations.  Pretty printing.  Remove cruft.
72329         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72332         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72333         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72334         * sysdeps/i386/fpu/e_asin.S: Likewise.
72335         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72336         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72337         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72338         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72340         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72341         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72342         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72343         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72344         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72345         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72346         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72347         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72348         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72349         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72350         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72351         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72352         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72353         * sysdeps/i386/fpu/e_log.S: Likewise.
72354         * sysdeps/i386/fpu/e_log10.S: Likewise.
72355         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72357         * sysdeps/i386/fpu/e_log2.S: Likewise.
72358         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72359         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72360         * sysdeps/i386/fpu/e_logf.S: Likewise.
72361         * sysdeps/i386/fpu/e_logl.S: Likewise.
72362         * sysdeps/i386/fpu/e_pow.S: Likewise.
72363         * sysdeps/i386/fpu/e_powf.S: Likewise.
72364         * sysdeps/i386/fpu/e_powl.S: Likewise.
72365         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72366         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72367         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72368         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72369         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72370         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72371         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72372         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72373         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72377         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72378         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72379         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72380         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72390         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72391         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72392         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72394         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72395         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72396         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72397         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72398         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72399         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72400         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72401         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72402         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72403         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72404         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72405         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72406         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72408         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72409         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72410         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72411         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72412         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72413         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72414         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72415         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72417         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72418         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72419         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72420         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72421         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72422         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72424         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72425         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72426         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72427         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72429         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72430         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72431         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72432         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72433         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72434         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72435         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72436         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72438         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72439         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72440         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72441         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72442         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72444         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72445         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72446         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72450         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72451         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72452         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72453         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72454         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72455         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72456         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72457         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72458         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72459         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72461         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72462         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72463         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72464         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72465         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72466         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72467         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72468         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72469         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72470         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72471         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72472         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72473         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72474         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72475         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72476         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72477         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72478         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72480         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72481         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72482         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72483         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72484         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72485         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72486         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72487         (__isnanf): Likewise.
72488         (__isinf_ns): Likewise.
72489         (__isinf_nsf): Likewise.
72490         (__finite): Likewise.
72491         (__finitef): Likewise.
72492         (__ieee754_sqrt): Define as macro.
72493         (__ieee754_sqrtf): Define as macro.
72494         (__ieee754_sqrtl): Define as macro.
72495         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72496         inlined copy.
72497         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72498         __FINITE_MATH_ONLY__ consistent.
72499         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72501 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72503         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72504         of rawmemchr.
72506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72508 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72510         * po/ja.po: Update from translation team.
72512 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72514         * locale/programs/locarchive.c (prepare_address_space): New function.
72515         (create_archive, enlarge_archive, open_archive): Use it.
72517         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72518         inside [SHARED], where it is used.
72520         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72522         * nss/getent.c (netgroup_keys): Remove unused variable.
72523         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72525 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72527         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72528         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72531         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72532         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72533         * math/Makefile (libm-calls): Add s_isinf_ns.
72534         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72535         * math/multc3.c: Likewise.
72536         * math/s_casin.c: Likewise.
72537         * math/s_casinf.c: Likewise.
72538         * math/s_casinl.c: Likewise.
72539         * math/s_ccos.c: Likewise.
72540         * math/s_ccosf.c: Likewise.
72541         * math/s_ccosl.c: Likewise.
72542         * math/s_ctan.c: Likewise.
72543         * math/s_ctanf.c: Likewise.
72544         * math/s_ctanh.c: Likewise.
72545         * math/s_ctanhf.c: Likewise.
72546         * math/s_ctanhl.c: Likewise.
72547         * math/s_ctanl.c: Likewise.
72548         * math/w_fmod.c: Likewise.
72549         * math/w_fmodf.c: Likewise.
72550         * math/w_fmodl.c: Likewise.
72551         * math/w_remainder.c: Likewise.
72552         * math/w_remainderf.c: Likewise.
72553         * math/w_remainderl.c: Likewise.
72554         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72555         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72558         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72559         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72560         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72561         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72563         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72564         of the number.
72565         * stdio-common/printf_fphex.c: Likewise.
72566         * stdio-common/printf_size.c: Likewise.
72568         * math/e_exp10.c: Include math_private.h using <...> not "...".
72569         * math/e_exp10f.c: Likewise.
72570         * math/e_exp10l.c: Likewise.
72571         * math/e_exp2l.c: Likewise.
72572         * math/e_j0l.c: Likewise.
72573         * math/e_j1l.c: Likewise.
72574         * math/e_jnl.c: Likewise.
72575         * math/e_lgammal_r.c: Likewise.
72576         * math/e_rem_pio2l.c: Likewise.
72577         * math/e_scalb.c: Likewise.
72578         * math/e_scalbf.c: Likewise.
72579         * math/e_scalbl.c: Likewise.
72580         * math/k_cosl.c: Likewise.
72581         * math/k_sinl.c: Likewise.
72582         * math/k_tanl.c: Likewise.
72583         * math/s_cacoshf.c: Likewise.
72584         * math/s_catan.c: Likewise.
72585         * math/s_catanf.c: Likewise.
72586         * math/s_catanh.c: Likewise.
72587         * math/s_catanhf.c: Likewise.
72588         * math/s_catanhl.c: Likewise.
72589         * math/s_catanl.c: Likewise.
72590         * math/s_ccosh.c: Likewise.
72591         * math/s_ccoshf.c: Likewise.
72592         * math/s_ccoshl.c: Likewise.
72593         * math/s_cexp.c: Likewise.
72594         * math/s_cexpf.c: Likewise.
72595         * math/s_cexpl.c: Likewise.
72596         * math/s_clog.c: Likewise.
72597         * math/s_clog10.c: Likewise.
72598         * math/s_clog10f.c: Likewise.
72599         * math/s_clog10l.c: Likewise.
72600         * math/s_clogf.c: Likewise.
72601         * math/s_clogl.c: Likewise.
72602         * math/s_csin.c: Likewise.
72603         * math/s_csinf.c: Likewise.
72604         * math/s_csinh.c: Likewise.
72605         * math/s_csinhf.c: Likewise.
72606         * math/s_csinhl.c: Likewise.
72607         * math/s_csinl.c: Likewise.
72608         * math/s_csqrt.c: Likewise.
72609         * math/s_csqrtf.c: Likewise.
72610         * math/s_csqrtl.c: Likewise.
72611         * math/s_ctan.c: Likewise.
72612         * math/s_ctanf.c: Likewise.
72613         * math/s_ctanh.c: Likewise.
72614         * math/s_ctanhf.c: Likewise.
72615         * math/s_ctanhl.c: Likewise.
72616         * math/s_ctanl.c: Likewise.
72617         * math/s_ldexp.c: Likewise.
72618         * math/s_ldexpf.c: Likewise.
72619         * math/s_ldexpl.c: Likewise.
72620         * math/s_significand.c: Likewise.
72621         * math/s_significandf.c: Likewise.
72622         * math/s_significandl.c: Likewise.
72623         * math/w_acos.c: Likewise.
72624         * math/w_acosf.c: Likewise.
72625         * math/w_acosh.c: Likewise.
72626         * math/w_acoshf.c: Likewise.
72627         * math/w_acoshl.c: Likewise.
72628         * math/w_acosl.c: Likewise.
72629         * math/w_asin.c: Likewise.
72630         * math/w_asinf.c: Likewise.
72631         * math/w_asinl.c: Likewise.
72632         * math/w_atan2.c: Likewise.
72633         * math/w_atan2f.c: Likewise.
72634         * math/w_atan2l.c: Likewise.
72635         * math/w_atanh.c: Likewise.
72636         * math/w_atanhf.c: Likewise.
72637         * math/w_atanhl.c: Likewise.
72638         * math/w_cosh.c: Likewise.
72639         * math/w_coshf.c: Likewise.
72640         * math/w_coshl.c: Likewise.
72641         * math/w_dremf.c: Likewise.
72642         * math/w_exp10.c: Likewise.
72643         * math/w_exp10f.c: Likewise.
72644         * math/w_exp10l.c: Likewise.
72645         * math/w_exp2.c: Likewise.
72646         * math/w_exp2f.c: Likewise.
72647         * math/w_fmod.c: Likewise.
72648         * math/w_fmodf.c: Likewise.
72649         * math/w_fmodl.c: Likewise.
72650         * math/w_hypot.c: Likewise.
72651         * math/w_hypotf.c: Likewise.
72652         * math/w_hypotl.c: Likewise.
72653         * math/w_j0.c: Likewise.
72654         * math/w_j0f.c: Likewise.
72655         * math/w_j0l.c: Likewise.
72656         * math/w_j1.c: Likewise.
72657         * math/w_j1f.c: Likewise.
72658         * math/w_j1l.c: Likewise.
72659         * math/w_jn.c: Likewise.
72660         * math/w_jnf.c: Likewise.
72661         * math/w_jnl.c: Likewise.
72662         * math/w_lgamma.c: Likewise.
72663         * math/w_lgamma_r.c: Likewise.
72664         * math/w_lgammaf.c: Likewise.
72665         * math/w_lgammaf_r.c: Likewise.
72666         * math/w_lgammal.c: Likewise.
72667         * math/w_lgammal_r.c: Likewise.
72668         * math/w_log.c: Likewise.
72669         * math/w_log10.c: Likewise.
72670         * math/w_log10f.c: Likewise.
72671         * math/w_log10l.c: Likewise.
72672         * math/w_log2.c: Likewise.
72673         * math/w_log2f.c: Likewise.
72674         * math/w_log2l.c: Likewise.
72675         * math/w_logf.c: Likewise.
72676         * math/w_logl.c: Likewise.
72677         * math/w_pow.c: Likewise.
72678         * math/w_powf.c: Likewise.
72679         * math/w_powl.c: Likewise.
72680         * math/w_remainder.c: Likewise.
72681         * math/w_remainderf.c: Likewise.
72682         * math/w_remainderl.c: Likewise.
72683         * math/w_scalb.c: Likewise.
72684         * math/w_scalbf.c: Likewise.
72685         * math/w_scalbl.c: Likewise.
72686         * math/w_sinh.c: Likewise.
72687         * math/w_sinhf.c: Likewise.
72688         * math/w_sinhl.c: Likewise.
72689         * math/w_sqrt.c: Likewise.
72690         * math/w_sqrtf.c: Likewise.
72691         * math/w_sqrtl.c: Likewise.
72692         * math/w_tgamma.c: Likewise.
72693         * math/w_tgammaf.c: Likewise.
72694         * math/w_tgammal.c: Likewise.
72696         * po/ja.po: Update from translation team.
72698 2011-09-29  Andreas Jaeger  <aj@suse.de>
72700         [BZ #13179]
72701         * sunrpc/netname.c (netname2host): Fix logic.
72703         [BZ #6779]
72704         [BZ #6783]
72705         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72706         correctly.
72707         * math/w_remainder.c (__remainder): Likewise.
72708         * math/w_remainderf.c (__remainderf): Likewise.
72709         * math/libm-test.inc (remainder_test): Add test cases.
72711 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72713         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72714         sdiv_qrnnd.
72716 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72718         * string/test-memcmp.c: Avoid unncessary #defines.
72719         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72721 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72723         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72724         Use new sse2 version for core i3 - i7 as it's faster
72725         than sse42 version.
72726         (bit_Prefer_PMINUB_for_stringop): New.
72727         * sysdeps/x86_64/rawmemchr.S: Update.
72728         Replace with faster SSE2 version.
72729         * sysdeps/x86_64/memrchr.S: New file.
72730         * sysdeps/x86_64/memchr.S: Update.
72731         Replace with faster SSE2 version.
72733 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72735         * elf/dl-load.c (lose): Add cast to avoid warning.
72737 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72739         * po/ca.po: Update from translation team.
72741         * inet/getnetgrent_r.c: Hook up nscd.
72742         * nscd/Makefile (routines): Add nscd_netgroup.
72743         (nscd-modules): Add netgroupcache.
72744         (CFLAGS-netgroupcache.c): Define.
72745         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72746         (cache_search): Add const to second parameter.
72747         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72748         INNETGR.
72749         (dbs): Add netgrdb entry.
72750         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72751         (verify_persistent_db): Handle netgrdb.
72752         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72753         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72754         GETFDNETGR.
72755         (netgroup_response_header): Define.
72756         (innetgroup_response_header): Define.
72757         (datahead): Add netgroup_response_header and innetgroup_response_header
72758         elements.
72759         * nscd/nscd.conf: Add entries for netgroup cache.
72760         * nscd/nscd.h (dbtype): Add netgrdb.
72761         (_PATH_NSCD_NETGROUP_DB): Define.
72762         (netgroup_iov_disabled): Declare.
72763         (xmalloc, xcalloc, xrealloc): Move declarations here.
72764         (cache_search): Adjust prototype.
72765         Add netgroup-related prototypes.
72766         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72767         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72768         (__nscd_innetgr): Declare.
72769         * nscd/selinux.c (perms): Use access_vector_t as element type and
72770         add netgroup-related initializers.
72771         * nscd/netgroupcache.c: New file.
72772         * nscd/nscd_netgroup.c: New file.
72773         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72774         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72775         For four parameters use innetgr.
72776         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72777         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72778         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72779         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72781         * nscd/connections.c (register_traced_file): Don't register file
72782         for disabled databases.
72784 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72786         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72788         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72789         from tree and freeing node.
72791 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72793         * nss/nsswitch.c (__nss_database_lookup): Handle
72794         nss_parse_service_list out of memory case.
72796 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72798         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72799         out of memory case.
72801 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72803         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72804         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72805         pass it down.
72806         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72807         elf_machine_rela, elf_machine_lazy_rel.
72808         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72809         (ELF_DYNAMIC_DO_REL): Likewise.
72810         (ELF_DYNAMIC_DO_RELA): Likewise.
72811         (ELF_DYNAMIC_RELOCATE): Likewise.
72812         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72813         to ELF_DYNAMIC_DO_REL.
72814         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72815         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72816         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72817         elf_machine_rela.
72818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72819         skip_ifunc, don't call ifunc function if non-zero.
72820         (elf_machine_rela): Likewise.
72821         (elf_machine_lazy_rel): Likewise.
72822         (elf_machine_lazy_rela): Likewise.
72823         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72824         (elf_machine_lazy_rel): Likewise.
72825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72826         Likewise.
72827         (elf_machine_lazy_rel): Likewise.
72828         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72829         Likewise.
72830         (elf_machine_lazy_rel): Likewise.
72831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72832         (elf_machine_lazy_rel): Likewise.
72833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72834         (elf_machine_lazy_rel): Likewise.
72835         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72836         (elf_machine_lazy_rel): Likewise.
72837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72838         (elf_machine_lazy_rel): Likewise.
72839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72840         (elf_machine_lazy_rel): Likewise.
72841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72842         (elf_machine_lazy_rel): Likewise.
72844 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72846         * nss/nss_files/files-init.c (_nss_files_init): Use static
72847         initialization for all the *_traced_file variables.
72849 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72853 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72855         [BZ #13226]
72856         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72858 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72861         Reread the line before reparsing it.
72863 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72865         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72867 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72868             Maxim Kuvyrkov  <maxim@codesourcery.com>
72869             Joseph Myers  <joseph@codesourcery.com>
72871         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72872         if needed for __stack_chk_guard.
72874 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72876         * sysdeps/posix/spawni.c (script_execute): Always define it.
72877         It will be optimized away if unused.
72878         (maybe_script_execute): New function.
72879         (__spawni): Call it.
72881         * Makerules: Don't include tls.make.
72882         (config-tls): Always set to thread.
72883         * tls.make.c: File removed.
72885 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72887         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72888         * config.make.in (CPPFLAGS-config): New substituted variable.
72890 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72892         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72894         [BZ #13192]
72895         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72896         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72898 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72900         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72901         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72902         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72903         (CALL_FAIL): Likewise.
72904         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72905         (CALL_FAIL): Macro removed.
72906         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72908 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72910         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72911         for __FINITE_MATH_ONLY__ == 1.
72913 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72915         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72916         __ieee754_sqrt instead of sqrt.
72917         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72918         __ieee754_sqrtf instead of sqrtf.
72919         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72920         __floorf instead of floorf.
72921         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72922         __floorf, __truncf instead of floorf, truncf.
72924 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72926         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72928         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72929         __extern_always_inline.
72930         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72931         32-bit.
72933 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72935         * elf/rtld.c (dl_main): Also relocate in dependency order when
72936         doing symbol dependency testing.
72938 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72941         Always define `refsym'.
72943 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72945         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72946         (__FD_ELT): Renamed from __FDELT.
72947         * misc/bits/select2.h (__FD_ELT): Likewise.
72948         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72949         __FD_MASK instead of __FDELT, __FDMASK.
72950         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72951         Likewise.
72952         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72953         Likewise.
72955         * elf/Makefile (gen-ldd): Fix pattern.
72957         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72958         (init_tls): Likewise.
72960 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72962         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72964 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72966         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72967         `struct cmsghdr *' instead of `void *'.
72968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72969         Likewise.
72971 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72973         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72974         if non-absolute.
72975         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72976         ldd_rewrite_script.
72978 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72980         * configure.in: Remove --with-tls option.
72981         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72982         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72983         out in case it is missing.
72984         * sysdeps/ia64/elf/configure.in: Likewise.
72985         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72986         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72987         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72988         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72989         * sysdeps/sh/elf/configure.in: Likewise.
72990         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72991         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72992         * sysdeps/x86_64/elf/configure.in: Likewise.
72993         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72994         * sysdeps/mach/hurd/tls.h: Likewise.
72996         [BZ #13067]
72997         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72999         [BZ #13090]
73000         * configure.in: Fix use of AC_INIT.
73002         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73004 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73006         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73007         __set_errno.
73008         * malloc/hooks.c: Likewise.
73010         [BZ #11929]
73011         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73012         variables statically.
73013         (narenas): Initialize.
73014         (list_lock): Initialize.
73015         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73016         initializtion of main_arena and list_lock.  Small cleanups.
73017         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73018         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73019         Add initializers to main_arena and mp_.
73020         (malloc_state): Remove pagesize member.  Change all users to use
73021         GLRO(dl_pagesize).
73023         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73024         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73025         is always initialized.
73027         * malloc/malloc.c: Removed unused configurations and dead code.
73028         * malloc/arena.c: Likewise.
73029         * malloc/hooks.c: Likewise.
73030         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73032         * include/tls.h: Removed.  USE___THREAD must always be defined.
73033         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73034         * elf/dl-libc.c: Likewise.
73035         * elf/dl-tsd.c: Likewise.
73036         * include/errno.h: Likewise.
73037         * include/netdb.h: Likewise.
73038         * include/resolv.h: Likewise.
73039         * inet/herrno-loc.c: Likewise.
73040         * inet/herrno.c: Likewise.
73041         * malloc/arena.c: Likewise.
73042         * malloc/hooks.c: Likewise.
73043         * malloc/malloc.c: Likewise.
73044         * resolv/res-state.c: Likewise.
73045         * resolv/res_libc.c: Likewise.
73046         * sysdeps/i386/dl-machine.h: Likewise.
73047         * sysdeps/ia64/dl-machine.h: Likewise.
73048         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73050         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73051         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73052         * sysdeps/sh/dl-machine.h: Likewise.
73053         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73054         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73055         * sysdeps/unix/i386/sysdep.S: Likewise.
73056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73057         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73060         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73062         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73066         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73067         * sysdeps/x86_64/dl-machine.h: Likewise.
73068         * tls.make.c: Likewise.
73070         * configure.in: Remove --with-__thread option.  Make tests for
73071         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73072         tls_model attribute fail if no support is available.  Remove
73073         USE_IN_LIBIO.
73074         * Makeconfig: Adjust for dropped configure option.  All features are
73075         now mandatory.
73076         * Makerules: Likewise.
73077         * Versions.def: Likewise.
73078         * argp/argp-fmtstream.c: Likewise.
73079         * argp/argp-fmtstream.h: Likewise.
73080         * argp/argp-help.c: Likewise.
73081         * assert/assert.c: Likewise.
73082         * config.h.in: Likewise.
73083         * config.make.in: Likewise.
73084         * configure: Likewise.
73085         * configure.in: Likewise.
73086         * csu/Versions: Likewise.
73087         * csu/init.c: Likewise.
73088         * elf/tst-audit2.c: Likewise.
73089         * elf/tst-tls10.c: Likewise.
73090         * elf/tst-tls10.h: Likewise.
73091         * elf/tst-tls11.c: Likewise.
73092         * elf/tst-tls12.c: Likewise.
73093         * elf/tst-tls14.c: Likewise.
73094         * elf/tst-tlsmod11.c: Likewise.
73095         * elf/tst-tlsmod12.c: Likewise.
73096         * elf/tst-tlsmod13.c: Likewise.
73097         * elf/tst-tlsmod13a.c: Likewise.
73098         * elf/tst-tlsmod14a.c: Likewise.
73099         * elf/tst-tlsmod15b.c: Likewise.
73100         * elf/tst-tlsmod16a.c: Likewise.
73101         * elf/tst-tlsmod16b.c: Likewise.
73102         * elf/tst-tlsmod7.c: Likewise.
73103         * elf/tst-tlsmod8.c: Likewise.
73104         * elf/tst-tlsmod9.c: Likewise.
73105         * gmon/gmon.c: Likewise.
73106         * grp/fgetgrent_r.c: Likewise.
73107         * grp/putgrent.c: Likewise.
73108         * hurd/fopenport.c: Likewise.
73109         * include/libc-symbols.h: Likewise.
73110         * include/tls.h: Likewise.
73111         * intl/gettextP.h: Likewise.
73112         * intl/loadinfo.h: Likewise.
73113         * locale/global-locale.c: Likewise.
73114         * locale/localeinfo.h: Likewise.
73115         * mach/devstream.c: Likewise.
73116         * malloc/arena.c: Likewise.
73117         * malloc/set-freeres.c: Likewise.
73118         * misc/err.c: Likewise.
73119         * misc/getttyent.c: Likewise.
73120         * misc/mntent_r.c: Likewise.
73121         * posix/getopt.c: Likewise.
73122         * posix/wordexp.c: Likewise.
73123         * pwd/fgetpwent_r.c: Likewise.
73124         * resolv/Versions: Likewise.
73125         * resolv/res_hconf.c: Likewise.
73126         * shadow/fgetspent_r.c: Likewise.
73127         * shadow/putspent.c: Likewise.
73128         * stdio-common/printf_fphex.c: Likewise.
73129         * stdio-common/tmpfile.c: Likewise.
73130         * stdlib/abort.c: Likewise.
73131         * stdlib/fmtmsg.c: Likewise.
73132         * sunrpc/auth_unix.c: Likewise.
73133         * sunrpc/clnt_perr.c: Likewise.
73134         * sunrpc/clnt_tcp.c: Likewise.
73135         * sunrpc/clnt_udp.c: Likewise.
73136         * sunrpc/clnt_unix.c: Likewise.
73137         * sunrpc/openchild.c: Likewise.
73138         * sunrpc/svc_simple.c: Likewise.
73139         * sunrpc/svc_tcp.c: Likewise.
73140         * sunrpc/svc_udp.c: Likewise.
73141         * sunrpc/svc_unix.c: Likewise.
73142         * sunrpc/xdr.c: Likewise.
73143         * sunrpc/xdr_array.c: Likewise.
73144         * sunrpc/xdr_rec.c: Likewise.
73145         * sunrpc/xdr_ref.c: Likewise.
73146         * sunrpc/xdr_stdio.c: Likewise.
73148 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73150         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73152 2011-07-03  Andreas Jaeger  <aj@suse.de>
73154         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73155         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73156         regenerate with gen-libm-tests.pl.
73158 2010-05-12  Petr Baudis  <pasky@suse.cz>
73160         [BZ #11589]
73161         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73162         around j0() zero points by switching to j1().
73163         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73166         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73168 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73170         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73171         instead of 0.
73172         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73173         instead of 0.
73174         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73175         Patch in part by Pavel Roskin <proski@gnu.org>.
73177         [BZ #13138]
73178         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73179         realloc.
73180         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73181         Free memory block if necessary.
73183         [BZ #12847]
73184         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73185         be NULL.  Don't lock in this case.
73187 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73189         * elf/elf.h (ELFOSABI_GNU): New macro.
73190         (ELFOSABI_LINUX): Define to that.
73192 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73194         * string/strncat.c (strncat): Undef the symbol in case it has been
73195         defined in bits/string.h.
73197 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73199         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73201         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73202         link map.
73204 2011-08-17  Andreas Jaeger  <aj@suse.de>
73206         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73208 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73209             Ian Lance Taylor  <iant@google.com>
73211         * math/libm-test.inc (lround_test): New testcase.
73212         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73214 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73216         * Makefile: Remove support for automatic cvs check-ins.
73217         * Makerules: Likewise.
73218         * config.make.in: Likewise.
73219         * configure.in: Likewise.
73220         * intl/Makefile: Likewise.
73221         * locale/Makefile: Likewise.
73222         * po/Makefile: Likewise.
73223         * posix/Makefile: Likewise.
73224         * sysdeps/gnu/Makefile: Likewise.
73225         * sysdeps/mach/hurd/Makefile: Likewise.
73226         * sysdeps/sparc/sparc32/Makefile: Likewise.
73228         [BZ #13118]
73229         * posix/Makefile (bug-regex32-ENV): Define.
73230         Patch by John Stanley <jpsinthemix@verizon.net>.
73232         * misc/Makefile (headers): Add bits/select2.h.
73233         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73234         * misc/bits/select2.h: New file.
73235         * include/bits/select2.h: New file.
73236         * debug/Makefile (routines): Add fdelt_chk.
73237         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73238         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73239         FD_ISSET.
73240         * debug/fdelt_chk.c: New file.
73242         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73243         * wcsmbs/test-wmemcmp.c: Likewise.
73244         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73245         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73247 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73249         * string/Makefile (strop-tests): Add memcmp.
73250         * string/test-wmemcmp.c: New file.
73251         * string/test-memcmp.c: Add wmemcmp support.
73253 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73255         [BZ #13153]
73256         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73257         2011-07-19 change.
73259         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73260         garbage value in a __mach_port_mod_refs call in the cases of the
73261         task-self and thread-self ports.
73263 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73265         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73267 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73269         * elf/dl-load.c (lose): Check for non-null L.
73271 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73273         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73275         * elf/dl-libc.c (dlerror_run): Pass back error code from
73276         dl_catch_error.
73278         [BZ #13123]
73279         * elf/dl-load.c (lose): Free l_origin if it is valid.
73281         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73282         names.
73283         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73286         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73287         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73288         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73290 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73292         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73293         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73294         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73295         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73296         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73297         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73298         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73299         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73300         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73301         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73303 2011-08-15  Alan Modra  <amodra@gmail.com>
73305         [BZ #13092]
73306         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73307         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73308         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73309         ppc_mcount to static-only-routines.
73310         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73311         __mcount_internal.
73312         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73313         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73315 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73317         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73318         for finite and infinity parameters.
73320 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73323         and add nop instructions for throughput optimization.
73324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73326 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73328         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73329         aligned copy for power7 with vector-scalar instructions.
73330         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73332 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73334         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73335         AVX check.
73337 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73339         [BZ #13144]
73340         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73341         last change.
73343 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73346         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73347         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73349         clock_gettime.
73351 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73353         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73354         Forgot to demangle the pointer.
73356         * sysdeps/i386/sysdep.h: Define atom_text_section.
73357         * sysdeps/x86_64/sysdep.h: Likewise.
73358         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73359         section with atom_text_section.
73360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73361         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73362         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73364         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73367         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73368         already be defined.  Change to take two parameters and don't assign
73369         result to variable.  Adjust all users.
73370         Define INTERNAL_GETTIME if not already defined.
73371         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73372         call.
73373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73374         HAVE_CLOCK_GETTIME_VSYSCALL.
73375         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73378         gettimeofday vsyscall, just use time.
73380 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73383         <errno.h>.
73385 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73387         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73388         syscall on x86-64.
73389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73390         syscall.
73391         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73393         syscall if possible.
73395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73397         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73398         e_ident.  Don't pass to find_mapsXX.
73399         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73401 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73404         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73405         * sysdeps/x86_64/multiarch/strchr.S: Update.
73406         Check bit_slow_BSF bit.
73407         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73408         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73409         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73411 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73413         [BZ #13134]
73414         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73415         before glibc 2.15.
73416         (tryshell): Define.
73417         (__spawni): Change last parameter to be flag.  Test
73418         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73419         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73420         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73421         * posix/spawni.c: Likewise.
73422         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73423         * posix/spawnp.c: Likewise.  Change normal version to use
73424         SPAWN_XFLAGS_USE_PATH.
73425         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73426         SPAWN_XFLAGS_TRY_SHELL.
73428         [BZ #13150]
73429         * posix/glob.h: Remove gcc 1.x support.
73431         [BZ #13068]
73432         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73434 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73437         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73438         strrchr-sse2-bsf
73439         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73440         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73441         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73442         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73443         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73444         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73446 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73448         * sysdeps/x86_64/wcscmp.S: New file.
73450         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73451         wcscmp-c wcscmp-sse2
73452         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73453         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73454         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73455         * wcsmbs/wcscmp.c: Allow renaming.
73457 2011-09-05  David S. Miller  <davem@davemloft.net>
73459         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73460         stack slot, rather than the struct return pointer slot.
73461         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73462         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73466 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73468         * po/ja.po: Update from translation team.
73470         [BZ #13144]
73471         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73472         kernel in 64-bit binaries.
73474 2011-09-01  David S. Miller  <davem@davemloft.net>
73476         * elf/elf.h (HWCAP_SPARC_*): Move to..
73477         * sysdeps/sparc/sysdep.h: this new file and add new values.
73478         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73479         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73480         _DL_HWCAP_COUNT to 24.
73481         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73482         entries.
73483         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73484         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73485         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73486         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73487         instead of magic constants.
73488         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73490 2011-08-31  David S. Miller  <davem@davemloft.net>
73492         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73494         Reimplement to do errno handling inline.
73495         (SYSCALL_ERROR_HANDLER): New macro.
73496         (__SYSCALL_STRING): Do not do errno handling in asm.
73497         (__CLONE_SYSCALL_STRING): Delete.
73498         (__INTERNAL_SYSCALL_STRING): Delete.
73499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73500         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73501         (PSEUDO): Reimplement to do errno handling inline.
73502         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73503         (SYSCALL_ERROR_HANDLER): New macro.
73504         (__SYSCALL_STRING): Do not do errno handling in asm.
73505         (__CLONE_SYSCALL_STRING): Delete.
73506         (__INTERNAL_SYSCALL_STRING): Delete.
73507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73508         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73509         i386.
73510         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73511         (inline_syscall*): Add 'err' argument.
73512         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73513         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73514         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73515         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73517         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73518         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73520 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73522         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73524 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73526         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73527         directive.
73529 2011-08-24  David S. Miller  <davem@davemloft.net>
73531         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73533 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73535         * elf/Makefile: Add rules to build and run unload8 test.
73536         * elf/unload8.c: New file.
73537         * elf/unload8mod1.c: New file.
73538         * elf/unload8mod1x.c: New file.
73539         * elf/unload8mod2.c: New file.
73540         * elf/unload8mod3.c: New file.
73542         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73543         it wasn't used.
73545 2011-08-23  David S. Miller  <davem@davemloft.net>
73547         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73548         subtract stack bias.
73549         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73550         %sp not %fp in calculations.
73551         (_JMPBUF_UNWINDS_ADJ): Likewise.
73553         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73554         (aio_suspend): Call it to force an exception region around the
73555         AIO_MISC_WAIT() invocation.
73557 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73559         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73560         backslash.
73562 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73564         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73565         protection macro.
73566         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73567         and <dl-machine.h>.
73568         (Elf64_FuncDesc): Remove.
73570 2011-08-22  David S. Miller  <davem@davemloft.net>
73572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73573         sigaltstack check, add missing cfi directives.
73574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73575         missing cfi directives, and sigaltstack handling.
73577 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73579         [BZ #11724]
73580         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73581         object is seen twice.
73582         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73584         * elf/Makefile (distribute): Add tst-initorder2.c.
73585         (tests): Add tst-initorder2.
73586         (modules-names): Add tst-initorder2a tst-initorder2b
73587         tst-initorder2c tst-initorder2d.  Add rules to build them.
73588         ($(objpfx)tst-initorder2.out): New rule.
73589         * elf/tst-initorder2.c: New file.
73590         * elf/tst-initorder2.exp: New file.
73592 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73594         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73596         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73597         dependencies back to end of function.
73599         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73600         $(elfobjdir)/ld.so.
73602 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73605         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73607         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73608         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73609         of __vdso_gettimeofday.
73610         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73611         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73612         attribute_hidden.
73613         (_libc_vdso_platform_setup): Remove initialization of
73614         __vdso_gettimeofday and __vdso_time.
73616 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73618         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73619         and fgetc_unlocked.
73620         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73621         getc_unlocked.
73623         * elf/dl-open.c (add_to_global): Report additions to the global scope
73624         for LD_DEBUG=scopes.
73625         (dl_open_worker): Also print scope of newly loaded dependencies.
73626         (_dl_show_scope): Indicate if there is no scope.
73628         [BZ #13114]
73629         * stdio-common/Makefile (tests): Add bug24.
73630         * stdio-common/bug24.c: New file.
73632 2011-08-19  Andreas Jaeger  <aj@suse.de>
73634         [BZ #13114]
73635         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73636         non-existant file when using close-on-exec mode.
73638 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73641         the very first instruction.
73643         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73644         the CFI state in the end.
73645         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73646         inclusion of dl-trampoline.h.
73647         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73649 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73651         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73652         expectations for long double.
73654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73655         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73657 2011-08-14  David S. Miller  <davem@davemloft.net>
73659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73660         artificual limit depends upon the system page size.
73662 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73664         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73665         * resolv/Makefile: Define CFLAGS-libresolv.
73667 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73669         * nss/makedb.c (compute_tables): Make variables used in nested
73670         function static.
73672 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73674         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73675         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73676         if buffer was too small.
73678         * elf/pldd.c (main): Attach to all threads in the process.
73679         Rewrite /proc handling to use *at functions.
73681 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73683         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73684         specifies first scope to show.
73685         (dl_open_worker): Update callers.  Move printing scope of new
73686         object to before the relocation.
73687         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73688         * sysdeps/generic/ldsodefs.h: Update declaration.
73690         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73691         string for the scope number.
73693 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73695         * nscd/servicescache.c (cache_addserv): Make sure written is always
73696         initialized.
73698 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73700         * sysdeps/i386/i486/bits/atomic.h
73701         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73702         statement expression, so as to suppress "set but not used" warning.
73703         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73705         * string/strncat.c (STRNCAT): Use prototype definition.
73707         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73708         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73709         -Iprograms here.
73710         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73711         (localedef-modules): Add localedef.
73712         (locale-modules): Add locale.
73714         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73715         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73716         to avoid a warning.
73718 2011-08-14  David S. Miller  <davem@davemloft.net>
73720         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73721         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73723 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73725         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73726         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73727         * elf/rtld.c (dl_main): Set l_name of vDSO.
73728         Call _dl_show_scope when DL_DEBUG_SCOPES.
73729         (process_dl_debug): Recognize scopes flag and also set it for all.
73730         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73731         Declare _dl_show_scope.
73733         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73734         (do_dlopen): Pass caller_dlopen to dl_open.
73735         (__libc_dlopen_mode): Initialize caller_dlopen.
73737         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73738         of libc.  Make tolower call locale-independent.  Optimize a bit by
73739         using isdigit instead of isalnum.
73740         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73742 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73744         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73745         was a dependency or dynamically loaded.
73747 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73749         * intl/l10nflist.c: Allow architecture-specific pop function.
73750         * sysdeps/x86_64/l10nflist.c: New file.
73752         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73753         classification.
73755 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73757         * include/dirent.h: Add libc_hidden_proto for scandirat and
73758         scandirat64.  Don't declare __scandirat64.
73759         * dirent/scandirat.c: Add libc_hidden_def.
73760         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73761         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73763 2011-08-10  David S. Miller  <davem@davemloft.net>
73765         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73766         enum.
73767         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73768         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73771 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73773         * Versions.def [libc]: Add GLIBC_2.15.
73774         * dirent/Makefile (routines): Add scandirat and scandirat64.
73775         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73776         GLIBC_2.15.
73777         * dirent/dirent.h: Declare scandirat and scandirat64.
73778         * dirent/scandirat.c: New file.
73779         * dirent/scandirat64.c: New file.
73780         * sysdeps/wordsize-64/scandirat.c: New file.
73781         * sysdeps/wordsize-64/scandirat64.c: New file.
73782         * dirent/opendir.c: Define opendirat.
73783         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73784         using scandirat.
73785         * dirent/scandir64.c: Adjust for scandir.c change.
73786         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73787         __scandirat64, and __scandir_cancel_handler.
73788         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73789         additional parameter and use openat instead of open (outside of ld.so).
73790         Add new __opendir as wrapper around __opendirat.
73791         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73792         here without requiring old scandirat implementation.
73794 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73796         * dirent/scandir.c (cancel_handler): Renamed to
73797         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73798         defined.  Adjust users.
73799         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73800         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73802 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73804         * string/test-string.h (IMPL): Use __STRING to expand name and then
73805         stringify it.
73807         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73808         of cleanups.
73810 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73812         * string/Makefile: Update.
73813         (strop-tests): Append strncat.
73814         * string/test-wcscmp.c: New file.
73815         New comprehensive test for wcscmp.
73816         * string/test-strcmp.c: Update.
73817         (WIDE): New define.
73819 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73821         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73822         line.
73824 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73827         encoding to ACE if AI_IDN.
73829 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73832         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73834 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73836         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73837         Fix overflow bug in strncat.
73838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73840         * string/test-strncat.c: Update.
73841         Add new tests for checking overflow bugs.
73843 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73846         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73847         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73848         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73850         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73851         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73852         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73853         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73856         (USE_AS_STRCAT): Define.
73857         Add strcat and strncat support.
73858         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73860 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73862         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73863         __n bigger than INT_MAX+1.
73864         (__strncmp_g): Likewise.
73866 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73868         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73869         * libio/stido.h: Likewise.
73871         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73872         (AF_NFC): Define.
73873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73874         (AF_NFC): Define.
73876         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73878         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73879         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73882         [BZ #13021]
73883         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73884         installed.
73886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73887         typo.
73888         (_dl_x86_64_save_sse): Likewise.
73890 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73893         OSXSAVE.
73894         (_dl_x86_64_save_sse): Likewise.
73896         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73898         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73900 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73903         change.
73904         (_dl_x86_64_save_sse): Use correct AVX check.
73906 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73909         bug in strncpy/strncat.
73910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73912 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73914         * string/tester.c (test_strcat): Add tests for different alignments
73915         of source and destination.
73916         (test_strncat): Likewise.
73918 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73920         [BZ #12852]
73921         * posix/glob.c (glob): Check passed in values before using them in
73922         expressions to avoid some overflows.
73923         (glob_in_dir): Likewise.
73925         [BZ #13007]
73926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73927         check for AVX enablement so that we don't crash with old kernels and
73928         new hardware.
73929         * elf/tst-audit4.c: Add same checks here.
73930         * elf/tst-audit6.c: Likewise.
73932         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73934 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73936         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73938 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73940         * po/cs.po: Update from translation team.
73941         * po/bg.po: Likewise.
73943 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73945         * misc/sys/cdefs.h: Add support for const attribute.
73946         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73947         to gnu_dev_{major,minor,makedev} functions.
73949 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73951         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73953 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73955         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73956         strlen results.
73958 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73961         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73962         register in order to avoid conflicts with the soft frame pointer
73963         being held in r11 when necessary.
73964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73965         (INTERNAL_VSYSCALL_NCS): Likewise.
73967 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73969         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73970         * elf/dl-fini.c (_dl_fini): Adjust caller.
73971         * elf/dl-close.c (_dl_close_worker): Likewise.
73972         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73974 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73976         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73977         "aux_cache->nlibs < 0".
73979         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73980         in the reload-count case.
73982 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73985         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73986         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73987         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73988         * sysdeps/x86_64/multiarch/strcat.S: New file.
73989         * sysdeps/x86_64/multiarch/strncat.S: New file.
73990         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73991         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73992         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73993         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73994         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73995         (USE_AS_STRCAT): Define.
73996         Add strcat and strncat support.
73997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73999         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74000         * string/strncat.c: Update.
74001         (USE_AS_STRNCAT): Define.
74002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74003         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74004         and i7.
74005         * sysdeps/x86_64/multiarch/init-arch.h
74006         (bit_Prefer_PMINUB_for_stringop): New.
74007         (index_Prefer_PMINUB_for_stringop): Likewise.
74008         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74009         bit_Prefer_PMINUB_for_stringop.
74011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74013         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74014         buffer64.
74015         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74016         of casting of buffer.
74017         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74018         buffer32 and buffer64.
74019         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74020         writes instead of casting of buffer.
74021         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74022         buffer32.
74023         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74024         casting of buffer.
74026 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74028         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74030 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74032         * nscd/nscd.c (termination_handler): Don't do anything for a database
74033         if it has not yet been initialized.
74035 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74041         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74043 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74045         * po/nl.po: Update from translation team.
74046         * po/sv.po: Likewise.
74048 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74050         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74051         now disallowed by GCC.
74053         * configure.in (use-default-link): Default to yes if a test -shared
74054         link meets our qualifications.
74055         * configure: Regenerated.
74057         * config.make.in (output-format): New variable.
74058         * configure.in: Check for ld --print-output-format support.
74059         * configure: Regenerated.
74060         * Makerules ($(common-objpfx)format.lds)
74061         [$(output-format) != unknown]: Just use $(output-format),
74062         instead of the linker-script munging.
74064 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74066         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74067         of $(common-objpfx)shlib.lds.
74068         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74070         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74071         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74073         * configure.in (-z relro check): Adjust test code to add a large
74074         writable data section after it.
74075         * configure: Regenerated.
74077 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74079         * configure.in (-z relro check): Fix test code to make the variable
74080         truly const.
74081         * configure: Regenerated.
74083 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74085         * nscd/nscd.h (struct traced_file): Define.
74086         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74087         elements.  Add traced_files.
74088         (inotify_fd): Declare.
74089         (register_traced_file): Declare.
74090         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74091         (inotify_fd): Export.
74092         (resolv_conf_descr): Remove.
74093         (nscd_init): Move inotify descriptor creation to main.
74094         Don't register files for notification here.
74095         (register_traced_file): New function.
74096         (invalidate_cache): Don't use reset_res to determine whether to call
74097         res_init, go through the list of registered files.
74098         (main_loop_poll): The inotify descriptors are now stored in the
74099         structures for the traced files.
74100         (main_loop_epoll): Likewise.
74101         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74102         to __nss_disable_nscd.
74103         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74104         for a database anymore.  Check the records for all the registered
74105         files instead.
74106         * nss/Makefile (libnss_files-routines): Add files-init.
74107         (libnss_db-routines): Add db-init.
74108         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74109         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74110         * nss/nss_db/db-init.c: New file.
74111         * nss/nss_files/files-init.c: New file.
74112         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74113         __nss_lookup_function.
74114         (__nss_lookup_function): Call nss_load_library.
74115         (nss_load_all_libraries): New function.
74116         (__nss_disable_nscd): Take parameter with callback function for files
74117         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74118         used for the cached services.
74119         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74120         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74121         options for features to all the files in nscd.
74123         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74125 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74127         * csu/elf-init.c (__libc_csu_init): Comment typo.
74129 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74131         * po/pl.po: Update from translation team.
74132         * po/ja.po: Likewise.
74133         * po/ru.po: Likewise.
74134         * po/ko.po: Likewise.
74135         * po/fr.po: Likewise.
74137 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74139         * configure.in (.ctors/.dtors header and trailer check):
74140         Use an empirical test on a built program.
74141         * configure: Regenerated.
74143         * configure.in (-z relro check): Use an empirical test on a built DSO.
74144         Detect, but do not require, on ia64.
74145         * configure: Regenerated.
74147         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74148         Update tests that use readelf to use $READELF instead.
74149         * configure: Regenerated.
74151 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74153         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74154         if the result is not used.
74156 2011-07-05  Andreas Jaeger  <aj@suse.de>
74158         [BZ#9696]
74159         * stdlib/tst-strtod.c: Add testcase.
74161 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74163         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74164         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74165         The latter has a higher limit.  Take additional parameter to pass to
74166         the new function.
74167         (__pathconf): Pass file to __statfs_link_max.
74168         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74169         __statfs_link_max.
74170         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74171         __statfs_link_max.
74173         [BZ #12868]
74174         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74176         Handle Lustre.
74177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74178         (__statfs_filesize_max): Likewise.
74179         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74181 2011-07-05  Andreas Jaeger  <aj@suse.de>
74183         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74185 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74187         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74188         `status' variable.
74189         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74190         Likewise.
74192 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74194         * Makefile (strop-tests): Add strncat.
74195         * string/test-strncat.c: New file.
74197 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74199         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74201 2011-06-21  Andreas Jaeger  <aj@suse.de>
74203         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74204         Copy rule from iconvdata/Makefile.
74206 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74208         [BZ #12922]
74209         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74210         but no long options are defined, just return 'W'.
74212 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74214         [BZ #9696]
74215         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74217 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74219         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74220         netgroups to read.
74221         (innetgr): Likewise.
74223 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74225         * config.make.in (install_root): Default to $(DESTDIR).
74227 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74231 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74233         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74235         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74236         containing directory rather than embedding absolute directory names.
74238         * scripts/check-local-headers.sh: Rewritten using awk.
74239         Match by word, not by line.  Print error messages for matches.
74240         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74242         * Makerules [shlib-lds-flags empty]:
74243         ($(common-objpfx)libc_pic.opts): New target.
74244         ($(common-objpfx)libc_pic.os.clean): New target.
74245         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74247         * config.make.in (OBJCOPY): New variable.
74248         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74249         * configure: Regenerated.
74251         * config.make.in (use-default-link): New variable.
74252         * configure.in (use_default_link): Grok --with-default-link to set it.
74253         * configure: Regenerated.
74254         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74255         (shlib-lds, shlib-lds-flags): Define to empty.
74257         * Makerules (shlib-lds): New variable.
74258         (shlib-lds-flags): New variable.
74259         (build-shlib, build-moduile, build-module-asneeded): Use it.
74260         ($(common-objpfx)libc.so): Use $(shlib-lds).
74261         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74262         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74264         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74265         DT_FLAGS/DT_FLAGS_1 with zero flags.
74267         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74268         linker script munging.
74270 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74272         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74273         as 128-bit value.
74274         * crypt/sha512.c (sha512_process_block): Perform total addition using
74275         128-bit if possible.
74276         (__sha512_finish_ctx): Likewise.
74277         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74278         as 64-bit value.
74279         * crypt/sha256.c (SWAP64): Define.
74280         (sha256_process_block): Perform total addition using 64-bit if
74281         possible.
74282         (__sha256_finish_ctx): Likewise.
74284 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74286         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74288         * nscd/hstcache.c (cache_addhst): Likewise.
74289         * nscd/grpcache.c (cache_addgr): Likewise.
74290         * nscd/aicache.c (addhstaiX): Likewise.
74291         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74293 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74295         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74297         * nscd/hstcache.c (cache_addhst): Likewise.
74298         * nscd/grpcache.c (cache_addgr): Likewise.
74299         * nscd/aicache.c (addhstaiX): Likewise.
74301 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74303         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74304         domain only when needed.
74306 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74309         is always restored.
74311 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74313         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74314         are re-adding the entry.
74315         * nscd/servicescache.c (cache_addserv): Likewise.
74317 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74319         * sysdeps/generic/dl-irel.h: fix protection against multiple
74320         inclusions.
74321         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74323 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74325         [BZ #12935]
74326         * malloc/memusage.sh: Fix quoting in message.
74327         * debug/xtrace.sh: Likewise.
74329         * configure.in: Remove support for --experimental-malloc option, make
74330         it the default.
74331         * config.make.in: Likewise.
74332         * malloc/Makefile: Likewise.
74334 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74336         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74337         two-byte characters.
74339 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74341         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74342         AC_CACHE_CHECK invocation.
74343         * configure: Regenerated.
74345         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74347 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74349         [BZ #12350]
74350         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74351         bit from old_res_options.
74353         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74355         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74356         value type for setfct.
74358 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74361         __gettimeofday instead of gettimeofday.
74363 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74365         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74367 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74369         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74372         info.
74374 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74377         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74378         strcpy-sse2-unaligned strncpy-sse2-unaligned
74379         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74380         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74381         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74382         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74383         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74384         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74385         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74386         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74387         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74388         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74389         (STRCPY): Support SSE2 and SSSE3 versions.
74391 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74393         [BZ #12874]
74394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74395         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74396         kernels which artificially limit size of requests.
74398 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74401         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74402         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74403         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74404         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74405         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74406         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74407         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74410         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74411         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74412         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74413         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74414         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74416         Enable unaligned load optimization for Intel Core i3, i5 and i7
74417         processors.
74418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74419         Define.
74420         (index_Fast_Unaligned_Load): Define.
74421         (HAS_FAST_UNALIGNED_LOAD): Define.
74423 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74425         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74427 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74429         [BZ #12907]
74430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74431         until it is clear that the information is realy needed.
74432         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74434 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74438 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74441         /sys/devices/system/cpu/online if it is usable.
74443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74444         reading the information from the /proc filesystem to once a second.
74446 2011-06-21  Andreas Jaeger  <aj@suse.de>
74448         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74449         NULL after inclusion of kernel headers.
74451 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74453         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74454         calls to internal_setent.
74456         [BZ #12885]
74457         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74458         addresses using gethostbyname4_r ignore IPv4 addresses.
74460         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74461         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74463         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74465 2011-06-20  David S. Miller  <davem@davemloft.net>
74467         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74468         inclusions.
74469         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74471         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74472         (elf_irel): Use it.
74473         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74474         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74475         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74476         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74477         * sysdeps/x86_64/dl-irel.h: Likewise.
74479         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74480         * elf/dl-sym.c: Likewise.
74482 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74484         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74485         need to dereference resplen2.
74487 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74489         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74491 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74493         * Makeconfig: Define vardbdir and inst_vardbdir.
74494         * nss/Makefile: Add rules to install db-Makefile.
74496         * nss/nss_db/db-XXX.c: Cleanup.
74498         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74499         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74500         GLIBC_PRIVATE.
74501         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74502         * nss/makedb.c: Implement -g option to specify that value strings
74503         are generated and should not be added to table iterated over for
74504         get*ent calls.
74505         * nss/nss_db/db-initgroups.c: New file.
74507         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74508         interface.
74510         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74511         (internal_getgrouplist): Adjust to name change.
74512         Update use_initgroups_entry if this is not the first call.
74513         * nss/databases.def: Add initgroups entry.
74515         * nss/makedb.c (compute_tables): Check result of multiple hash table
74516         sizes to minimize maximum chain length.
74518 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74520         * Versions.def: Add entry for libnss_db.
74521         * shlib-versions: Likewise.
74522         * nss/Makefile: Add rules to build libnss_db.
74523         * nss/Versions: Add libnss_db information.  Organize libnss_files
74524         entries better.
74525         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74526         makedb progra.  Some minor improvements to generate smaller files.
74527         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74528         here from...
74529         * nss/makedb.c: ...here.
74530         Improve database format to be smaller and require less memory at
74531         runtime.
74532         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74533         db anymore.
74534         * nss/nss_db/db-netgrp.c: Likewise.
74535         * nss/nss_db/db-open.c: Likewise.
74536         * nss/nss_files/flies-XXX.x: Adjust comments.
74537         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74538         * nss/nss_files/files-grp.c: Likewise.
74539         * nss/nss_files/files-hosts.c: Likewise.
74540         * nss/nss_files/files-network.c: Likewise.
74541         * nss/nss_files/files-proto.c: Likewise.
74542         * nss/nss_files/files-pwd.c: Likewise.
74543         * nss/nss_files/files-rpc.c: Likewise.
74544         * nss/nss_files/files-service.c: Likewise.
74545         * nss/nss_files/files-sgrp.c: Likewise.
74546         * nss/nss_files/files-spwd.c: Likewise.
74547         * nss/nss_db/db-alias.c: Removed.
74548         * nss/nss_db/dummy-db.h: Removed.
74550 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74552         * nss/makedb.c: Rewritten to not use database library.
74553         * nss/Makefile: Update to build new makedb program.
74555 2011-06-14  Andreas Jaeger  <aj@suse.de>
74557         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74558         memset declaration.
74560 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74563         tmpbuf.
74565 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74567         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74568         * elf/Makefile ($(objpfx)ld.so): Likewise.
74570         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74571         Don't list ld.so twice in dependencies.
74573         * posix/bug-regex31.c: Include <stdlib.h>.
74575         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74577         * nis/nss_compat/compat-spwd.c
74578         (getspent_next_nss_netgr): Remove unused variable.
74579         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74581         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74582         nonmembers" output to use the right array.
74584         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74586         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74588         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74589         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74590         * catgets/gencat.c (read_input_file): Likewise.
74591         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74593         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74594         variable definition inside #if's controlling its use.
74596         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74598         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74600         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74602         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74603         unreachable code.
74605         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74607         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74608         * configure: Regenerated.
74610         * Makerules: Revert last change.
74611         * elf/Makefile: Likewise.
74613 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74615         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74616         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74617         (reloc-link): Likewise.
74619 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74621         * elf/Makefile: Add rules to build pldd.
74622         * elf/pldd.c: New file.
74623         * elf/pldd-xx.c: New file.
74625 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74627         * version.h: Update for 2.15 development version.
74629 2011-06-07  David S. Miller  <davem@davemloft.net>
74631         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74632         ifuncs.
74633         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74634         elf_machine_lazy_rel): Likewise.
74635         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74637         elf_machine_lazy_rel): Likewise.
74638         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74639         dl_hwcap via passed in argument.
74640         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74641         Likewise.
74643 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74645         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74647 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74649         [BZ #12849]
74650         * manual/fdl-1.1.texi: New file, verbatim from:
74651         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74652         * manual/lgpl-2.1.texi: New file, verbatim from:
74653         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74654         * manual/Makefile (licenses): New variable, list those new file names.
74655         (texis): Use it.
74656         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74658         * manual/fdl.texi: File removed.
74659         * manual/lesser.texi: File removed.
74660         * manual/libc.texinfo (Copying, Documentation License):
74661         Use new @include file names, put @appendix directive before @include.
74663 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74665         [BZ #12841]
74666         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74667         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74668         (mq_open): Add __NTH.
74670 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74673         Assume Intel Core i3/i5/i7 processor if AVX is available.
74675 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74678         typo.
74680 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74683         memory.  Use alloca_account.  Fix memory leak when retrying.
74685 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74687         * version.h (RELEASE): Bump for 2.14 release.
74688         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74690         * config.make.in (RANLIB): Remove entry.
74692 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74694         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74695         (libc.pot): Work around missing support for .ksh extension in xgettext.
74697         [BZ #12684]
74698         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74699         if both request failed.
74700         (send_dg): In case of server errors clear resplen or *resplen2.
74702         [BZ #12454]
74703         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74704         when there are multiple maps.
74705         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74706         (_dl_fini): Remove test here.
74708         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74710 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74712         [BZ #12350]
74713         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74714         bit from old_res_options.
74715         (gaih_inet): Likewise.
74717         [BZ #11099]
74718         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74719         as signed.
74721         * resolv/res_init.c (res_setoptions): Make the code more compact.
74723         [BZ #11558]
74724         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74725         set RES_USEVC.
74727         [BZ #11634]
74728         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74730         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74732         [BZ #11781]
74733         * malloc/malloc.h: Declare malloc hook variables as volatile.
74735         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74736         in last patch.
74738         [BZ #11799]
74739         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74740         raise in the comment.
74741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74743         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74745 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74747         [BZ #12811]
74748         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74749         grow the buffers more if it already has to be sufficient.
74750         (build_wcs_upper_buffer): Likewise.
74751         * posix/regexec.c (check_matching): Likewise.
74752         (clean_state_log_if_needed): Likewise.
74753         (extend_buffers): Don't enlarge buffers beyond size of the input
74754         buffer.
74755         Patches mostly by Emil Wojak <emil@wojak.eu>.
74756         * posix/bug-regex32.c: New file.
74757         * posix/Makefile (tests): Add bug-regex32.
74759         * locale/findlocale.c (_nl_find_locale): Return right away if
74760         _nl_explode_name failed.
74761         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74763         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74765         * debug/xtrace.sh: Unify messages.
74766         * malloc/memusage.sh: Likewise.
74768         [BZ #12813]
74769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74770         time symbol from vDSO.  Substitute with vsyscall if not available.
74771         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74772         __vdso_time.
74774         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74775         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74776         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74777         Add sendmmsg and internal_sendmmsg.
74778         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74779         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74782         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74783         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74786 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74788         [BZ #12813]
74789         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74790         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74791         available.
74792         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74793         __vdso_getcpu.
74795         [BZ #12814]
74796         * iconvdata/Makefile (tests): Add bug-iconv9.
74797         * iconvdata/bug-iconv9.c: New file.
74799 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74801         [BZ #12814]
74802         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74804 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74806         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74807         (struct user_regs_struct): Change intcs field back to cs.
74809 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74811         * po/ja.po: Update from translation team.
74813 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74815         [BZ #12795]
74816         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74819 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74821         * stdlib/longlong.h: Update from GCC.
74823 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74825         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74826         parameter name.
74827         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74828         Add parameter name.
74829         (__sysconf): Pass it down.
74831 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74833         [BZ #12671]
74834         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74835         some situations.
74836         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74837         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74838         add in in __libc_use_alloca calls.  Adjust callers.
74839         (glob): Use malloc in some situations.
74841         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74842         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74843         pltexit.
74845 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74847         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74848         and CLOCK_BOOTTIME_ALARM.
74850         [BZ #12782]
74851         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74852         is returned.
74854         * string/_strerror.c (__strerror_r): Print negative errors as signed
74855         numbers.
74857         [BZ #12777]
74858         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74859         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74860         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74862         * configure.in: Fix typo in redirection and correct removal of test
74863         files in two cases.
74865         [BZ #12788]
74866         * locale/setlocale.c (new_composite_name): Fix test to check for
74867         identical name of all categories.
74869         [BZ #12792]
74870         * libio/filedoalloc.c (local_isatty): New function.
74871         (_IO_file_doallocate): Use local_isatty.
74872         * stdio-common/perror.c (perror): In case a new stream is used
74873         forward the stream error.
74874         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74875         error flag.
74877 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74879         [BZ #11884]
74880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74881         alloca.
74882         * include/alloca.h (extend_alloca_account): Define.
74884         [BZ #11857]
74885         * posix/regex.h: Fix comments with documentation of user-accessible
74886         fields after compilation and describe correct free'ing of pattern
74887         after re_compile_pattern.
74888         Patch by Reuben Thomas <rrt@sc3d.org>.
74890 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74892         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74893         and -mno-altivec to prevent the compiler from using Altivec and/or
74894         VSX instructions when the corresponding registers are not available.
74896 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74898         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74900 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74902         * libio/freopen.c (freopen): Use __dup2, not dup2.
74903         * libio/freopen64.c (freopen64): Likewise.
74905 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74907         [BZ #12775]
74908         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74909         * math/Makefile (tests): Add test-powl.
74910         (CFLAGS-test-powl.c): Define.
74911         * math/test-powl.c: New file.
74913 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74915         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74917 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74919         [BZ #11837]
74920         * iconvdata/gb18030.c: Update to GB18020-2005.
74922 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74924         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74925         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74926         Patch by Aharon Robbins <arnold@skeeve.com>.
74928         [BZ #11892]
74929         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74930         on the stack.
74932         [BZ #11895]
74933         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74934         through underflows.
74936         [BZ #12766]
74937         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74938         point to strings before performing equality test for error_one_per_line
74939         mode.
74941         [BZ #11697]
74942         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74944         [BZ #11820]
74945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74946         (struct user_fpregs_struct): Avoid __uint*_t types.
74948         [BZ #6420]
74949         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74950         symbol info.  Use it instead of calling _dl_addr locally.
74951         (lock_and_info): New function.
74952         (tr_freehook): Call lock_and_info and pass symbol info as additional
74953         parameter to tr_where.
74954         (tr_mallochook): Likewise.
74955         (tr_reallochook): Likewise.
74956         (tr_memalignhook): Likewise.
74958         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74959         used and couldn't be at all thread-safe.
74961 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74963         * libio/freopen.c (freopen): Don't close old file descriptor
74964         before the new one is opened.  Instead dup the new file descriptor
74965         to the old one after the new stream is created.
74966         * libio/freopen64.c (freopen64): Likewise.
74967         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74968         * libio/fileops.c (_IO_new_file_close_it): Handle new
74969         _IO_FLAGS2_NOCLOSE flag.
74970         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74971         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74972         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74973         _IO_FLAGS2_NOCLOSE flag.
74974         * include/unistd.h: Add hidden_proto for dup3.
74975         Define __have_dup3.
74976         * io/dup3.c: Define hidden symbol.
74977         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74979         [BZ #7101]
74980         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74981         when an incomplete long option is used.
74982         * posix/tst-getopt_long1.c: New file.
74983         * posix/Makefile (tests): Add tst-getopt_long1.
74985         [BZ #10138]
74986         * scripts/config.guess: Update from autoconf-2.68.
74987         * scripts/config.sub: Likewise.
74989         [BZ #10157]
74990         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74991         tests into ...
74992         (has_cpuclock): ...this.  New function.
74993         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74994         macro here based on has_cpuclock code.
74996         [BZ #10149]
74997         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74998         First byte (not low byte) is now always NUL.
74999         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75002         Use non-cancelable interfaces.
75004         [BZ #9809]
75005         * locale/iso-639.def: Add entry for Sorani.
75007         [BZ #11901]
75008         * include/stdlib.h: Move include protection to the right place.
75009         Define abort_msg_s.  Declare __abort_msg with it.
75010         * stdlib/abort.c (__abort_msg): Adjust type.
75011         * assert/assert.c (__assert_fail_base): New function.  Majority
75012         of code from __assert_fail.  Allocate memory for __abort_msg with
75013         mmap.
75014         (__assert_fail): Now call __assert_fail_base.
75015         * assert/assert-perr.c: Remove bulk of implementation.  Use
75016         __assert_fail_base.
75017         * include/assert.hL Declare __assert_fail_base.
75018         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75019         mmap.
75020         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75022 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75024         [BZ #11952]
75025         [BZ #12453]
75026         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75027         until all modules are registered in the DTV.
75028         * elf/Makefile: Add rules to build and run tst-tls19.
75029         * elf/tst-tls19.c: New file.
75030         * elf/tst-tls19mod1.c: New file.
75031         * elf/tst-tls19mod2.c: New file.
75032         * elf/tst-tls19mod3.c: New file.
75033         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75035         [BZ #12083]
75036         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75037         correctly.
75039         [BZ #12601]
75040         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75041         two-byte sequence errors.
75042         * iconvdata/Makefile (tests): Add bug-iconv8.
75043         * iconvdata/bug-iconv8.c: New file.
75045         [BZ #12626]
75046         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75047         buf2 definition.
75049         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75051         [BZ #12432]
75052         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75053         (dummy_getcfa): New function.
75054         (init): Get _Unwind_GetCFA address, use dummy if not found.
75055         (backtrace_helper): In recursion check, also check whether CFA changes.
75056         (__backtrace): Completely initialize arg.
75058         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75059         storing incomplete byte sequence in state object.  Avoid testing for
75060         guaranteed too small input if we know there is enough data available.
75062 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75064         * Makeconfig (+link-pie): Indent.
75065         * Rules (binaries-pie): Define if $(have-fpie) and
75066         $(build-shared).
75067         (binaries-shared): Also filter out $(binaries-pie).
75068         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75069         * nscd/Makefile (others-pie): Add nscd.
75070         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75071         ($(objpfx)nscd): Remove command override.
75072         * login/Makefile (others-pie): Add pt_chown.
75073         ($(objpfx)pt_chown): Remove command override.
75074         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75075         remove command overrides.
75077 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75079         * libio/tst_putwc.c: Fix error messages.
75081         [BZ #12724]
75082         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75083         currently writing and seek to current position when not.
75084         * libio/Makefile (tests): Add bug-fclose1.
75085         * libio/bug-fclose1.c: New file.
75087 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75089         [BZ #12511]
75090         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75091         don't set DF_1_NODELETE here.
75092         (do_lookup_x): When entering new entry test for copy relocation
75093         and if necessary set DF_1_NODELETE flag.
75094         * elf/tst-unique4.cc: New file.
75095         * elf/tst-unique4.h: New file.
75096         * elf/tst-unique4lib.cc: New file.
75097         * elf/Makefile: Add rules to build and run tst-unique4.
75098         Patch by Piotr Bury <pbury@goahead.com>.
75100 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75102         [BZ #12052]
75103         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75105         [BZ #12625]
75106         * misc/mntent_r.c (addmntent): Flush the stream after the output
75108         [BZ #12393]
75109         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75110         (is_trusted_path_normalize): Skip initial colon.  Append slash
75111         to empty buffer.  Duplicate is_trusted_path code but allow
75112         constructed patch to be prefix.
75113         (is_dst): Allow $ORIGIN followed by /.
75114         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75115         Correct testing of result of is_trusted_path_normalize
75116         (decompose_rpath): Fix warning.
75118 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75120         [BZ #11257]
75121         * grp/initgroups.c (internal_getgrouplist): When we found the service
75122         list through the initgroups entry in nsswitch.conf do not always
75123         continue on a successful lookup.  Don't always use the
75124         __nss_group_database value if it is set.
75125         * nss/nsswitch.conf (initgroups): Change action for successful db
75126         lookup to continue for compatibility.
75128 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75130         [BZ #11532]
75131         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75132         and CP774 modules.
75133         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75134         and CP774 modules.
75135         * iconvdata/tst-tables.sh: Likewise.
75136         * iconvdata/cp770.c: New file.
75137         * iconvdata/cp771.c: New file.
75138         * iconvdata/cp772.c: New file.
75139         * iconvdata/cp773.c: New file.
75140         * iconvdata/cp774.c: New file.
75141         * iconvdata/testdata/CP770: New file.
75142         * iconvdata/testdata/CP770..UTF8: New file.
75143         * iconvdata/testdata/CP771: New file.
75144         * iconvdata/testdata/CP771..UTF8: New file.
75145         * iconvdata/testdata/CP772: New file.
75146         * iconvdata/testdata/CP772..UTF8: New file.
75147         * iconvdata/testdata/CP773: New file.
75148         * iconvdata/testdata/CP773..UTF8: New file.
75149         * iconvdata/testdata/CP774: New file.
75150         * iconvdata/testdata/CP774..UTF8: New file.
75152         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75153         END CHARMAP line.
75154         * iconvdata/gen-8bit-gap.sh: Likewise.
75155         * iconvdata/gen-8bit.sh: Likewise.
75157         * locale/iso-639.def: Add ary entry.
75159         [BZ #11258]
75160         * locale/C-translit.h.in: Add U20A1 transliteration.
75162         [BZ #12178]
75163         * locale/iso-639.def: Add wae entry.
75164         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75166         [BZ #12545]
75167         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75168         for n.
75170         [BZ #12711]
75171         * locale/C-translit.h.in: Add entry for U20B9.
75172         Patch by pravin.d.s@gmail.com.
75174 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75176         [BZ #12713]
75177         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75178         ENAMETOOLONG use generic getcwd.
75179         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75180         in rtld.  Use *stat64.
75181         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75182         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75183         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75184         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75185         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75186         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75187         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75188         __fstatat64 macros.
75189         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75190         * dirent/rewinddir.c: Add libc_hidden_def.
75191         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75192         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75194         * include/dirent.h (__alloc_dir): Add flags parameter.
75195         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75196         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75197         __alloc_dir.
75198         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75199         from fdopendir if O_CLOEXEC is already set.
75201 2011-03-15  Alan Modra  <amodra@gmail.com>
75203         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75204         l_tls_firstbyte_offset non-zero.  Save padding offset in
75205         l_tls_firstbyte_offset for later use.
75206         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75207         freeing static tls block.
75209 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75211         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75212         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75213         being defined by the kernel headers.
75215 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75217         [BZ #12734]
75218         * resolv/resolv.h: Define RES_NOTLDQUERY.
75219         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75220         no-tld-query and set RES_NOTLDQUERY.
75221         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75222         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75223         modern BIND to search name as TLD unless forbidden.
75225 2011-05-07  Petr Baudis  <pasky@suse.cz>
75226             Ulrich Drepper  <drepper@gmail.com>
75228         [BZ #12393]
75229         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75230         (is_trusted_path): ...to here.
75231         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75232         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75233         using is_trusted_path_normalize() in setuid scripts.
75235 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75237         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75238         __BEGIN/__END_DECLS.
75240 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75243         NSS_STATUS_NOTFOUND if no record was found.
75245 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75247         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75248         (headers-not-in-tirpc): Remove rpc/netdb.h
75249         * resolv/netdb.h: Revert last change.
75251 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75253         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75254         circular dependency between libgcc.a and libc.a.
75256 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75258         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75259         * nis/Makefile: Don't install rpcsvc/*.
75260         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75261         instead of <rpc/types.h>.
75262         (MAXHOSTNAMELEN): Define.
75264 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75266         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75268 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75270         [BZ #12714]
75271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75272         gethostbyname4_r when IPv6 results are possible.
75274 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75276         [BZ #12723]
75277         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75278         _PC_PIPE_BUF handling.
75280 2011-04-30  Bruno Haible  <bruno@clisp.org>
75282         [BZ #12717]
75283         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75284         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75285         to 'int'.
75286         * inet/getnameinfo.c (getnameinfo): Likewise.
75288 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75290         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75291         to groups setting in database lookup.
75292         * nss/nsswitch.conf: Add initgroups entry.
75294 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75296         [BZ #12685]
75297         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75298         mode string.
75299         Patch by Eric Blake <eblake@redhat.com>.
75301 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75303         * sunrpc/Makefile (need-export-routines): Add svc_run.
75304         (routines): Remove svc_run.
75305         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75306         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75307         * sunrpc/svc_run.c (svc_run): Likewise.
75308         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75310 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75313         problem in reallocation in last patch.
75315 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75317         * sunrpc/Makefile: Move inclusion of Rules.
75319 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75321         * nss/nss_files/files-initgroups.c: New file.
75322         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75323         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75324         _nss_files_initgroups_dyn.
75326 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75328         * elf/elf.h (R_ARM_IRELATIVE): Define.
75330 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75332         * po/ru.po: Update from translation team.
75334 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75336         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75337         dependencies.
75339 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75341         [BZ #12653]
75342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75343         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75344         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75348 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75350         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75351         differing bytes.
75352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75356 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75358         [BZ #12420]
75359         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75360         storing it.
75361         * stdlib/bug-getcontext.c: New file.
75362         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75364 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75366         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75367         instructions into .machine "z9-109".
75368         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75369         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75371 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75373         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75374         between environment variables and auxiliary vector.
75376 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75378         * Makefile: Add rules to build linkobj/libc.so.
75379         * include/libc-symbols.h: Define libc_hidden_nolink.
75380         * include/rpc/auth.h: Mark functions which are to be hidden.
75381         * include/rpc/auth_des.h: Likewise.
75382         * include/rpc/auth_unix.h: Likewise.
75383         * include/rpc/clnt.h: Likewise.
75384         * include/rpc/des_crypt.h: Likewise.
75385         * include/rpc/key_prot.h: Likewise.
75386         * include/rpc/pmap_clnt.h: Likewise.
75387         * include/rpc/pmap_prot.h: Likewise.
75388         * include/rpc/pmap_rmt.h: Likewise.
75389         * include/rpc/rpc_msg.h: Likewise.
75390         * include/rpc/svc.h: Likewise.
75391         * include/rpc/svc_auth.h: Likewise.
75392         * include/rpc/xdr.h: Likewise.
75393         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75394         * nss/Makefile: Likewise.
75395         * sunrpc/Makefile: Don't install headers.  Build library with normal
75396         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75397         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75398         for the compat linking library.  Remove use of INTDEF/INTUSE.
75399         * sunrpc/auth_none.c: Likewise.
75400         * sunrpc/auth_unix.c: Likewise.
75401         * sunrpc/authdes_prot.c: Likewise.
75402         * sunrpc/authuxprot.c: Likewise.
75403         * sunrpc/clnt_gen.c: Likewise.
75404         * sunrpc/clnt_perr.c: Likewise.
75405         * sunrpc/clnt_raw.c: Likewise.
75406         * sunrpc/clnt_simp.c: Likewise.
75407         * sunrpc/clnt_tcp.c: Likewise.
75408         * sunrpc/clnt_udp.c: Likewise.
75409         * sunrpc/clnt_unix.c: Likewise.
75410         * sunrpc/des_crypt.c: Likewise.
75411         * sunrpc/des_soft.c: Likewise.
75412         * sunrpc/get_myaddr.c: Likewise.
75413         * sunrpc/key_call.c: Likewise.
75414         * sunrpc/key_prot.c: Likewise.
75415         * sunrpc/netname.c: Likewise.
75416         * sunrpc/pm_getmaps.c: Likewise.
75417         * sunrpc/pm_getport.c: Likewise.
75418         * sunrpc/pmap_clnt.c: Likewise.
75419         * sunrpc/pmap_prot.c: Likewise.
75420         * sunrpc/pmap_prot2.c: Likewise.
75421         * sunrpc/pmap_rmt.c: Likewise.
75422         * sunrpc/publickey.c: Likewise.
75423         * sunrpc/rpc_cmsg.c: Likewise.
75424         * sunrpc/rpc_common.c: Likewise.
75425         * sunrpc/rpc_dtable.c: Likewise.
75426         * sunrpc/rpc_prot.c: Likewise.
75427         * sunrpc/rpc_thread.c: Likewise.
75428         * sunrpc/rtime.c: Likewise.
75429         * sunrpc/svc.c: Likewise.
75430         * sunrpc/svc_auth.c: Likewise.
75431         * sunrpc/svc_authux.c: Likewise.
75432         * sunrpc/svc_raw.c: Likewise.
75433         * sunrpc/svc_run.c: Likewise.
75434         * sunrpc/svc_simple.c: Likewise.
75435         * sunrpc/svc_tcp.c: Likewise.
75436         * sunrpc/svc_udp.c: Likewise.
75437         * sunrpc/svc_unix.c: Likewise.
75438         * sunrpc/svcauth_des.c: Likewise.
75439         * sunrpc/xcrypt.c: Likewise.
75440         * sunrpc/xdr.c: Likewise.
75441         * sunrpc/xdr_array.c: Likewise.
75442         * sunrpc/xdr_float.c: Likewise.
75443         * sunrpc/xdr_intXX_t.c: Likewise.
75444         * sunrpc/xdr_mem.c: Likewise.
75445         * sunrpc/xdr_rec.c: Likewise.
75446         * sunrpc/xdr_ref.c: Likewise.
75447         * sunrpc/xdr_sizeof.c: Likewise.
75448         * sunrpc/xdr_stdio.c: Likewise.
75450 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75452         [BZ #12650]
75453         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75454         * sysdeps/ia64/dl-tls.h: Likewise.
75455         * sysdeps/powerpc/dl-tls.h: Likewise.
75456         * sysdeps/s390/dl-tls.h: Likewise.
75457         * sysdeps/sh/dl-tls.h: Likewise.
75458         * sysdeps/sparc/dl-tls.h: Likewise.
75459         * sysdeps/x86_64/dl-tls.h: Likewise.
75460         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75462 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75464         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75465         rpath element also skip the following colon.
75466         (expand_dynamic_string_token): Add is_path parameter and pass
75467         down to DL_DST_REQUIRED and _dl_dst_substitute.
75468         (decompose_rpath): Call expand_dynamic_string_token with
75469         non-zero is_path.  Ignore empty rpaths.
75470         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75471         with zero is_path.
75473 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75476         Make cancelable.
75478 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75480         [BZ #12655]
75481         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75482         Patch by Filipe David Manana <fdmanana@apache.org>.
75484 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75487         Maintain aligned stack.
75488         (CHECK_RSP): Remove unused macro.
75490 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75492         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75493         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75495 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75497         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75499         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75501 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75503         [BZ #12518]
75504         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75505         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75506         * sysdeps/x86_64/memmove.c: New file.
75507         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75508         (memcpy): Renamed to ...
75509         (__new_memcpy): This.
75510         (memcpy): Provide GLIBC_2_14 memcpy.
75511         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75512         (memcpy): Provide GLIBC_2_2_5 memcpy.
75514 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75516         [BZ #12631]
75517         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75519 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75521         * misc/syncfs.c: New file.
75522         * misc/Makefile (routines): Add syncfs.
75523         * posix/unistd.h: Declare syncfs.
75524         * sysdeps/unix/syscalls.list: Add syncfs.
75526 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75528         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75529         open_by_handle_at.
75530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75535         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75538 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75540         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75541         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75542         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75546         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75548         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75549         sync_file_range.c with -fexceptions.
75550         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75551         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75552         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75553         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75554         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75555         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75557         sync_file_range as cancellation point
75558         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75559         now a wrapper around __call_sync_file_range with cancellation handling.
75560         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75561         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75562         function name to __call_sync_file_range.
75563         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75564         Add call_sync_file_range.
75566 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75569         bits/timex.h.
75571 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75573         * iconv/iconv.h: Fix typo in comment.
75574         * io/fcntl.h: Likewise.
75575         * libio/stdio.h: Likewise.
75576         * posix/spawn.h: Likewise.
75577         * posix/unistd.h: Likewise.
75578         * stdlib/stdlib.h: Likewise.
75579         * time/time.h: Likewise.
75580         * wcsmbs/wchar.h: Likewise.
75582         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75583         open_by_handle): Add.
75584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75585         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75586         Augment a few comments.
75587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75591         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75592         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75593         open_by_handle.
75595         * io/fcntl.h (AT_EMPTY_PATH): Define.
75597 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75599         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75600         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75601         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75602         to...
75603         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75604         * Versions.def: Add GLIBC_2.14.
75605         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75606         Export.
75608 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75610         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75611         round counter.
75612         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75614 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75616         [BZ #12597]
75617         * string/test-strncmp.c (do_page_test): New function.
75618         (check2): Likewise.
75619         (test_main): Call check2.
75620         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75622 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75624         [BZ #12587]
75625         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75626         Handle cache information in CPU leaf 4.
75627         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75629 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75631         [BZ #12583]
75632         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75633         character representation.
75634         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75636 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75638         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75639         END(__isnan) to END(__isnanf) to match function entry point/label
75640         EALIGN(__isnanf,...).
75642 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75644         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75646 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75648         [BZ #12510]
75649         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75650         copy from the symbol referenced in the relocation to initialize the
75651         used variable.
75652         Patch by Piotr Bury <pbury@goahead.com>.
75653         * elf/Makefile: Add rules to build and tst-unique3.
75654         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75655         * elf/tst-unique3.cc: New file.
75656         * elf/tst-unique3.h: New file.
75657         * elf/tst-unique3lib.cc: New file.
75658         * elf/tst-unique3lib2.cc: New file.
75660         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75662 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75664         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75665         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75666         to _start.
75668 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75670         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75671         to-be-loaded object along a path to loader is ld.so.
75673 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75674             Ulrich Drepper  <drepper@gmail.com>
75676         * sysdeps/x86_64/memset.S: After aligning destination, code
75677         branches to different locations depending on the value of
75678         misalignment, when multiarch is enabled. Fix this.
75680 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75682         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75683         Set _x86_64_preferred_memory_instruction for AMD processsors.
75684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75685         Set bit_Prefer_SSE_for_memop for AMD processors.
75687 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75689         * libio/fmemopen.c (fmemopen): Optimize a bit.
75691 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75693         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75695 2011-03-03  Roland McGrath  <roland@redhat.com>
75697         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75699 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75701         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75702         __bzero_ultra1 instead of __memset_ultra1.
75704 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75705             Ulrich Drepper  <drepper@gmail.com>
75707         [BZ #12509]
75708         * include/link.h (struct link_map): Add l_orig_initfini.
75709         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75710         returning unsuccessfully.
75711         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75712         close of a file loaded at startup, restore the original l_initfini
75713         list.
75714         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75715         list, store the pointer.
75716         * elf/Makefile ($(objpfx)noload-mem): New rule.
75717         (noload-ENV): Define.
75718         (tests): Add $(objpfx)noload-mem.
75719         * elf/noload.c: Include <memcheck.h>.
75720         (main): Call mtrace.  Close all opened handles.
75722 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75724         [BZ #12454]
75725         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75726         dependencies are missing.
75728 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75730         Fix __if_freereq crash: Unlike the generic version which uses free,
75731         Hurd needs munmap.
75732         * sysdeps/mach/hurd/ifreq.h: New file.
75734 2011-01-27  Petr Baudis  <pasky@suse.cz>
75735             Ulrich Drepper  <drepper@gmail.com>
75737         [BZ 12445]#
75738         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75739         to extend_alloca().
75740         * stdio-common/bug23.c: New file.
75741         * stdio-common/Makefile (tests): Add bug23.
75743 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75744             Ulrich Drepper  <drepper@gmail.com>
75746         [BZ #12489]
75747         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75748         before performing relro protection.  At old place add assertion
75749         to make sure nothing changed.
75751 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75752             Glauber de Oliveira Costa  <glommer@gmail.com>
75754         * elf/elf.h: Add new ARM TLS relocs.
75756 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75759         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75760         cast from r3.
75761         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75762         'tests' variable.
75763         * sysdeps/wordsize-64/tst-writev.c: New file.
75765 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75767         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75768         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75769         insns in _dl_start to prevent a TOC reference before relocs are
75770         resolved.
75772 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75774         [BZ #12469]
75775         * Makeconfig: Remove RANLIB definition.
75776         * Makerules: Don't use RANLIB.
75777         * aclocal.m4: Remove ranlib test.
75778         * configure.in: No need to check for ranlib.
75779         * elf/rtld-Rules: Don't use RANLIB.
75781 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75783         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75784         protection macro.
75785         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75786         inclusion protection macro.
75788         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75789         SIGRTMIN and SIGRTMAX and print information in that case only when
75790         SIGRTMIN is defined.
75792 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75794         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75795         arginfo fn returning -1.
75797         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75798         and thousands string is zero terminated.
75800 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75803         sysdeps/unix/sysv/linux/bits/socket.h.
75805 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75807         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75808         (__CPU_COUNT): Remove old macros.
75809         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75810         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75811         (__CPU_ALLOC, __CPU_FREE): Add macros.
75812         (__sched_cpualloc, __sched_cpufree): Add declarations.
75814 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75816         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75817         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75818         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75819         (readdhstai): Return value of addhstaiX call.
75820         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75821         (addgrbyX): Return value returned by cache_addgr.
75822         (readdgrbyname): Return value returned by addgrbyX.
75823         (readdgrbygid): Likewise.
75824         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75825         (addpwbyX): Return value returned by cache_addpw.
75826         (readdpwbyname): Return value returned by addhstbyX.
75827         (readdpwbyuid): Likewise.
75828         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75829         (addservbyX): Return value returned by cache_addserv.
75830         (readdservbyname): Return value returned by addservbyX:
75831         (readdservbyport): Likewise.
75832         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75833         (addhstbyX): Return value returned by cache_addhst.
75834         (readdhstbyname): Return value returned by addhstbyX.
75835         (readdhstbyaddr): Likewise.
75836         (readdhstbynamev6): Likewise.
75837         (readdhstbyaddrv6): Likewise.
75838         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75839         (readdinitgroups): Return value returned by addinitgroupsX.
75840         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75841         (prune_cache): Keep track of timeout value of re-added entries.
75842         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75843         * nscd/nscd.h: Adjust prototypes of readd* functions.
75845 2011-02-04  Roland McGrath  <roland@redhat.com>
75847         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75848         (nis_stats): Likewise.
75849         * nis/nis_modify.c (nis_modify): Likewise.
75850         * nis/nis_remove.c (nis_remove): Likewise.
75851         * nis/nis_add.c (nis_add): Likewise.
75853         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75855         * posix/fnmatch_loop.c: Add some consts.
75857         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75859 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75861         [BZ #12460]
75862         * config.make.in (config-cflags-novzeroupper): Define.
75863         * configure.in: Substitute libc_cv_cc_novzeroupper.
75864         * elf/Makefile (AVX-CFLAGS): Define.
75865         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75866         (CFLAGS-tst-auditmod4a.c): Likewise.
75867         (CFLAGS-tst-auditmod4b.c): Likewise.
75868         (CFLAGS-tst-auditmod6b.c): Likewise.
75869         (CFLAGS-tst-auditmod6c.c): Likewise.
75870         (CFLAGS-tst-auditmod7b.c): Likewise.
75871         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75873 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75875         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75876         function to the callback.
75877         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75879 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75881         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75882         of errno.
75884 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75886         [BZ #11724]
75887         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75888         of constructors.
75889         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75890         of destructors.
75891         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75893         [BZ #11724]
75894         * elf/Makefile: Add rules to build and run new test.
75895         * elf/tst-initorder.c: New file.
75896         * elf/tst-initorder.exp: New file.
75897         * elf/tst-initordera1.c: New file.
75898         * elf/tst-initordera2.c: New file.
75899         * elf/tst-initordera3.c: New file.
75900         * elf/tst-initordera4.c: New file.
75901         * elf/tst-initorderb1.c: New file.
75902         * elf/tst-initorderb2.c: New file.
75903         * elf/tst-order-a1.c: New file.
75904         * elf/tst-order-a2.c: New file.
75905         * elf/tst-order-a3.c: New file.
75906         * elf/tst-order-a4.c: New file.
75907         * elf/tst-order-b1.c: New file.
75908         * elf/tst-order-b2.c: New file.
75909         * elf/tst-order-main.c: New file.
75910         New test case by George Gensure <werkt0@gmail.com>.
75912 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75915         decoding ACE if AI_CANONIDN.
75917 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75919         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75921 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75923         * version.h (RELEASE): Bump for 2.13 release.
75924         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75926         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75929         MADV_NOHUGEPAGE.
75930         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75935         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75937         * posix/getconf.c: Update copyright year.
75938         * catgets/gencat.c: Likewise.
75939         * csu/version.c: Likewise.
75940         * debug/catchsegv.sh: Likewise.
75941         * debug/xtrace.sh: Likewise.
75942         * elf/ldconfig.c: Likewise.
75943         * elf/ldd.bash.in: Likewise.
75944         * elf/sprof.c (print_version): Likewise.
75945         * iconv/iconv_prog.c: Likewise.
75946         * iconv/iconvconfig.c: Likewise.
75947         * locale/programs/locale.c: Likewise.
75948         * locale/programs/localedef.c: Likewise.
75949         * malloc/memusage.sh: Likewise.
75950         * malloc/mtrace.pl: Likewise.
75951         * nscd/nscd.c (print_version): Likewise.
75952         * nss/getent.c: Likewise.
75954         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75955         PF_CAIF, and PF_ALG.
75956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75958 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75960         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75961         (modules-names): Use them.
75962         (ifunc-test-modules, ifunc-pie-tests): Define.
75963         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75964         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75965         (test-extras): Likewise.
75966         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75967         $(compile-command.c).
75968         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75969         (all-built-dso): Define.
75970         (check-textrel.out, check-execstack.out): Depend on it.
75972         * configure.in: Don't override --enable-multi-arch.
75974 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75976         [BZ #6812]
75977         * nscd/hstcache.c (tryagain): Define.
75978         (cache_addhst): Return tryagain not notfound for temporary errors.
75979         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75980         failed.
75982 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75984         [BZ #10563]
75985         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75986         to make the syscall.
75987         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75989         [BZ #12378]
75990         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75991         and fall back to matching as normal character if the string ends before
75992         the matching ']' is found.  This is what POSIX requires.
75993         * posix/testfnm.c: Adjust test result.
75994         * posix/globtest.sh: Adjust test result.  Add new test.
75995         * posix/tst-fnmatch.input: Likewise.
75996         * posix/tst-fnmatch2.c: Add new test.
75998 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76000         * elf/Makefile (check-execstack): Revert last change.  Depend on
76001         check-execstack.h.
76002         (check-execstack.h): New target.
76003         (generated): Add check-execstack.h.
76004         * elf/check-execstack.c: Include "check-execstack.h".
76005         (main): Revert last change.
76006         (handle_file): Return zero if GNU_STACK is absent and
76007         DEFAULT_STACK_PERMS doesn't include PF_X.
76009 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76011         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76012         in child fails because the descriptor is already closed.
76013         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76014         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76015         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76017         [BZ #12397]
76018         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76019         syscall.
76021         [BZ #10484]
76022         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76023         temporary buffer used to handle multi lookups locally.
76024         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76026 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76028         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76029         loader is ld.so.
76031 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76033         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76034         alignment for SSE2.
76036 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76038         [BZ #12394]
76039         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76040         characters.  When rounding increased number of integer digits recompute
76041         number of groups.
76042         * stdio-common/tst-grouping.c: New file.
76043         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76045 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76047         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76048         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76050         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76051         void.
76052         * bits/select.h: Likewise.
76054 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76056         * po/ja.po: Update from translation team.
76058 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76060         [BZ #11155]
76061         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76062         implementation just like for lxstat, fxstatat, et al.
76064 2010-12-27  Jim Meyering  <meyering@redhat.com>
76066         [BZ #12348]
76067         * posix/regexec.c (build_trtable): Return failure indication upon
76068         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76070 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76072         [BZ #12201]
76073         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76074         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76075         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76076         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76078         [BZ #12207]
76079         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76081         [BZ #12204]
76082         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76083         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76085 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76087         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76088         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76089         script has SORT_BY_INIT_PRIORITY.
76090         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76091         NO_CTORS_DTORS_SECTIONS is defined.
76092         * elf/soinit.c: Likewise.
76093         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76094         NO_CTORS_DTORS_SECTIONS is defined.
76095         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76096         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76097         * sysdeps/sh/init-first.c: Likewise.
76098         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76100 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76102         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76103         always use the slow path.
76105 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76107         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76108         similar rule which adds the sysdep directories to the header search in
76109         order to pick up the correct platform stackinfo.h.
76110         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76111         perform test if it is, otherwise return successfully without testing.
76112         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76113         DEFAULT_STACK_PERMS define in stackinfo.h.
76114         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76115         defined in stackinfo.h.
76116         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76117         DEFAULT_STACK_PERMS defined in stackinfo.h.
76118         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76119         * sysdeps/ia64/stackinfo.h: Likewise.
76120         * sysdeps/s390/stackinfo.h: Likewise.
76121         * sysdeps/sh/stackinfo.h: Likewise.
76122         * sysdeps/sparc/stackinfo.h: Likewise.
76123         * sysdeps/x86_64/stackinfo.h: Likewise.
76124         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76125         PF_X for powerpc64.  Retain PF_X for powerpc32.
76127 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76129         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76130         accurately.
76131         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76132         GETDENTS_64BIT_ALIGNED.
76134 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76136         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76138 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76140         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76141         _GNU_SOURCE.
76143         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76144         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76145         Remove __restrict.
76146         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76147         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76149 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76151         [BZ #11655]
76152         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76153         are initialized.
76155 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76157         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76159 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76161         * po/it.po: Update from translation team.
76163 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76166         unused codes.
76168 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76170         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76172 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76174         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76175         specially.
76176         (gaih_getanswer_slice): Likewise.
76178 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76182 2010-05-31  Petr Baudis  <pasky@suse.cz>
76184         [BZ #11149]
76185         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76186         silently even in the chroot mode.
76188 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76190         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76191         last patch a bit.  Pretty printing
76193 2010-05-31  Petr Baudis <pasky@suse.cz>
76195         [BZ #10085]
76196         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76197         initialization of skip_initgroups_dyn.
76199 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76201         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76202         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76204 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76206         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76208 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76210         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76211         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76212         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76213         ($(objpfx)tst-fnmatch-mem): New rule.
76214         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76215         * posix/tst-fnmatch.c (main): Call mtrace.
76217 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76220         Support Intel processor model 6 and model 0x2c.
76222 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76225           signed comparison.
76227 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76229         [BZ #12205]
76230         * string/test-strncasecmp.c (check_result): New function.
76231         (do_one_test): Use it.
76232         (check1): New function.
76233         (test_main): Use it.
76234         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76235         Support strcasecmp and strncasecmp.
76237 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76239         [BZ #12194]
76240         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76241         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76243 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76245         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76246         IFUNC support.
76247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76248         memset-x86-64.
76249         * sysdeps/x86_64/multiarch/bzero.S: New file.
76250         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76251         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76252         * sysdeps/x86_64/multiarch/memset.S: New file.
76253         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76255         Set bit_Prefer_SSE_for_memop for Intel processors.
76256         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76257         Define.
76258         (index_Prefer_SSE_for_memop): Define.
76259         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76261 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76263         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76266 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76268         [BZ #12191]
76269         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76270         (__x86_64_raw_data_cache_size_half): Likewise.
76271         (__x86_64_raw_shared_cache_size): Likewise.
76272         (__x86_64_raw_shared_cache_size_half): Likewise.
76274         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76275         (__x86_64_raw_data_cache_size_half): Likewise.
76276         (__x86_64_raw_shared_cache_size): Likewise.
76277         (__x86_64_raw_shared_cache_size_half): Likewise.
76278         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76279         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76280         and __x86_64_raw_shared_cache_size_half.  Round
76281         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76282         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76283         to multiple of 256 bytes.
76285 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76287         [BZ #12167]
76288         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76289         of inacessible symlinks.  Verify result of symlink before returning it.
76290         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76291         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76293 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76295         * math/math.h (isinf): Fix typo in comment.
76297 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76299         * po/da.po: Update from translation team.
76301 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76303         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76304         is added to the list.
76306 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76307             Ulrich Drepper  <drepper@gmail.com>
76309         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76310         the global list here.  Move code to...
76311         (_dl_add_to_namespace_list): ...here.  New function.
76312         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76313         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76314         * elf/dl-load.c (lose): Don't remove the element from the list.
76315         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76316         (_dl_map_object): Likewise.
76318 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76320         [BZ #12159]
76321         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76322         into all bytes of SSE register.
76323         Patch by Richard Li <richardpku@gmail.com>.
76325 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76327         [BZ #12140]
76328         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76329         perturbing.
76331 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76333         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76334         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76336         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76338         submachine.
76339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76341 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76343         * include/dlfcn.h (__RTLD_SECURE): Define.
76344         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76345         mode & __RTLD_SECURE instead.
76346         (open_path): Rename preloaded parameter to secure.
76347         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76348         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76349         * elf/dl-deps.c (openaux): Likewise.
76350         * elf/rtld.c (struct map_args): Remove is_preloaded.
76351         (map_doit): Don't use it.
76352         (dl_main): Likewise.
76353         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76354         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76356 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76358         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76359         (sysd-rules-targets): Remove duplicates.
76360         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76361         rtld-%.$o dependency.
76363 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76365         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76366         _dl_map_object do it.
76368 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76370         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76371         fast fma builtins, define the macros in the C99 standard.
76372         (FP_FAST_FMAF): Likewise.
76373         (FP_FAST_FMAL): Likewise.
76374         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76376         * bits/mathdef.h: Update copyright year.
76377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76379 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76381         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76382         builtins, define the macros in the C99 standard.
76383         (FP_FAST_FMAF): Likewise.
76384         (FP_FAST_FMAL): Likewise.
76385         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76386         multiply/add.
76387         (FP_FAST_FMAF): Likewise.
76389 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76391         [BZ #3268]
76392         * math/libm-test.inc (fma_test): Some new testcases.
76393         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76394         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76395         y and infinite z.  Do multiplication by C already in long double.
76396         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76398         y and infinite z.  Do bitwise or of inexact bit into u.d.
76399         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76400         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76401         * sysdeps/i386/fpu/s_fma.S: Removed.
76402         * sysdeps/i386/fpu/s_fmal.S: Removed.
76404 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76406         [BZ #3268]
76407         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76408         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76409         computation is not scheduled after fetestexcept.  Fix value
76410         of minimum denormal long double.
76412 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76414         [BZ #3268]
76415         * math/libm-test.inc (fma_test): Add some more tests.
76416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76417         correctly.
76419 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76421         * scripts/data/localplt-s390-linux-gnu.data: New file.
76422         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76424 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76426         [BZ #3268]
76427         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76428         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76429         instead of dbl-64.
76430         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76431         inlines.
76432         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76434         if one of x and y is very large and the other is subnormal.
76435         * sysdeps/s390/fpu/s_fmaf.c: New file.
76436         * sysdeps/s390/fpu/s_fma.c: New file.
76437         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76438         * sysdeps/powerpc/fpu/s_fma.S: New file.
76439         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76440         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76441         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76443 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76445         [BZ #3268]
76446         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76447         fma tests.
76448         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76449         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76450         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76451         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76452         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76453         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76454         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76456 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76458         [BZ #12078]
76459         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76460         * posix/bug-regex31.input: Add test case.
76462 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76464         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76465         * posix/bug-regex31.input: New file.
76467         [BZ #12078]
76468         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76469         (parse_sub_exp): Fix last change, use postorder.
76471         * posix/bug-regex31.c: New file.
76472         * posix/Makefile: Add rules to build and run bug-regex31.
76474         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76476         [BZ #12078]
76477         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76479         [BZ #12108]
76480         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76481         to have entries in sys_siglist.
76483         [BZ #12093]
76484         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76485         be NULL.
76487 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76489         [BZ #3268]
76490         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76491         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76492         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76493         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76495         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76496         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76497         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76498         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76499         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76500         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76501         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76502         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76503         * math/ftestexcept.c (fetestexcept): Likewise.
76504         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76505         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76506         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76507         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76508         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76509         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76510         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76512 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76514         [BZ #12107]
76515         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76516         newline.
76518 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76520         * string/bug-strstr1.c: New file.
76521         * string/Makefile: Add rules to build and run bug-strstr1.
76523 2010-10-05  Eric Blake  <eblake@redhat.com>
76525         [BZ #12092]
76526         * string/str-two-way.h (two_way_long_needle): Always clear memory
76527         when skipping input due to the shift table.
76529 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76531         [BZ #12005]
76532         * malloc/mcheck.c: Handle large requests.
76534         [BZ #12077]
76535         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76536         for strncmp and strncasecmp.
76537         * string/stratcliff.c: Add tests for strcmp and strncmp.
76538         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76540 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76542         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76543         __set_fpscr.
76545 2010-09-30  Andreas Jaeger  <aj@suse.de>
76547         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76548         (CGROUP_SUPER_MAGIC): Define.
76549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76550         Handle btrfs and cgroup file systems.
76551         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76552         Likewise.
76554 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76556         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76557         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76559 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76561         [BZ #12067]
76562         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76563         trying to locate the ELF header.
76565 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76567         [BZ #11611]
76568         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76569         Mask out sign-bit copies when constructing f_fsid.
76571 2010-09-24  Petr Baudis <pasky@suse.cz>
76573         * debug/stack_chk_fail_local.c: Add missing licence exception.
76574         * debug/warning-nop.c: Likewise.
76576 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76578         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76579         implementing getdents64 using getdents syscall, set d_type if
76580         __ASSUME_GETDENTS32_D_TYPE.
76582 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76584         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76585         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76587 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76589         [BZ #12037]
76590         * posix/unistd.h: Undo change of feature selection for ftruncate from
76591         2010-01-11.
76593 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76595         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76596         detection.
76598 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76600         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76601         fanotify_mark.
76602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76604 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76606         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76607         variables after CHECK_SP call.
76608         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76610 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76611             Ulrich Drepper  <drepper@redhat.com>
76613         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76614         re-relocationg ld.so.
76615         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76616         _dl_init_paths call.
76617         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76618         here anymore.
76620 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76622         * resolv/res_init.c (__res_vinit): Count the default server we added.
76624 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76625             Ulrich Drepper  <drepper@redhat.com>
76627         [BZ #11968]
76628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76629         (____longjmp_chk): Use %ebx for saving value across system call.
76630         Add unwind info.
76632 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76634         * manual/Makefile: Don't mix pattern rules with normal rules.
76636 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76638         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76639         operation.
76640         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76641         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76642         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76643         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76645         Likewise.
76647 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76649         [BZ #11979]
76650         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76651         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76653 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76655         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76656         * sysdeps/x86_64/addmul_1.S: Likewise.
76657         * sysdeps/x86_64/lshift.S: Likewise.
76658         * sysdeps/x86_64/mul_1.S: Likewise.
76659         * sysdeps/x86_64/rshift.S: Likewise.
76660         * sysdeps/x86_64/sub_n.S: Likewise.
76661         * sysdeps/x86_64/submul_1.S: Likewise.
76663 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76665         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76666         Define __sched_param instead of SCHED_* and sched_param when
76667         <bits/sched.h> is included with __need_schedparam defined.
76668         * bits/sched.h [__need_schedparam]
76669         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76670         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76671         (__defined_schedparam): Define to 1.
76672         (__sched_param): New structure, identical to sched_param.
76673         (__need_schedparam): Undefine.
76675 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76677         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76678         (epoll_create1): Declare.
76680         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76682 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76684         [BZ #7066]
76685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76686         shifting retval into place.
76688 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76690         * nis/rpcsvc/nis.h: Update copyright notice.
76691         * nis/rpcsvc/nis.x: Likewise.
76692         * nis/rpcsvc/nis_callback.h: Likewise.
76693         * nis/rpcsvc/nis_callback.x: Likewise.
76694         * nis/rpcsvc/nis_object.x: Likewise.
76695         * nis/rpcsvc/nis_tags.h: Likewise.
76696         * nis/rpcsvc/yp.h: Likewise.
76697         * nis/rpcsvc/yp.x: Likewise.
76698         * nis/rpcsvc/ypupd.h: Likewise.
76699         * nis/yp_xdr.c: Likewise.
76700         * nis/ypupdate_xdr.c: Likewise.
76702         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76703         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76704         (pmap_getport): Use __libc_rpc_getport.
76705         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76706         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76707         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76709 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76712         fanotify_mark.
76714 2010-08-27  Roland McGrath  <roland@redhat.com>
76716         * sysdeps/i386/i686/multiarch/Makefile
76717         (CFLAGS-varshift.c): New variable.
76719 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76721         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76722         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76726         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76728 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76730         * sysdeps/x86_64/strlen.S: Unroll the loop.
76731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76732         strlen-sse2 strlen-sse2-bsf.
76733         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76734         __strlen_no_bsf if bit_Slow_BSF is set.
76735         (__strlen_sse42): Removed.
76736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76737         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76739 2010-08-25  Roland McGrath  <roland@redhat.com>
76741         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76742         * sysdeps/x86_64/multiarch/varshift.c: New file.
76743         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76744         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76745         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76746         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76748 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76751         strlen-sse2 strlen-sse2-bsf.
76752         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76753         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76754         (__strlen_sse2): Removed.
76755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76758         bit_Slow_BSF for Atom.
76759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76760         (index_Slow_BSF): Define.
76761         (HAS_SLOW_BSF): Define.
76763 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76765         [BZ #10851]
76766         * resolv/res_init.c (__res_vinit): When no server address at all
76767         is given default to loopback.
76769 2010-08-24  Roland McGrath  <roland@redhat.com>
76771         * configure.in: Remove config-name.h generation.
76772         * configure: Regenerated.
76773         * config-name.in: File removed.
76774         * scripts/config-uname.sh: New file.
76775         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76776         ($(objdir)config-name.h): New target.
76778         * sunrpc/rpc_parse.h: Avoid nested comment.
76780 2010-08-24  Richard Henderson  <rth@redhat.com>
76781             Ulrich Drepper  <drepper@redhat.com>
76782             H.J. Lu  <hongjiu.lu@intel.com>
76784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76786         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76787         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76788         _mm_alignr_epi8 with _mm_loadu_si128.
76789         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76790         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76791         (__m128i_shift_right): Removed.
76792         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76793         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76794         * sysdeps/x86_64/multiarch/varshift.h: New file.
76795         * sysdeps/x86_64/multiarch/varshift.S: New file.
76797 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76799         * configure.in: Move assembler checks to before sysdep dir checking.
76801 2010-08-20  Petr Baudis  <pasky@suse.cz>
76803         * LICENSES: Sync the sunrpc license.
76805 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76807         * sunrpc/auth_des.c: Update copyright notice once again.
76808         * sunrpc/auth_none.c: Likewise.
76809         * sunrpc/auth_unix.c: Likewise.
76810         * sunrpc/authdes_prot.c: Likewise.
76811         * sunrpc/authuxprot.c: Likewise.
76812         * sunrpc/bindrsvprt.c: Likewise.
76813         * sunrpc/clnt_gen.c: Likewise.
76814         * sunrpc/clnt_perr.c: Likewise.
76815         * sunrpc/clnt_raw.c: Likewise.
76816         * sunrpc/clnt_simp.c: Likewise.
76817         * sunrpc/clnt_tcp.c: Likewise.
76818         * sunrpc/clnt_udp.c: Likewise.
76819         * sunrpc/clnt_unix.c: Likewise.
76820         * sunrpc/des_crypt.c: Likewise.
76821         * sunrpc/des_soft.c: Likewise.
76822         * sunrpc/get_myaddr.c: Likewise.
76823         * sunrpc/getrpcport.c: Likewise.
76824         * sunrpc/key_call.c: Likewise.
76825         * sunrpc/key_prot.c: Likewise.
76826         * sunrpc/openchild.c: Likewise.
76827         * sunrpc/pm_getmaps.c: Likewise.
76828         * sunrpc/pm_getport.c: Likewise.
76829         * sunrpc/pmap_clnt.c: Likewise.
76830         * sunrpc/pmap_prot.c: Likewise.
76831         * sunrpc/pmap_prot2.c: Likewise.
76832         * sunrpc/pmap_rmt.c: Likewise.
76833         * sunrpc/rpc/auth.h: Likewise.
76834         * sunrpc/rpc/auth_unix.h: Likewise.
76835         * sunrpc/rpc/clnt.h: Likewise.
76836         * sunrpc/rpc/des_crypt.h: Likewise.
76837         * sunrpc/rpc/key_prot.h: Likewise.
76838         * sunrpc/rpc/netdb.h: Likewise.
76839         * sunrpc/rpc/pmap_clnt.h: Likewise.
76840         * sunrpc/rpc/pmap_prot.h: Likewise.
76841         * sunrpc/rpc/pmap_rmt.h: Likewise.
76842         * sunrpc/rpc/rpc.h: Likewise.
76843         * sunrpc/rpc/rpc_des.h: Likewise.
76844         * sunrpc/rpc/rpc_msg.h: Likewise.
76845         * sunrpc/rpc/svc.h: Likewise.
76846         * sunrpc/rpc/svc_auth.h: Likewise.
76847         * sunrpc/rpc/types.h: Likewise.
76848         * sunrpc/rpc/xdr.h: Likewise.
76849         * sunrpc/rpc_clntout.c: Likewise.
76850         * sunrpc/rpc_cmsg.c: Likewise.
76851         * sunrpc/rpc_common.c: Likewise.
76852         * sunrpc/rpc_cout.c: Likewise.
76853         * sunrpc/rpc_dtable.c: Likewise.
76854         * sunrpc/rpc_hout.c: Likewise.
76855         * sunrpc/rpc_main.c: Likewise.
76856         * sunrpc/rpc_parse.c: Likewise.
76857         * sunrpc/rpc_parse.h: Likewise.
76858         * sunrpc/rpc_prot.c: Likewise.
76859         * sunrpc/rpc_sample.c: Likewise.
76860         * sunrpc/rpc_scan.c: Likewise.
76861         * sunrpc/rpc_scan.h: Likewise.
76862         * sunrpc/rpc_svcout.c: Likewise.
76863         * sunrpc/rpc_tblout.c: Likewise.
76864         * sunrpc/rpc_util.c: Likewise.
76865         * sunrpc/rpc_util.h: Likewise.
76866         * sunrpc/rpcinfo.c: Likewise.
76867         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76868         * sunrpc/rpcsvc/key_prot.x: Likewise.
76869         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76870         * sunrpc/rpcsvc/mount.x: Likewise.
76871         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76872         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76873         * sunrpc/rpcsvc/rex.x: Likewise.
76874         * sunrpc/rpcsvc/rstat.x: Likewise.
76875         * sunrpc/rpcsvc/rusers.x: Likewise.
76876         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76877         * sunrpc/rpcsvc/spray.x: Likewise.
76878         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76879         * sunrpc/rtime.c: Likewise.
76880         * sunrpc/svc.c: Likewise.
76881         * sunrpc/svc_auth.c: Likewise.
76882         * sunrpc/svc_authux.c: Likewise.
76883         * sunrpc/svc_raw.c: Likewise.
76884         * sunrpc/svc_run.c: Likewise.
76885         * sunrpc/svc_simple.c: Likewise.
76886         * sunrpc/svc_tcp.c: Likewise.
76887         * sunrpc/svc_udp.c: Likewise.
76888         * sunrpc/svc_unix.c: Likewise.
76889         * sunrpc/svcauth_des.c: Likewise.
76890         * sunrpc/xcrypt.c: Likewise.
76891         * sunrpc/xdr.c: Likewise.
76892         * sunrpc/xdr_array.c: Likewise.
76893         * sunrpc/xdr_float.c: Likewise.
76894         * sunrpc/xdr_mem.c: Likewise.
76895         * sunrpc/xdr_rec.c: Likewise.
76896         * sunrpc/xdr_ref.c: Likewise.
76897         * sunrpc/xdr_sizeof.c: Likewise.
76898         * sunrpc/xdr_stdio.c: Likewise.
76900         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76901         handling.
76903 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76905         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76907 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76909         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76910         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76911         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76912         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76914         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76915         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76916         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76918         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76919         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76921         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76922         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76924 2010-07-26  Anton Blanchard  <anton@samba.org>
76926         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76927         * malloc/arena.c (heap_trim): Likewise.
76929 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76931         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76932         here.  Not...
76933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76934         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76936 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76938         * sysdeps/i386/elf/Makefile: New file.
76940 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76942         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76943         from fanotify_init.
76944         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76947 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76949         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76950         of strncasecmp_l.
76951         * sysdeps/multiarch/strcmp.S: Likewise.
76953 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76955         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76956         strncase_l-nonascii.
76957         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76958         Add strncase_l-ssse3.
76959         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76960         * sysdeps/x86_64/strcmp.S: Likewise.
76961         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76962         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76963         * sysdeps/x86_64/strncase.S: New file.
76964         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76965         * sysdeps/x86_64/strncase_l.S: New file.
76966         * string/Makefile (strop-tests): Add strncasecmp.
76967         * string/test-strncasecmp.c: New file.
76969         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76970         warning.
76972         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76973         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76975 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76977         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76979 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76981         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76985 2010-05-01  Alan Modra  <amodra@gmail.com>
76987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76988         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76989         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76990         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76991         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76992         tidying.  Don't tail-call __sigjmp_save for static lib.
76993         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76994         save location.
76995         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76996         (CALL_MCOUNT): Add eh info, and nop after bl.
76997         (TAIL_CALL_SYSCALL_ERROR): New macro.
76998         (PSEUDO_RET): Use it.
76999         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77000         Correct save location of integer regs and cr.
77001         (_dl_profile_resolve): Correct cr save location.  Delete nops
77002         after bl when SHARED.  Reduce cfi size a little by better
77003         placement of cfi directives.
77004         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77005         make a stack frame.  Instead use parm save area as a temp.
77006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77007         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77009         Don't make a stack frame for parent, use parm save area.
77010         Increase child stack frame to 112 bytes.  Don't save unused reg,
77011         and adjust reg usage.  Set up cfi on error recovery and
77012         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77014         (__makecontext): Add dummy nop after jump to exit.
77015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77016         Use correct parm save area and cr save, reduce stack frame.
77017         Correct cfi for possible PSEUDO_RET frame setup.
77018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77019         Branch to local label emitted by PSEUDO_RET rather than
77020         __syscall_error.
77022 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77024         [BZ #11904]
77025         * locale/programs/locale.c (print_assignment): New function.
77026         (show_locale_vars): Use it.
77028 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77030         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77031         field.
77032         (struct statfs64): Likewise.
77033         (_STATFS_F_FLAGS): Define.
77034         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77036         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77037         (ST_VALID): Define locally.
77038         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77039         __statvfs_getflags, use the provided value.
77040         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77041         __ASSUME_STATFS_F_FLAGS.
77043         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77045         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77046         Add sys/fanotify.h.
77047         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77048         fanotify_mask for GLIBC_2.13.
77049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77050         fanotify_init and fanotify_mark.
77051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77052         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77054         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77055         Add prlimit.
77056         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77057         prlimit64 for GLIBC_2.13.
77058         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77059         prlimit64.
77060         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77061         syscall.
77062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77063         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77064         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77065         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77067         add prlimit alias.
77068         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77070         [BZ #11903]
77071         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77072         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77074         * nss/Makefile: Add rules to build and run tst-nss-test1.
77075         * shlib-versions: Add entry for libnss_test1.
77076         * nss/nss_test1.c: New file.
77077         * nss/tst-nss-test1.c: New file.
77079         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77080         (__nss_configure_lookup): Set appropriate entry in
77081         __nss_configure_lookup to true.
77082         * nss/nsswitch.h: Define enum with indeces of databases in
77083         databases and __nss_database_custom arrays.  Declare
77084         __nss_database_custom.
77085         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77086         to avoid using nscd when custom rules are installed.
77087         * nss/getXXbyYY_r.c: Likewise.
77088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77090         * nss/nss_files/files-parse.c: Whitespace fixes.
77092 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77094         [BZ #11883]
77095         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77096         * posix/fnmatch_loop.c: Likewise.
77098 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77100         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77101         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77102         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77103         * Versions.def [GLIBC_2.13]: Add.
77105 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77108         Also fail if tpwd after pwuid call is NULL.
77110 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77112         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77113         when converting to ms.
77115 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77117         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77118         EOPNOTSUPP errors with ENOTTY.
77119         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77120         EOPNOTSUPP errors with ENOTTY.
77122 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77124         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77125         Add strcasecmp_l-ssse3.
77126         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77127         strcasecmp.
77128         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77129         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77130         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77132 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77134         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77136         * string/Makefile (strop-tests): Add strcasecmp.
77137         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77138         strcasecmp_l-nonascii.
77139         (gen-as-const-headers): Add locale-defines.sym.
77140         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77141         * sysdeps/x86_64/strcasecmp.S: New file.
77142         * sysdeps/x86_64/strcasecmp_l.S: New file.
77143         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77144         * sysdeps/x86_64/locale-defines.sym: New file.
77145         * string/test-strcasecmp.c: New file.
77147         * string/test-strcasestr.c: Test both ends of the range of characters.
77148         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77150 2010-07-29  Roland McGrath  <roland@redhat.com>
77152         [BZ #11856]
77153         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77155 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77157         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77158         for ld.so.
77160 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77162         * manual/memory.texi (Malloc Tunable Parameters): Document
77163         M_PERTURB.
77165 2010-07-26  Roland McGrath  <roland@redhat.com>
77167         [BZ #11840]
77168         * configure.in (-fgnu89-inline check): Set and substitute
77169         gnu89_inline, not libc_cv_gnu89_inline.
77170         * configure: Regenerated.
77171         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77173 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77175         * string/test-strnlen.c: New file.
77176         * string/Makefile (strop-tests): Add strnlen.
77177         * string/tester.c (test_strnlen): Add a few more test cases.
77178         * string/tst-strlen.c: Better error reporting.
77180         * sysdeps/x86_64/strnlen.S: New file.
77182 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77185         lower-latency instructions.
77187 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77189         * string/test-strcasestr.c: New file.
77190         * string/test-strstr.c: New file.
77191         * string/Makefile (strop-tests): Add strstr and strcasestr.
77192         * string/str-two-way.h: Don't undefine MAX.
77193         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77195 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77198         strcasestr-nonascii.
77199         (CFLAGS-strcasestr-nonascii.c): Define.
77200         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77202         Remove unused attribute.
77204 2010-07-20  Roland McGrath  <roland@redhat.com>
77206         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77207         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77208         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77209         like LD_HWCAP_MASK can disable hwcaps.
77211 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77213         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77215 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77217         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77218         call in strcasestr.
77219         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77220         __strcasestr_sse42_nonascii.
77221         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77222         strcasestr-nonascii.c.
77223         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77225 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77227         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77229         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77230         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77232 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77235         fcntl.
77237 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77239         [BZ #11577]
77240         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77241         dl_signal_cerror.
77243 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77245         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77246         _PC_PIPE_BUF using F_GETPIPE_SZ.
77248 2010-07-05  Roland McGrath  <roland@redhat.com>
77250         * manual/arith.texi (Rounding Functions): Fix rint description
77251         implicit in round description.
77253 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77255         * elf/Makefile: Fix linking for a few tests to make recent linker
77256         happy.
77258 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77261         $(common-objpfx)libc_nonshared.a.
77263 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77265         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77266         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77267         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77268         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77269         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77270         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77271         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77272         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77287         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77288         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77289         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77290         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77291         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77292         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77293         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77294         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77295         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77296         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77297         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77298         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77314 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77316         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77317         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77318         * string/memmove.c (memmove): Renamed to ...
77319         (MEMMOVE): ...this.  Default to memmove.
77320         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77321         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77322         (END_CHK): Define.
77323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77324         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77325         mempcpy-ssse3-back memmove-ssse3-back.
77326         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77329         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77330         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77331         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77332         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77333         * sysdeps/x86_64/multiarch/memmove.c: New file.
77334         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77335         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77336         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77337         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77340         Define.
77341         (index_Fast_Copy_Backward): Define.
77342         (HAS_ARCH_FEATURE): Define.
77343         (HAS_FAST_REP_STRING): Define.
77344         (HAS_FAST_COPY_BACKWARD): Define.
77346 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77348         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77349         Restore proper fallback handling.
77351 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77353         [BZ #11701]
77354         * posix/group_member.c (__group_member): Correct checking loop.
77356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77357         OOM in getpwuid_r correctly.  Return error number when the caller
77358         should return, otherwise -1.
77359         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77360         call returning > 0 value.
77361         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77363 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77365         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77366         libc_nonshared.a from targets in modules-names.
77368 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77370         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77371         requires it.
77373 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77376         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77380 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77382         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77384 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77386         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77387         and F_GETPIPE_SZ.
77388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77389         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77393         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77395 2010-06-14  Roland McGrath  <roland@redhat.com>
77397         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77399 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77401         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77402         __REDIRECT followed by __THROW.
77403         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77404         * posix/getopt.h (getopt): Likewise.
77406 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77408         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77409         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77410         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77411         in AT_FLAGS.
77412         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77413         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77415 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77419 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77421         [BZ #11640]
77422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77423         Properly check family and model.
77425 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77427         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77429 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77431         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77433 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77435         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77436         symbol reference.
77438 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77440         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77441         symbol reference.
77443 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77446         and internal_recvmmsg.
77447         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77448         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77449         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77450         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77452         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77453         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77454         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77456 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77458         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77460 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77462         POWER7 optimizations.
77463         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77464         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77466 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77468         * version.h: Update for 2.13 development version.
77470 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77472         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77473         exceptions.  Return 0.
77475 2010-05-07  Roland McGrath  <roland@redhat.com>
77477         * elf/ldconfig.c (main): Add a const.
77479 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77481         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77482         (args_options): Add no-idn option.
77483         (ahosts_keys_int): Add idn_flags to ai_flags.
77484         (parse_option): Handle 'i' option to clear idn_flags.
77486         * malloc/malloc.c (_int_free): Possible race in the most recently
77487         added check.  Only act on the data if no current modification
77488         happened.
77490 See ChangeLog.17 for earlier changes.